|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nwoods.jgo.layout.JGoTreeNetworkNode
Holds auto-layout specific node data.
| Field Summary | |
static int |
AlignmentCenterChildren
|
static int |
AlignmentCenterSubtrees
|
static int |
AlignmentEnd
|
static int |
AlignmentStart
|
static int |
CompactionBlock
|
static int |
CompactionNone
|
static int |
SortingAscending
|
static int |
SortingDescending
|
static int |
SortingForwards
|
static int |
SortingReverse
|
| Constructor Summary | |
JGoTreeNetworkNode()
|
|
| Method Summary | |
void |
AddDestinationLink(JGoTreeNetworkLink destinationLink)
Adds a |
void |
AddSourceLink(JGoTreeNetworkLink sourceLink)
Adds a JGoTreeNetworkLink to the list predecessors (i.e., the link will be coming into this node). |
void |
CommitPosition()
Moves the corresponding GoObject to the center point of the node in the document. |
void |
CopyInheritedPropertiesFrom(JGoTreeNetworkNode n)
|
void |
DeleteDestinationLink(JGoTreeNetworkLink destinationLink)
Deletes a |
void |
DeleteSourceLink(JGoTreeNetworkLink sourceLink)
Deletes a JGoTreeNetworkLink from the list of predecessors (i.e., the link was to this node). |
int |
getAlignment()
|
float |
getAngle()
|
java.awt.Rectangle |
getBounds()
Gets the Bounds of this node. |
int |
getBreadthLimit()
|
java.awt.Point |
getCenter()
Gets the Center Point of this node. |
int |
getChildPortSpot()
|
JGoTreeNetworkNode[] |
getChildren()
|
int |
getChildrenCount()
|
int |
getCommentMargin()
|
int |
getCommentSpacing()
|
int |
getCompaction()
|
java.util.Comparator |
getComparer()
|
int |
getDescendentCount()
|
JGoNodeArrayList |
getDestinations()
|
java.awt.Dimension |
getFocus()
Gets the offset of the Center from the Position |
int |
getHeight()
Gets the Bounds.Height. |
boolean |
getInitialized()
|
int |
getInternalFlags()
|
JGoObject |
getJGoObject()
Gets the JGoObject associated with this network node. |
int |
getLayerSpacing()
|
int |
getLevel()
|
int |
getMaxChildrenCount()
|
int |
getMaxGenerationCount()
|
JGoTreeNetwork |
getNetwork()
Gets the network that this node is part of |
static JGoTreeNetworkNode[] |
getNoChildren()
|
int |
getNodeIndent()
|
int |
getNodeSpacing()
|
JGoTreeNetworkNode |
getParent()
|
int |
getPortSpot()
|
java.awt.Point |
getPosition()
Gets the Position (top-left corner) of this node. |
java.awt.Point |
getRelativePosition()
|
int |
getRowIndent()
|
int |
getRowSpacing()
|
java.awt.Dimension |
getSize()
Gets the Bounds.Size. |
int |
getSorting()
|
JGoNodeArrayList |
getSources()
|
java.awt.Dimension |
getSubtreeOffset()
|
java.awt.Dimension |
getSubtreeSize()
|
int |
getWidth()
Gets the Bounds.Width. |
void |
setAlignment(int value)
|
void |
setAngle(float value)
|
void |
setBounds(java.awt.Rectangle value)
Sets the Bounds of this node. |
void |
setBreadthLimit(int value)
|
void |
setCenter(java.awt.Point value)
Sets the Center Point of this node. |
void |
setChildPortSpot(int value)
|
void |
setChildren(JGoTreeNetworkNode[] value)
|
void |
setCommentMargin(int value)
|
void |
setCommentSpacing(int value)
|
void |
setCompaction(int value)
|
void |
setComparer(java.util.Comparator value)
|
void |
setDescendentCount(int value)
|
void |
setFocus(java.awt.Dimension value)
Sets the offset of the Center from the Position Setting this property does not modify any JGoObject. |
void |
setInitialized(boolean value)
|
void |
setInternalFlags(int value)
|
void |
setJGoObject(JGoObject obj)
Sets the JGoObject associated with this network node. |
void |
setLayerSpacing(int value)
|
void |
setLevel(int value)
|
void |
setMaxChildrenCount(int value)
|
void |
setMaxGenerationCount(int value)
|
void |
setNetwork(JGoTreeNetwork network)
Sets the network that this node is part of |
void |
setNodeIndent(int value)
|
void |
setNodeSpacing(int value)
|
void |
setParent(JGoTreeNetworkNode value)
|
void |
setPortSpot(int value)
|
void |
setPosition(java.awt.Point value)
Sets the Position (top-left corner) of this node. |
void |
setRelativePosition(java.awt.Point value)
|
void |
setRowIndent(int value)
|
void |
setRowSpacing(int value)
|
void |
setSorting(int value)
|
void |
setSubtreeOffset(java.awt.Dimension value)
|
void |
setSubtreeSize(java.awt.Dimension value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SortingForwards
public static final int SortingReverse
public static final int SortingAscending
public static final int SortingDescending
public static final int CompactionNone
public static final int CompactionBlock
public static final int AlignmentCenterSubtrees
public static final int AlignmentCenterChildren
public static final int AlignmentStart
public static final int AlignmentEnd
| Constructor Detail |
public JGoTreeNetworkNode()
| Method Detail |
public JGoObject getJGoObject()
public void setJGoObject(JGoObject obj)
public JGoTreeNetwork getNetwork()
public void setNetwork(JGoTreeNetwork network)
public void AddSourceLink(JGoTreeNetworkLink sourceLink)
public void DeleteSourceLink(JGoTreeNetworkLink sourceLink)
public void AddDestinationLink(JGoTreeNetworkLink destinationLink)
destinationLink - public void DeleteDestinationLink(JGoTreeNetworkLink destinationLink)
destinationLink - public java.awt.Point getCenter()
public void setCenter(java.awt.Point value)
value - public java.awt.Point getPosition()
public void setPosition(java.awt.Point value)
public java.awt.Dimension getFocus()
public void setFocus(java.awt.Dimension value)
value - public java.awt.Rectangle getBounds()
public void setBounds(java.awt.Rectangle value)
value - public java.awt.Dimension getSize()
public int getWidth()
public int getHeight()
public void CommitPosition()
public JGoNodeArrayList getSources()
public JGoNodeArrayList getDestinations()
public void CopyInheritedPropertiesFrom(JGoTreeNetworkNode n)
public void setInitialized(boolean value)
public boolean getInitialized()
public JGoTreeNetworkNode getParent()
public void setParent(JGoTreeNetworkNode value)
public JGoTreeNetworkNode[] getChildren()
public void setChildren(JGoTreeNetworkNode[] value)
public int getChildrenCount()
public int getLevel()
public void setLevel(int value)
public int getDescendentCount()
public void setDescendentCount(int value)
public int getMaxChildrenCount()
public void setMaxChildrenCount(int value)
public int getMaxGenerationCount()
public void setMaxGenerationCount(int value)
public static JGoTreeNetworkNode[] getNoChildren()
public int getSorting()
public void setSorting(int value)
public int getInternalFlags()
public void setInternalFlags(int value)
public java.util.Comparator getComparer()
public void setComparer(java.util.Comparator value)
public float getAngle()
public void setAngle(float value)
public int getAlignment()
public void setAlignment(int value)
public int getNodeIndent()
public void setNodeIndent(int value)
public int getLayerSpacing()
public void setLayerSpacing(int value)
public int getCompaction()
public void setCompaction(int value)
public int getBreadthLimit()
public void setBreadthLimit(int value)
public int getRowSpacing()
public void setRowSpacing(int value)
public int getRowIndent()
public void setRowIndent(int value)
public int getCommentSpacing()
public void setCommentSpacing(int value)
public int getCommentMargin()
public void setCommentMargin(int value)
public int getPortSpot()
public void setPortSpot(int value)
public int getChildPortSpot()
public void setChildPortSpot(int value)
public java.awt.Point getRelativePosition()
public void setRelativePosition(java.awt.Point value)
public java.awt.Dimension getSubtreeSize()
public void setSubtreeSize(java.awt.Dimension value)
public java.awt.Dimension getSubtreeOffset()
public void setSubtreeOffset(java.awt.Dimension value)
public int getNodeSpacing()
public void setNodeSpacing(int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||