|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.toscanaj.model.diagram.DiagramNode
net.sourceforge.toscanaj.model.diagram.NestedDiagramNode
A class representing a diagram node with an inner diagram.
Field Summary |
Fields inherited from class net.sourceforge.toscanaj.model.diagram.DiagramNode |
ATTRIBUTE_LABEL_STYLE_ELEMENT_NAME, attributeLabelInfo, concept, diagram, ID_ATTRIBUTE_NAME, NODE_ELEMENT_NAME, OBJECT_LABEL_STYLE_ELEMENT_NAME, objectLabelInfo, outerNode, position, POSITION_ELEMENT_NAME, POSITION_X_ATTRIBUTE_NAME, POSITION_Y_ATTRIBUTE_NAME |
Constructor Summary | |
NestedDiagramNode(WriteableDiagram2D outerDiagram,
DiagramNode outerNode,
Diagram2D innerDiagram,
double scale)
Creates a new diagram node by copying the information from the given other node and attaching the diagram. |
Method Summary | |
Concept[] |
getConceptNestingList()
|
Diagram2D |
getInnerDiagram()
Returns the inner diagram of the node. |
double |
getOuterScaleFactor()
|
double |
getRadiusX()
Get the horizontal radius used for this node. |
double |
getRadiusY()
Get the vertical radius used for this node. |
void |
setPosition(double x,
double y)
Set the node position in the model space. |
void |
updateInnerDiagram(Diagram2D updatedInnerDiagram,
double scale)
|
Methods inherited from class net.sourceforge.toscanaj.model.diagram.DiagramNode |
equals, getAttributeLabelInfo, getConcept, getElementName, getFilterConcept, getIdentifier, getObjectLabelInfo, getOuterNode, getPosition, getX, getY, hasCollision, invertY, readXML, setAttributeLabelInfo, setObjectLabelInfo, setPosition, toString, toXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NestedDiagramNode(WriteableDiagram2D outerDiagram, DiagramNode outerNode, Diagram2D innerDiagram, double scale)
Method Detail |
public Diagram2D getInnerDiagram()
public double getRadiusX()
DiagramNode
getRadiusX
in class DiagramNode
public double getRadiusY()
DiagramNode
getRadiusY
in class DiagramNode
public Concept[] getConceptNestingList()
getConceptNestingList
in class DiagramNode
public void setPosition(double x, double y)
DiagramNode
setPosition
in class DiagramNode
public double getOuterScaleFactor()
public void updateInnerDiagram(Diagram2D updatedInnerDiagram, double scale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |