javax.swing.plaf.metal
Class MetalComboBoxUI.MetalComboBoxLayoutManager

java.lang.Object
  extended by javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager
      extended by 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.


Constructor Summary
MetalComboBoxUI.MetalComboBoxLayoutManager()
          Creates a new instance of the layout manager.
 
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 javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager
addLayoutComponent, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetalComboBoxUI.MetalComboBoxLayoutManager

public MetalComboBoxUI.MetalComboBoxLayoutManager()
Creates a new instance of the layout manager.

Method Detail

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.