uk.ac.starlink.ttools.plot
Class EmptyIcon
java.lang.Object
uk.ac.starlink.ttools.plot.EmptyIcon
- All Implemented Interfaces:
- Icon
public class EmptyIcon
- extends Object
- implements Icon
Icon implementation which doesn't draw anything.
- Since:
- 26 Feb 2007
- Author:
- Mark Taylor
Constructor Summary |
EmptyIcon(int width,
int height)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyIcon
public EmptyIcon(int width,
int height)
- Constructor.
- Parameters:
width
- icon widthheight
- icon height
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.