Package net.ontopia.topicmaps.viz
Class TMAssociationEdge
java.lang.Object
com.touchgraph.graphlayout.Edge
net.ontopia.topicmaps.viz.TMAbstractEdge
net.ontopia.topicmaps.viz.TMAssociationEdge
- All Implemented Interfaces:
com.touchgraph.graphlayout.TGPaintListener,EventListener,Recoverable,VizTMAssociationIF,VizTMObjectIF
INTERNAL: Edge class representing binary associations as edges.
-
Field Summary
Fields inherited from class net.ontopia.topicmaps.viz.TMAbstractEdge
DEFAULT_LINE_WEIGHT, DEFAULT_SHAPE, font, icon, intBuffer, lineWeight, LOADING, scopingTopic, shape, SHAPE_BOWTIE, SHAPE_LINE, shouldDisplayRoleHoverHelp, stringifier, underMouseFields inherited from class com.touchgraph.graphlayout.Edge
col, DEFAULT_COLOR, DEFAULT_LENGTH, from, id, length, MOUSE_OVER_COLOR, to, visible -
Constructor Summary
ConstructorsConstructorDescriptionTMAssociationEdge(TMTopicNode tn1, TMTopicNode tn2, AssociationIF association, TopicIF aScopingTopic) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringbooleanprotected voidbooleanrepresents(Object object) voidsetShouldDisplayScopedAssociationNames(boolean newValue) Methods inherited from class net.ontopia.topicmaps.viz.TMAbstractEdge
addTo, calculateMidPointBetween, calculateOffset, deleteFrom, distFromPoint, getCurvedBowTie, getCurvedLine, getDisplayShape, getFont, getFromRolePosition, getIcon, getIndexInParents, getLineWeight, getMidPoint, getShape, getStringifier, getTargetsFrom, getToRolePosition, isEdge, paint, paintAfterEdges, paintBowTie, paintConnection, paintCurvedBowTie, paintCurvedLine, paintFirst, paintLast, paintLine, paintToolTipText, paintToolTipText, paintTypeToolTip, setFont, setIcon, setLineWeight, setScopingTopic, setShape, setShouldDisplayRoleHoverHelp, setStringifier, setVisibleMethods inherited from class com.touchgraph.graphlayout.Edge
containsPoint, getColor, getFrom, getID, getLength, getOtherEndpt, getTo, intersects, isVisible, paintArrow, reverse, setColor, setEdgeDefaultColor, setEdgeDefaultLength, setEdgeMouseOverColor, setID, setLengthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ontopia.topicmaps.viz.VizTMObjectIF
addTo, deleteFrom, isEdge, setColor, setFont, setIcon, setLineWeight, setScopingTopic, setShape, setVisible
-
Constructor Details
-
TMAssociationEdge
public TMAssociationEdge(TMTopicNode tn1, TMTopicNode tn2, AssociationIF association, TopicIF aScopingTopic)
-
-
Method Details
-
getAssociation
-
getMainHoverHelpText
- Overrides:
getMainHoverHelpTextin classTMAbstractEdge
-
paintToolTip
- Overrides:
paintToolTipin classTMAbstractEdge
-
getTopicMapType
- Specified by:
getTopicMapTypein interfaceVizTMObjectIF- Overrides:
getTopicMapTypein classTMAbstractEdge
-
represents
- Specified by:
representsin interfaceVizTMObjectIF
-
isAssociation
public boolean isAssociation()- Specified by:
isAssociationin interfaceVizTMObjectIF- Overrides:
isAssociationin classTMAbstractEdge
-
setShouldDisplayScopedAssociationNames
public void setShouldDisplayScopedAssociationNames(boolean newValue) - Specified by:
setShouldDisplayScopedAssociationNamesin interfaceVizTMAssociationIF
-
getRecoveryObject
-
getDesctructor
- Specified by:
getDesctructorin interfaceRecoverable
-
getRecreator
- Specified by:
getRecreatorin interfaceRecoverable
-