public static class MetalIconFactory.PaletteCloseIcon extends java.lang.Object implements javax.swing.Icon, java.io.Serializable, javax.swing.plaf.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(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Paints the icon using colors from the
MetalLookAndFeel. |
public MetalIconFactory.PaletteCloseIcon()
public int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
MetalLookAndFeel.paintIcon in interface javax.swing.Iconc - the component (ignored).g - the graphics device.x - the x-coordinate for the top-left of the icon.y - the y-coordinate for the top-left of the icon.