java.lang.Object | |
↳ | javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager |
![]() |
This layout manager handles the 'standard' layout of combo boxes. It puts
the arrow button to the right and the editor to the left. If there is no
editor it still keeps the arrow button to the right.
This public inner class should be treated as protected.
Instantiate it only within subclasses of
BasicComboBoxUI
.
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 the layout manager uses a per-component string,
adds the component comp
to the layout,
associating it
with the string specified by name
.
name | the string to be associated with the component |
---|---|
comp | the component to be added |
Lays out the specified container.
parent | the container to be laid out |
---|
Calculates the minimum size dimensions for the specified container, given the components it contains.
parent | the component to be laid out |
---|
Calculates the preferred size dimensions for the specified container, given the components it contains.
parent | the container to be laid out |
---|
Removes the specified component from the layout.
comp | the component to be removed |
---|