|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.graph.uml.classdiagram.ClassdiagramNode
gov.nih.nci.cagrid.graph.uml.classdiagram.ClassdiagramNote
public class ClassdiagramNote
This class overrides some of the aspects of ClassdiagramNodes to simplify the positioning of notes nearby the commented nodes.
| Field Summary |
|---|
| Fields inherited from class gov.nih.nci.cagrid.graph.uml.classdiagram.ClassdiagramNode |
|---|
NOCOLUMN, NORANK, NOWEIGHT |
| Constructor Summary | |
|---|---|
ClassdiagramNote(org.tigris.gef.presentation.FigNode f)
|
|
| Method Summary | |
|---|---|
float |
calculateWeight()
Calculate the weight of this node. |
int |
getRank()
Get the rank of this node. |
int |
getTypeOrderNumer()
Get the type order number of this node. |
float |
getWeight()
Return the weight of this node, which is used for positioning in a row. |
boolean |
isStandalone()
Test whether this node has no connection to other nodes. |
| Methods inherited from class gov.nih.nci.cagrid.graph.uml.classdiagram.ClassdiagramNode |
|---|
addDownlink, addRank, addUplink, compareTo, getColumn, getDownlinks, getEdgeOffset, getFigure, getLevel, getLocation, getPlacementHint, getSize, getUplinks, isComment, isPackage, setColumn, setEdgeOffset, setFigure, setLocation, setPlacementHint, setRank, setWeight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassdiagramNote(org.tigris.gef.presentation.FigNode f)
f - the fig| Method Detail |
|---|
public int getTypeOrderNumer()
ClassdiagramNode
getTypeOrderNumer in class ClassdiagramNodeorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNode#getTypeOrderNumer()public float calculateWeight()
ClassdiagramNode
calculateWeight in class ClassdiagramNodeorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNode#calculateWeight()public int getRank()
ClassdiagramNode
getRank in class ClassdiagramNodeorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNode#getRank()public float getWeight()
ClassdiagramNode
getWeight in class ClassdiagramNodeorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNode#getWeight()public boolean isStandalone()
ClassdiagramNodetrue if node has no connections, false
otherwise.
isStandalone in class ClassdiagramNodeorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNode#isStandalone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||