java.lang.Object | |
↳ | javax.swing.plaf.basic.BasicOptionPaneUI.ButtonAreaLayout |
ButtonAreaLayout
behaves in a similar manner to
FlowLayout
. It lays out all components from left to
right. If syncAllWidths
is true, the widths of each
component will be set to the largest preferred size width.
This inner class is marked "public" due to a compiler bug.
This class should be treated as a "protected" inner class.
Instantiate it only within subclasses of BasicOptionPaneUI.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
centersChildren | If true, children are lumped together in parent. | ||||||||||
padding | |||||||||||
syncAllWidths |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
If the layout manager uses a per-component string,
adds the component
comp to the layout,
associating it
with the string specified by name . | |||||||||||
Lays out the specified container.
| |||||||||||
Calculates the minimum size dimensions for the specified
container, given the components it contains.
| |||||||||||
Calculates the preferred size dimensions for the specified
container, given the components it contains.
| |||||||||||
Removes the specified component from the layout.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
If true, children are lumped together in parent.
If the layout manager uses a per-component string,
adds the component comp
to the layout,
associating it
with the string specified by name
.
string | the string to be associated with the component |
---|---|
comp | the component to be added |
Lays out the specified container.
container | the container to be laid out |
---|
Calculates the minimum size dimensions for the specified container, given the components it contains.
c | the component to be laid out |
---|
Calculates the preferred size dimensions for the specified container, given the components it contains.
c | the container to be laid out |
---|
Removes the specified component from the layout.
c | the component to be removed |
---|