java.lang.Object | |
↳ | sun.awt.VerticalBagLayout |
A vertical 'bag' of Components. Allocates space for each Component from top to bottom.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new VerticalBagLayout.
| |||||||||||
Constructs a VerticalBagLayout with the specified gaps.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified named component to the layout.
| |||||||||||
Lays out the specified container.
| |||||||||||
Returns the minimum dimensions needed to lay out the components
contained in the specified target container.
| |||||||||||
Returns the preferred dimensions for this layout given the components
in the specified target container.
| |||||||||||
Removes the specified component from the layout.
| |||||||||||
Returns the String representation of this VerticalBagLayout's values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new VerticalBagLayout.
Constructs a VerticalBagLayout with the specified gaps.
vgap | the vertical gap |
---|
Adds the specified named component to the layout.
name | the String name |
---|---|
comp | the component to be added |
Lays out the specified container. This method will actually reshape the components in the specified target container in order to satisfy the constraints of the VerticalBagLayout object.
target | the component being laid out |
---|
Returns the minimum dimensions needed to lay out the components contained in the specified target container.
target | the Container on which to do the layout |
---|
Returns the preferred dimensions for this layout given the components in the specified target container.
target | the component which needs to be laid out |
---|
Removes the specified component from the layout.
comp | the component to be removed |
---|
Returns the String representation of this VerticalBagLayout's values.