Sky View Café - Java

org.shetline.gui.laf.zinc
Class ZincComboBoxUI.ZincComboBoxLayoutManager

java.lang.Object
  extended by javax.swing.plaf.basic.BasicComboBoxUI.ComboBoxLayoutManager
      extended by javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager
          extended by org.shetline.gui.laf.zinc.ZincComboBoxUI.ZincComboBoxLayoutManager
All Implemented Interfaces:
LayoutManager
Enclosing class:
ZincComboBoxUI

protected final class ZincComboBoxUI.ZincComboBoxLayoutManager
extends MetalComboBoxUI.MetalComboBoxLayoutManager

This layout manager handles the 'standard' layout of combo boxes. It puts the arrow button to the trailing side and the editor to the leading side. If there is no editor it still keeps the arrow button to the trailing side.

Overridden to use a fixed arrow button width.


Constructor Summary
protected ZincComboBoxUI.ZincComboBoxLayoutManager()
           
 
Method Summary
 void layoutContainer(Container parent)
           
 
Methods inherited from class javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager
superLayout
 
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

ZincComboBoxUI.ZincComboBoxLayoutManager

protected ZincComboBoxUI.ZincComboBoxLayoutManager()
Method Detail

layoutContainer

public void layoutContainer(Container parent)
Specified by:
layoutContainer in interface LayoutManager
Overrides:
layoutContainer in class MetalComboBoxUI.MetalComboBoxLayoutManager

Sky View Café - Java