freemind.modes

Class LinkAdapter

Implemented Interfaces:
Cloneable, MindMapLine, MindMapLink
Known Direct Subclasses:
ArrowLinkAdapter

public abstract class LinkAdapter
extends LineAdapter
implements MindMapLink

Field Summary

Fields inherited from class freemind.modes.LineAdapter

DEFAULT_WIDTH, NORMAL_WIDTH, color, frame, standardColorPropertyString, standardStylePropertyString, stroke, style, target, width

Constructor Summary

LinkAdapter(MindMapNode source, MindMapNode target, FreeMindMain frame)
LinkAdapter(MindMapNode source, MindMapNode target, FreeMindMain frame, String standardColorPropertyString, String standardStylePropertyString)
For derived classes.

Method Summary

String
getDestinationLabel()
String
getReferenceText()
MindMapNode
getSource()
void
setDestinationLabel(String destinationLabel)
void
setReferenceText(String referenceText)
void
setSource(MindMapNode source)

Methods inherited from class freemind.modes.LineAdapter

clone, getColor, getFrame, getStroke, getStyle, getTarget, getWidth, setColor, setStyle, setTarget, setWidth, toString

Constructor Details

LinkAdapter

public LinkAdapter(MindMapNode source,
                   MindMapNode target,
                   FreeMindMain frame)

LinkAdapter

protected LinkAdapter(MindMapNode source,
                      MindMapNode target,
                      FreeMindMain frame,
                      String standardColorPropertyString,
                      String standardStylePropertyString)
For derived classes.

Method Details

getDestinationLabel

public String getDestinationLabel()
Specified by:
getDestinationLabel in interface MindMapLink

getReferenceText

public String getReferenceText()
Specified by:
getReferenceText in interface MindMapLink

getSource

public MindMapNode getSource()
Specified by:
getSource in interface MindMapLink

setDestinationLabel

public void setDestinationLabel(String destinationLabel)

setReferenceText

public void setReferenceText(String referenceText)

setSource

public void setSource(MindMapNode source)