IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.5.0

javax.swing.plaf.metal
Class MetalComboBoxIcon

java.lang.Object
  extended by javax.swing.plaf.metal.MetalComboBoxIcon
All Implemented Interfaces:
Serializable, Icon

public class MetalComboBoxIcon
extends Object
implements Icon, Serializable

This utility class draws the horizontal bars which indicate a MetalComboBox

See Also:
MetalComboBoxUI

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

Constructor Detail

MetalComboBoxIcon

public MetalComboBoxIcon()
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Paints the horizontal bars for the

Specified by:
paintIcon in interface Icon

getIconWidth

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

Specified by:
getIconWidth in interface Icon
Returns:
an int specifying the fixed width of the icon.

getIconHeight

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

Specified by:
getIconHeight in interface Icon
Returns:
an int specifying the fixed height of the icon.

Copyright 2003 Sun Microsystems, Inc. All rights reserved