public class TMRoleEdge extends TMAbstractEdge
DEFAULT_LINE_WEIGHT, DEFAULT_SHAPE, font, icon, intBuffer, lineWeight, LOADING, scopingTopic, shape, SHAPE_BOWTIE, SHAPE_LINE, shouldDisplayRoleHoverHelp, stringifier, underMouse
Constructor and Description |
---|
TMRoleEdge(TMAssociationNode an,
TMTopicNode tn,
AssociationRoleIF r,
TopicIF aScopingTopic) |
Modifier and Type | Method and Description |
---|---|
AssociationIF |
getAssociation() |
protected GeneralPath |
getCurvedBowTie(int index) |
RecoveryObjectIF |
getDesctructor() |
protected String |
getMainHoverHelpText() |
RecoveryObjectIF |
getRecreator() |
AssociationRoleIF |
getRole() |
List |
getTargetsFrom(com.touchgraph.graphlayout.Node find) |
TopicIF |
getTopicMapType() |
protected void |
paintBowTie(Graphics2D g) |
protected void |
paintToolTip(Graphics g) |
boolean |
represents(Object object) |
void |
setIcon(Icon icon) |
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, setVisible
containsPoint, getColor, getFrom, getID, getLength, getOtherEndpt, getTo, intersects, isVisible, paintArrow, reverse, setColor, setEdgeDefaultColor, setEdgeDefaultLength, setEdgeMouseOverColor, setID, setLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setColor
public TMRoleEdge(TMAssociationNode an, TMTopicNode tn, AssociationRoleIF r, TopicIF aScopingTopic)
public AssociationRoleIF getRole()
protected void paintToolTip(Graphics g)
paintToolTip
in class TMAbstractEdge
protected void paintBowTie(Graphics2D g)
paintBowTie
in class TMAbstractEdge
public TopicIF getTopicMapType()
getTopicMapType
in interface VizTMObjectIF
getTopicMapType
in class TMAbstractEdge
public AssociationIF getAssociation()
public void setIcon(Icon icon)
setIcon
in interface VizTMObjectIF
setIcon
in class TMAbstractEdge
public boolean represents(Object object)
public List getTargetsFrom(com.touchgraph.graphlayout.Node find)
getTargetsFrom
in class TMAbstractEdge
protected String getMainHoverHelpText()
getMainHoverHelpText
in class TMAbstractEdge
protected GeneralPath getCurvedBowTie(int index)
getCurvedBowTie
in class TMAbstractEdge
public RecoveryObjectIF getDesctructor()
public RecoveryObjectIF getRecreator()