javax.swing.plaf.metal
public class MetalComboBoxIcon extends Object implements Icon, Serializable
| Constructor Summary | |
|---|---|
| MetalComboBoxIcon()
Creates a new icon. | |
| Method Summary | |
|---|---|
| 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).
|
Returns: 5.
Returns: 10.
Parameters: c the combo box (ignored here). g the graphics device. x the x coordinate. y the y coordinate.