com.tensegrity.gui.swing.icon
Class PopupIcon

java.lang.Object
  extended byjavax.swing.ImageIcon
      extended bycom.tensegrity.gui.swing.icon.Icon
          extended bycom.tensegrity.gui.swing.icon.PopupIcon
All Implemented Interfaces:
javax.accessibility.Accessible, javax.swing.Icon, java.io.Serializable

public class PopupIcon
extends Icon

An Icon for popup menus.

Version:
$Id: PopupIcon.java,v 1.8 2004/06/29 09:23:31 sr Exp $
Author:
Gilles Iachelini, Stepan Rutz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.ImageIcon
javax.swing.ImageIcon.AccessibleImageIcon
 
Field Summary
 
Fields inherited from class com.tensegrity.gui.swing.icon.Icon
EMPTYICON_16x15
 
Fields inherited from class javax.swing.ImageIcon
component, tracker
 
Constructor Summary
PopupIcon()
          Creates the PopupIcon.
PopupIcon(boolean antialiasing)
          Creates the Icon and turns antialiasing on if the parameter is set to true.
 
Method Summary
 void paintIcon(java.awt.Component component, java.awt.Graphics graphics, int x, int y)
           
 
Methods inherited from class com.tensegrity.gui.swing.icon.Icon
filter, getColor, getGraphics, getHeight, getImage, getSize, getWidth, paint, setColor, setImage
 
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImageObserver, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PopupIcon

public PopupIcon()
Creates the PopupIcon.


PopupIcon

public PopupIcon(boolean antialiasing)
Creates the Icon and turns antialiasing on if the parameter is set to true.

Parameters:
antialiasing - set to true for antialising.
Method Detail

paintIcon

public void paintIcon(java.awt.Component component,
                      java.awt.Graphics graphics,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon
Overrides:
paintIcon in class Icon


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.