|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.option.RealizerCellRenderer.NodeRealizerIcon
public static class RealizerCellRenderer.NodeRealizerIcon
This is a special icon that renders a realizer into an icon
Constructor Summary | |
---|---|
RealizerCellRenderer.NodeRealizerIcon(NodeRealizer realizer,
int width,
int height)
Creates an icon for the given realizer and size with the default inset. |
Method Summary | |
---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Draws the icon at the specified location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RealizerCellRenderer.NodeRealizerIcon(NodeRealizer realizer, int width, int height)
realizer
- the realizer to create an icon forwidth
- the width of the iconheight
- the height of the iconMethod Detail |
---|
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
public void paintIcon(Component c, Graphics g, int x, int y)
paintIcon
in interface Icon
c
- ignoredg
- draw on thisx
- x-coordinatey
- y-coordinate
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |