com.tensegrity.gui.swing.icon
Class CloseIcon

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

public class CloseIcon
extends Icon

CloseIcon implements a simple Icon used as "Closed" symbol in controls. It consists of a 16x16 icon with a cross (x) in the middle.

Version:
$Id: CloseIcon.java,v 1.6 2003/08/21 14:53:16 GillesIachelini Exp $
Author:
Gilles Iachelini
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
CloseIcon()
          Creates a CloseIcon of size 16x16.
 
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

CloseIcon

public CloseIcon()
Creates a CloseIcon of size 16x16.

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.