|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.ConnectionPoint
com.mindfusion.diagramming.TreeViewConnectionPoint
public class TreeViewConnectionPoint
Field Summary |
---|
Fields inherited from class com.mindfusion.diagramming.ConnectionPoint |
---|
node |
Constructor Summary | |
---|---|
TreeViewConnectionPoint()
Initializes a new instance of the TreeViewConnectionPoint class. |
|
TreeViewConnectionPoint(TreeViewNode node,
DiagramLink link,
boolean incoming,
TreeViewItem item)
Initializes a new instance of the TreeViewConnectionPoint class. |
Method Summary | |
---|---|
void |
addLinkToNode()
ConnectionPoint.addLinkToNode override. |
java.awt.geom.Point2D |
getEndPoint()
ConnectionPoint.getEndPoint override. |
java.awt.geom.Point2D |
getInitialPoint()
ConnectionPoint.getInitialPoint override. |
java.awt.geom.Point2D |
getIntersection(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2)
ConnectionPoint.getIntersection override. |
int |
getRow()
ConnectionPoint.getRow override. |
boolean |
linkChanges(DiagramNode node,
java.awt.geom.Point2D point)
ConnectionPoint.linkChanges override. |
void |
readExternal(java.io.ObjectInput in)
Deserializes the connection point data. |
void |
removeLinkFromNode()
ConnectionPoint.removeLinkFromNode override. |
void |
saveEndRelative()
ConnectionPoint.saveEndRelative override. |
protected void |
updateFromPoint(java.awt.geom.Point2D point)
Updates the connection stated according to the specified point, without changing the related node. |
void |
writeExternal(java.io.ObjectOutput out)
Serializes the connection point data. |
Methods inherited from class com.mindfusion.diagramming.ConnectionPoint |
---|
calculateIntersections, canMoveLink, getAnchorPos, getAnchorPos, getIncoming, getLink, getNode, getNodeRect, getRelativePosition, nodesIntersect, sameNode, setRelativePosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeViewConnectionPoint()
public TreeViewConnectionPoint(TreeViewNode node, DiagramLink link, boolean incoming, TreeViewItem item)
node
- A TreeViewNode instance.link
- A DiagramLink instance.incoming
- Specifies which end of the link is represented by this TreeViewConnectionPoint.item
- The TreeViewItem to which the link connects.Method Detail |
---|
public java.awt.geom.Point2D getInitialPoint()
getInitialPoint
in class ConnectionPoint
public java.awt.geom.Point2D getIntersection(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
getIntersection
in class ConnectionPoint
public boolean linkChanges(DiagramNode node, java.awt.geom.Point2D point)
linkChanges
in class ConnectionPoint
protected void updateFromPoint(java.awt.geom.Point2D point)
updateFromPoint
in class ConnectionPoint
public void saveEndRelative()
saveEndRelative
in class ConnectionPoint
public java.awt.geom.Point2D getEndPoint()
getEndPoint
in class ConnectionPoint
public void addLinkToNode()
addLinkToNode
in class ConnectionPoint
public void removeLinkFromNode()
removeLinkFromNode
in class ConnectionPoint
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
ConnectionPoint
writeExternal
in interface java.io.Externalizable
writeExternal
in class ConnectionPoint
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
ConnectionPoint
readExternal
in interface java.io.Externalizable
readExternal
in class ConnectionPoint
java.io.IOException
java.lang.ClassNotFoundException
public int getRow()
getRow
in class ConnectionPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |