public abstract class LinkAdapter extends LineAdapter implements MindMapLink
| Modifier and Type | Class and Description |
|---|---|
protected static class |
LinkAdapter.LinkAdapterListener |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESOURCES_STANDARDLINKSTYLE |
color, DEFAULT_WIDTH, frame, NORMAL_WIDTH, style, target, width| Constructor and Description |
|---|
LinkAdapter(MindMapNode source,
MindMapNode target,
FreeMindMain frame) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDestinationLabel() |
java.lang.String |
getReferenceText() |
MindMapNode |
getSource() |
protected java.awt.Color |
getStandardColor()
See @see setStandardColor
|
protected java.lang.String |
getStandardColorPropertyString() |
protected java.lang.String |
getStandardStyle() |
protected java.lang.String |
getStandardStylePropertyString() |
java.lang.String |
getUniqueID()
The id is automatically set on creation.
|
void |
setDestinationLabel(java.lang.String destinationLabel) |
void |
setReferenceText(java.lang.String referenceText) |
void |
setSource(MindMapNode source) |
protected void |
setStandardColor(java.awt.Color standardColor)
As this color is static but used in at least three different
objects (edges, clouds and links), the abstract mechanism was chosen.
|
protected void |
setStandardStyle(java.lang.String standardStyle) |
void |
setUniqueID(java.lang.String uniqueID) |
clone, getColor, getFrame, getRealWidth, getStyle, getTarget, getWidth, setColor, setStyle, setTarget, setWidth, toString, updateStandardsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTargetclone, getColor, getRealWidth, getStyle, getWidth, setTarget, toStringpublic static final java.lang.String RESOURCES_STANDARDLINKSTYLE
public LinkAdapter(MindMapNode source, MindMapNode target, FreeMindMain frame)
public java.lang.String getDestinationLabel()
getDestinationLabel in interface MindMapLinkpublic java.lang.String getReferenceText()
getReferenceText in interface MindMapLinkpublic MindMapNode getSource()
getSource in interface MindMapLinkpublic void setSource(MindMapNode source)
public void setDestinationLabel(java.lang.String destinationLabel)
public void setReferenceText(java.lang.String referenceText)
public java.lang.String getUniqueID()
MindMapLinkgetUniqueID in interface MindMapLinkpublic void setUniqueID(java.lang.String uniqueID)
uniqueID - The uniqueID to set.protected java.awt.Color getStandardColor()
LineAdaptergetStandardColor in class LineAdapterprotected void setStandardColor(java.awt.Color standardColor)
LineAdaptersetStandardColor in class LineAdapterprotected java.lang.String getStandardStyle()
getStandardStyle in class LineAdapterprotected void setStandardStyle(java.lang.String standardStyle)
setStandardStyle in class LineAdapterprotected java.lang.String getStandardColorPropertyString()
getStandardColorPropertyString in class LineAdapterprotected java.lang.String getStandardStylePropertyString()
getStandardStylePropertyString in class LineAdapter