javax.swing.plaf.basic
Class BasicDesktopIconUI.InternalFrameDefaultMenuIcon

java.lang.Object
javax.swing.plaf.basic.BasicDesktopIconUI.InternalFrameDefaultMenuIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Enclosing class:
- BasicDesktopIconUI
- static class BasicDesktopIconUI.InternalFrameDefaultMenuIcon
- extends java.lang.Object
- implements javax.swing.Icon
This class represents the default frame icon when none
is supplied by the JInternalFrame.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicDesktopIconUI.InternalFrameDefaultMenuIcon
BasicDesktopIconUI.InternalFrameDefaultMenuIcon()
getIconHeight
public int getIconHeight()
- This returns the icon height.
- Specified by:
getIconHeight in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- This returns the icon width.
- Specified by:
getIconWidth in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- This method paints the icon.
- Specified by:
paintIcon in interface javax.swing.Icon