be.lassi.ui.util
Class ArrowIcon
java.lang.Object
be.lassi.ui.util.ArrowIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class ArrowIcon
- extends java.lang.Object
- implements javax.swing.Icon
Icon with arrow that is pointing down.
Constructor Summary |
ArrowIcon(int height)
Constructs a new icon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrowIcon
public ArrowIcon(int height)
- Constructs a new icon.
- Parameters:
height
- the height the icon should have
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