Sky View Café - Java

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

java.lang.Object
  extended by org.shetline.gui.laf.zinc.ZincComboBoxUI.ComboBoxButtonIcon
All Implemented Interfaces:
Serializable, Icon
Enclosing class:
ZincComboBoxUI

protected static class ZincComboBoxUI.ComboBoxButtonIcon
extends Object
implements Icon, Serializable

The arrow button used in comboboxes.

See Also:
Serialized Form

Field Summary
protected static Image baseArrowImage
           
protected static Image cachedDisabledArrow
           
protected static Image cachedEnabledArrow
           
protected static int HEIGHT
           
protected static Color lastDisabledColor
           
protected static Color lastEnabledColor
           
protected static int WIDTH
           
 
Constructor Summary
protected ZincComboBoxUI.ComboBoxButtonIcon()
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIDTH

protected static final int WIDTH
See Also:
Constant Field Values

HEIGHT

protected static final int HEIGHT
See Also:
Constant Field Values

baseArrowImage

protected static Image baseArrowImage

lastEnabledColor

protected static Color lastEnabledColor

cachedEnabledArrow

protected static Image cachedEnabledArrow

lastDisabledColor

protected static Color lastDisabledColor

cachedDisabledArrow

protected static Image cachedDisabledArrow
Constructor Detail

ZincComboBoxUI.ComboBoxButtonIcon

protected ZincComboBoxUI.ComboBoxButtonIcon()
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon

Sky View Café - Java