public static class MetalIconFactory.PaletteCloseIcon extends Object implements Icon, Serializable, UIResource
MetalInternalFrameUI
class when the frame
is displayed as a palette.Constructor and Description |
---|
MetalIconFactory.PaletteCloseIcon() |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Returns the height of the icon, in pixels.
|
int |
getIconWidth()
Returns the width of the icon, in pixels.
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paints the icon using colors from the
MetalLookAndFeel . |
public MetalIconFactory.PaletteCloseIcon()
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public void paintIcon(Component c, Graphics g, int x, int y)
MetalLookAndFeel
.