org.openbp.swing.plaf.sky
Class SkyComboBoxUI.ComboBoxIcon

java.lang.Object
  extended by org.openbp.swing.plaf.sky.SkyComboBoxUI.ComboBoxIcon
All Implemented Interfaces:
java.io.Serializable, javax.swing.Icon
Enclosing class:
SkyComboBoxUI

public class SkyComboBoxUI.ComboBoxIcon
extends java.lang.Object
implements javax.swing.Icon, java.io.Serializable

This utility class draws the horizontal bars which indicate a ComboBox. The arrow is smaller than the MetalCombobox arrow.

See Also:
Serialized Form

Constructor Summary
SkyComboBoxUI.ComboBoxIcon()
           
 
Method Summary
 int getIconHeight()
          Created a stub to satisfy the interface.
 int getIconWidth()
          Created a stub to satisfy the interface.
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          Paints horizontal bars.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkyComboBoxUI.ComboBoxIcon

public SkyComboBoxUI.ComboBoxIcon()
Method Detail

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Paints horizontal bars.

Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
Created a stub to satisfy the interface.

Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
Created a stub to satisfy the interface.

Specified by:
getIconHeight in interface javax.swing.Icon


Copyright © 2011. All Rights Reserved.