public class TMAssociationNode extends TMAbstractNode implements VizTMObjectIF, VizTMAssociationIF, com.touchgraph.graphlayout.TGPaintListener
icon, topicMapView, underMouse
BACK_DEFAULT_COLOR, BACK_FIXED_COLOR, BACK_HILIGHT_COLOR, BACK_SELECT_COLOR, backColor, BORDER_DRAG_COLOR, BORDER_INACTIVE_COLOR, BORDER_MOUSE_OVER_COLOR, DEFAULT_TYPE, drawx, drawy, dx, dy, fixed, font, fontMetrics, justMadeLocal, lbl, markedForRemoval, repulsion, SMALL_TAG_FONT, TEXT_COLOR, TEXT_FONT, textColor, typ, TYPE_CIRCLE, TYPE_ELLIPSE, TYPE_RECTANGLE, TYPE_ROUNDRECT, visible, visibleEdgeCnt, x, y
Constructor and Description |
---|
TMAssociationNode(AssociationIF assoc,
TopicIF aScopingTopic,
TopicMapView topicMapView) |
Modifier and Type | Method and Description |
---|---|
void |
addTo(com.touchgraph.graphlayout.TGPanel tgpanel) |
void |
deleteFrom(com.touchgraph.graphlayout.TGPanel tgpanel) |
protected void |
drawMissingEdgesIndicator(Graphics g,
com.touchgraph.graphlayout.TGPanel tgPanel) |
AssociationIF |
getAssociation() |
protected static String |
getAssociationText(AssociationIF association,
boolean displScopedAssocNames,
TopicIF scopingTopic) |
RecoveryObjectIF |
getDesctructor() |
int |
getEdgeCount() |
int |
getLineWeight() |
String |
getMainText() |
RecoveryObjectIF |
getRecreator() |
List |
getTargetsFrom(com.touchgraph.graphlayout.Node find) |
TopicIF |
getTopicMapType() |
int |
getWidth() |
boolean |
isAssociation() |
boolean |
isEdge() |
void |
miniPaint(Graphics g,
com.touchgraph.graphlayout.TGPanel tgPanel) |
void |
paint(Graphics g,
com.touchgraph.graphlayout.TGPanel tgPanel) |
void |
paintAfterEdges(Graphics g) |
void |
paintFirst(Graphics g) |
void |
paintLast(Graphics g)
This is our hover help support.
|
boolean |
represents(Object object) |
void |
setColor(Color color) |
void |
setEdgeCount(int visibleEdgeCount) |
void |
setLineWeight(int lineWeight) |
void |
setRoleCount(int count) |
void |
setScopingTopic(TopicIF aTopic) |
void |
setShape(int shape) |
void |
setShouldDisplayScopedAssociationNames(boolean newValue) |
drawNeighboursInForeground, getEdges, getIcon, getPaintBackColor, getPaintBorderColor, getPaintTextColor, getVisibleEdges, getVisibleEdgesList, hasPathTo, removeMouseoverIcon, setBackColor, setIcon, setUnderMouse, setUnderMouseForced, setVisible, textColourForBackground
addEdge, containsPoint, containsPoint, edgeAt, edgeCount, edgeNum, getBackColor, getFixed, getFont, getHeight, getID, getLabel, getLocation, getTextColor, getType, intersects, isVisible, paintNodeBody, paintSmallTag, removeEdge, setFixed, setFont, setID, setLabel, setLocation, setNodeBackDefaultColor, setNodeBackFixedColor, setNodeBackHilightColor, setNodeBackSelectColor, setNodeBorderDragColor, setNodeBorderInactiveColor, setNodeBorderMouseOverColor, setNodeTextColor, setNodeTextFont, setNodeType, setTextColor, setType, visibleEdgeCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFont, setIcon, setVisible
public TMAssociationNode(AssociationIF assoc, TopicIF aScopingTopic, TopicMapView topicMapView)
protected static String getAssociationText(AssociationIF association, boolean displScopedAssocNames, TopicIF scopingTopic)
public void setEdgeCount(int visibleEdgeCount)
public int getEdgeCount()
public void setRoleCount(int count)
protected void drawMissingEdgesIndicator(Graphics g, com.touchgraph.graphlayout.TGPanel tgPanel)
public void addTo(com.touchgraph.graphlayout.TGPanel tgpanel)
addTo
in interface VizTMObjectIF
public void deleteFrom(com.touchgraph.graphlayout.TGPanel tgpanel)
deleteFrom
in interface VizTMObjectIF
public AssociationIF getAssociation()
public int getLineWeight()
public String getMainText()
public List getTargetsFrom(com.touchgraph.graphlayout.Node find)
public TopicIF getTopicMapType()
getTopicMapType
in interface VizTMObjectIF
public int getWidth()
getWidth
in class com.touchgraph.graphlayout.Node
public boolean isAssociation()
isAssociation
in interface VizTMObjectIF
public boolean isEdge()
isEdge
in interface VizTMObjectIF
public void paint(Graphics g, com.touchgraph.graphlayout.TGPanel tgPanel)
paint
in class com.touchgraph.graphlayout.Node
public void miniPaint(Graphics g, com.touchgraph.graphlayout.TGPanel tgPanel)
public void paintAfterEdges(Graphics g)
paintAfterEdges
in interface com.touchgraph.graphlayout.TGPaintListener
public void paintFirst(Graphics g)
paintFirst
in interface com.touchgraph.graphlayout.TGPaintListener
public void paintLast(Graphics g)
paintLast
in interface com.touchgraph.graphlayout.TGPaintListener
public boolean represents(Object object)
represents
in interface VizTMObjectIF
public void setColor(Color color)
setColor
in interface VizTMObjectIF
public void setLineWeight(int lineWeight)
setLineWeight
in interface VizTMObjectIF
public void setScopingTopic(TopicIF aTopic)
setScopingTopic
in interface VizTMObjectIF
public void setShape(int shape)
setShape
in interface VizTMObjectIF
public void setShouldDisplayScopedAssociationNames(boolean newValue)
setShouldDisplayScopedAssociationNames
in interface VizTMAssociationIF
public RecoveryObjectIF getDesctructor()
getDesctructor
in interface Recoverable
public RecoveryObjectIF getRecreator()
getRecreator
in interface Recoverable