public class MetalComboBoxIcon extends Object implements Icon, Serializable
MetalComboBoxUI
class.Constructor and Description |
---|
MetalComboBoxIcon()
Creates a new icon.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Returns the icon height, which for this icon is 5 pixels.
|
int |
getIconWidth()
Returns the icon width, which for this icon is 10 pixels.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the icon at the location (x, y).
|
public MetalComboBoxIcon()
public int getIconWidth()
getIconWidth
in interface Icon
10
.public int getIconHeight()
getIconHeight
in interface Icon
5
.