uk.co.mmscomputing.application.imageviewer
Class TabCloseIcon

java.lang.Object
  extended by uk.co.mmscomputing.application.imageviewer.TabCloseIcon
All Implemented Interfaces:
javax.swing.Icon

public class TabCloseIcon
extends java.lang.Object
implements javax.swing.Icon


Constructor Summary
TabCloseIcon()
          Creates a new instance of TabCloseIcon.
TabCloseIcon(javax.swing.Icon icon)
          Creates a new instance of TabCloseIcon.
 
Method Summary
 int getIconHeight()
          just delegate
 int getIconWidth()
          just delegate
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
          when painting, remember last position painted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabCloseIcon

public TabCloseIcon(javax.swing.Icon icon)
Creates a new instance of TabCloseIcon.


TabCloseIcon

public TabCloseIcon()
Creates a new instance of TabCloseIcon.

Method Detail

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
when painting, remember last position painted.

Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public int getIconWidth()
just delegate

Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public int getIconHeight()
just delegate

Specified by:
getIconHeight in interface javax.swing.Icon


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.