public class TMAssociationNode extends TMAbstractNode implements VizTMObjectIF, VizTMAssociationIF, com.touchgraph.graphlayout.TGPaintListener
icon, topicMapView, underMouseBACK_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, textColourForBackgroundaddEdge, 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, visibleEdgeCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFont, setIcon, setVisiblepublic 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 VizTMObjectIFpublic void deleteFrom(com.touchgraph.graphlayout.TGPanel tgpanel)
deleteFrom in interface VizTMObjectIFpublic AssociationIF getAssociation()
public int getLineWeight()
public String getMainText()
public List getTargetsFrom(com.touchgraph.graphlayout.Node find)
public TopicIF getTopicMapType()
getTopicMapType in interface VizTMObjectIFpublic int getWidth()
getWidth in class com.touchgraph.graphlayout.Nodepublic boolean isAssociation()
isAssociation in interface VizTMObjectIFpublic boolean isEdge()
isEdge in interface VizTMObjectIFpublic void paint(Graphics g, com.touchgraph.graphlayout.TGPanel tgPanel)
paint in class com.touchgraph.graphlayout.Nodepublic void miniPaint(Graphics g, com.touchgraph.graphlayout.TGPanel tgPanel)
public void paintAfterEdges(Graphics g)
paintAfterEdges in interface com.touchgraph.graphlayout.TGPaintListenerpublic void paintFirst(Graphics g)
paintFirst in interface com.touchgraph.graphlayout.TGPaintListenerpublic void paintLast(Graphics g)
paintLast in interface com.touchgraph.graphlayout.TGPaintListenerpublic boolean represents(Object object)
represents in interface VizTMObjectIFpublic void setColor(Color color)
setColor in interface VizTMObjectIFpublic void setLineWeight(int lineWeight)
setLineWeight in interface VizTMObjectIFpublic void setScopingTopic(TopicIF aTopic)
setScopingTopic in interface VizTMObjectIFpublic void setShape(int shape)
setShape in interface VizTMObjectIFpublic void setShouldDisplayScopedAssociationNames(boolean newValue)
setShouldDisplayScopedAssociationNames in interface VizTMAssociationIFpublic RecoveryObjectIF getDesctructor()
getDesctructor in interface Recoverablepublic RecoveryObjectIF getRecreator()
getRecreator in interface Recoverable