Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing.plaf.basic
Class BasicDesktopIconUI.InternalFrameDefaultMenuIcon  view BasicDesktopIconUI.InternalFrameDefaultMenuIcon download BasicDesktopIconUI.InternalFrameDefaultMenuIcon.java

java.lang.Object
  extended byjavax.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.


Constructor Summary
(package private) BasicDesktopIconUI.InternalFrameDefaultMenuIcon()
           
 
Method Summary
 int getIconHeight()
          This returns the icon height.
 int getIconWidth()
          This returns the icon width.
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          This method paints the icon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDesktopIconUI.InternalFrameDefaultMenuIcon

BasicDesktopIconUI.InternalFrameDefaultMenuIcon()
Method Detail

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