javax.swing.plaf.metal
Class MetalComboBoxUI.MetalComboBoxLayoutManager
java.lang.Object
javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager
javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager
- All Implemented Interfaces:
- LayoutManager
- Enclosing class:
- MetalComboBoxUI
public class MetalComboBoxUI.MetalComboBoxLayoutManager
- extends BasicComboBoxUI.ComboBoxLayoutManager
A layout manager that arranges the editor component (if active) and the
button that make up the combo box.
Method Summary |
void |
layoutContainer(Container parent)
Arranges the editor (if visible) and button that comprise the combo
box. |
void |
superLayout(Container parent)
Calls the layoutContainer(Container) method in the super
class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetalComboBoxUI.MetalComboBoxLayoutManager
public MetalComboBoxUI.MetalComboBoxLayoutManager()
- Creates a new instance of the layout manager.
layoutContainer
public void layoutContainer(Container parent)
- Arranges the editor (if visible) and button that comprise the combo
box.
- Specified by:
layoutContainer
in interface LayoutManager
- Overrides:
layoutContainer
in class BasicComboBoxUI.ComboBoxLayoutManager
- Parameters:
parent
- the parent.
superLayout
public void superLayout(Container parent)
- Calls the
layoutContainer(Container)
method in the super
class.
- Parameters:
parent
- the container.