|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.metal.MetalIconFactory.PaletteCloseIcon
public static class MetalIconFactory.PaletteCloseIcon
An icon used by the MetalInternalFrameUI class when the frame
is displayed as a palette.
| Constructor Summary | |
|---|---|
MetalIconFactory.PaletteCloseIcon()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetalIconFactory.PaletteCloseIcon()
| Method Detail |
|---|
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
MetalLookAndFeel.
paintIcon in interface 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||