javax.swing.plaf.metal
public static class MetalIconFactory.FolderIcon16 extends Object implements Icon, Serializable
| Method Summary | |
|---|---|
| int | getAdditionalHeight()
Returns the additional height for the icon. |
| int | getIconHeight()
Returns the height of the icon, in pixels. |
| int | getIconWidth()
Returns the width of the icon, in pixels.
|
| int | getShift()
Returns the vertical shift, in pixels, applied when painting the icon.
|
| void | paintIcon(Component c, Graphics g, int x, int y)
Paints the icon at the location (x, y).
|
Returns: The additional height (0 unless overridden).
16 plus the value returned by
{@link #getAdditionalHeight()}.
Returns: The height of the icon.
Returns: The width of the icon.
Returns: The shift.
Parameters: c the component. g the graphics device. x the x coordinate. y the y coordinate.