|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFigure
com.pnp.xfeature.figures.FeatureNodeFigure
public class FeatureNodeFigure
This class is responsible for drawing the node onto the canvas
| Field Summary | |
|---|---|
static Color |
classColor
|
| Constructor Summary | |
|---|---|
FeatureNodeFigure(FeatureNodeModel model)
creates the figure and sets its visual properties as read from he model |
|
| Method Summary | |
|---|---|
void |
drawRectangle(Graphics g,
Rectangle r)
draws a rectangle aroud feature node, replaces Graphics#drawRectangle |
void |
finalize()
disposes all color and font objects, then calls superclass implementation |
void |
paintFigure(Graphics graphics)
Paints the figure in three steps. |
void |
updateToolTip()
Updates the tooltip text displayed when the mouse is over the figure - the text is read from |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Color classColor
| Constructor Detail |
|---|
public FeatureNodeFigure(FeatureNodeModel model)
| Method Detail |
|---|
public void finalize()
throws java.lang.Throwable
java.lang.Throwable
public void drawRectangle(Graphics g,
Rectangle r)
public void paintFigure(Graphics graphics)
org.eclipse.draw2d.IFigure#paintFigure(org.eclipse.draw2d.Graphics)public void updateToolTip()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||