y.option
Class RealizerCellRenderer.EdgeRealizerIcon
java.lang.Object
y.option.RealizerCellRenderer.EdgeRealizerIcon
- All Implemented Interfaces:
- Icon
- Enclosing class:
- RealizerCellRenderer
public static class RealizerCellRenderer.EdgeRealizerIcon
- extends Object
- implements Icon
A special icon that renders an edge realizer
-
-
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealizerCellRenderer.EdgeRealizerIcon
public RealizerCellRenderer.EdgeRealizerIcon(EdgeRealizer realizer,
int width,
int height)
- creates an icon for the given realizer.
- Parameters:
realizer - the realizer to create an icon forwidth - the width of the iconheight - the height of the icon
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon