com.dlsc.flexgantt.icons
Class BlankIcon
java.lang.Object
com.dlsc.flexgantt.icons.BlankIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class BlankIcon
- extends java.lang.Object
- implements javax.swing.Icon
An empty (blank) icon often used for aligning menu items.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
Constructor Summary |
BlankIcon(int width,
int height)
Constructs a new blank icon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlankIcon
public BlankIcon(int width,
int height)
- Constructs a new blank icon.
- Parameters:
width
- the width of the iconheight
- the height of the icon- Since:
- 1.0
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon