|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the graphical symbol of a node in the model.
Field Summary |
Fields inherited from interface fdda.graphics.Component |
SEL_ALL, SEL_EQUALS, SEL_MOVABLES, SEL_NOTHING |
Method Summary | |
double |
getLineStartX()
Returns the x coordinate of the point where lines should start. |
double |
getLineStartY()
Returns the y coordinate of the point where lines should start. |
Node |
getModelNode()
Returns the model node which is symbolized by this node. |
Color |
getPrimaryColor()
Returns the main color of the node. |
Color |
getSecondaryColor()
Returns the secondary color of the node. |
void |
repaint()
Refreshes the graphics. |
void |
setModelNode(Node node)
Sets the model node which is symbolized by this node. |
void |
setPrimaryColor(Color color)
Sets the main color of the node. |
void |
setSecondaryColor(Color color)
Sets the secondary color of the node. |
Methods inherited from interface fdda.graphics.Component |
clone, deselect, getGraphicalSystem, getShape, getX, getY, isMovable, isSelected, move, recalculateShape, select, selectableWith, setGraphicalSystem, setXY, visit |
Methods inherited from interface fdda.graphics.WorkingPart |
isWorking, setWorking |
Methods inherited from interface fdda.model.PropertyHolder |
addProperty, addPropertyListener, changeProperty, firePropertyChanged, getProperties, getProperty, removeProperty, removePropertyListener |
Method Detail |
public double getLineStartX()
public double getLineStartY()
public void setPrimaryColor(Color color)
color
- the main colorpublic Color getPrimaryColor()
public void setSecondaryColor(Color color)
color
- the secondary color.public Color getSecondaryColor()
public Node getModelNode()
public void setModelNode(Node node)
node
- the model nodepublic void repaint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |