Package net.ontopia.topicmaps.viz
Class TMRoleEdge
java.lang.Object
com.touchgraph.graphlayout.Edge
net.ontopia.topicmaps.viz.TMAbstractEdge
net.ontopia.topicmaps.viz.TMRoleEdge
- All Implemented Interfaces:
com.touchgraph.graphlayout.TGPaintListener,EventListener,Recoverable,VizTMObjectIF
INTERNAL: Edge class representing association roles as edges in
n-ary associations connecting role player with the association
node.
-
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
ConstructorsConstructorDescriptionTMRoleEdge(TMAssociationNode an, TMTopicNode tn, AssociationRoleIF r, TopicIF aScopingTopic) -
Method Summary
Modifier and TypeMethodDescriptionprotected GeneralPathgetCurvedBowTie(int index) protected StringgetRole()getTargetsFrom(com.touchgraph.graphlayout.Node find) protected voidprotected voidbooleanrepresents(Object object) voidMethods inherited from class net.ontopia.topicmaps.viz.TMAbstractEdge
addTo, calculateMidPointBetween, calculateOffset, deleteFrom, distFromPoint, getCurvedLine, getDisplayShape, getFont, getFromRolePosition, getIcon, getIndexInParents, getLineWeight, getMidPoint, getShape, getStringifier, getToRolePosition, isAssociation, isEdge, paint, paintAfterEdges, paintConnection, paintCurvedBowTie, paintCurvedLine, paintFirst, paintLast, paintLine, paintToolTipText, paintToolTipText, paintTypeToolTip, setFont, 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
setColor
-
Constructor Details
-
TMRoleEdge
-
-
Method Details
-
getRole
-
paintToolTip
- Overrides:
paintToolTipin classTMAbstractEdge
-
paintBowTie
- Overrides:
paintBowTiein classTMAbstractEdge
-
getTopicMapType
- Specified by:
getTopicMapTypein interfaceVizTMObjectIF- Overrides:
getTopicMapTypein classTMAbstractEdge
-
getAssociation
-
setIcon
- Specified by:
setIconin interfaceVizTMObjectIF- Overrides:
setIconin classTMAbstractEdge
-
represents
-
getTargetsFrom
- Overrides:
getTargetsFromin classTMAbstractEdge
-
getMainHoverHelpText
- Overrides:
getMainHoverHelpTextin classTMAbstractEdge
-
getCurvedBowTie
- Overrides:
getCurvedBowTiein classTMAbstractEdge
-
getDesctructor
-
getRecreator
-