javax.swing.plaf.basic
public class BasicComboBoxUI.ComboBoxLayoutManager extends Object implements LayoutManager
See Also: createLayoutManager
Constructor Summary | |
---|---|
ComboBoxLayoutManager()
Creates a new ComboBoxLayoutManager object. |
Method Summary | |
---|---|
void | addLayoutComponent(String name, Component comp)
Adds a component to the layout. |
void | layoutContainer(Container parent)
Arranges the components in the container. |
Dimension | minimumLayoutSize(Container parent)
Returns the minimum layout size.
|
Dimension | preferredLayoutSize(Container parent)
Returns preferred layout size of the JComboBox.
|
void | removeLayoutComponent(Component comp)
Removes a component from the layout. |
Parameters: name the name to associate the component with (ignored). comp the component (ignored).
Parameters: parent Container that should be layed out.
Parameters: parent the container.
Returns: The minimum size.
Parameters: parent the Container for which the preferred size should be calculated.
Returns: The preferred size for the given container
Parameters: comp the component.