- All Superinterfaces:
AbstractModelComponent
,AbstractModelComponent
,AbstractNode
,AbstractNode
,AbstractVisibleComponent
,AbstractVisibleComponent
,Link
,ReadOnlyInterface
,WritableInterface
public interface Link extends Link, AbstractNode
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Link.Appearance
static interface
Link.DiagramLinkAppearance
static interface
Link.FileLinkAppearance
static interface
Link.GeneralLinkAppearance
static interface
Link.PathwayLinkAppearance
-
Method Summary
Modifier and Type Method Description Link.Appearance
appearance()
List<? extends LinkItem>
getDiagramItems()
List<? extends LinkItem>
getDiagramItems(Diagram diagram)
void
setIdentifier(String identifier)
void
setText(String text)
Changes the item's text label.Link
toReadOnly()
Methods inherited from interface omix.plugin.model.AbstractModelComponent
addChangeListener, addPropertyChangeListener, fieldExists, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.model.writable.AbstractModelComponent
getField, getField, isChangeable, model
Methods inherited from interface omix.plugin.model.AbstractNode
blur, collapsed, fillLevel, getCustomProperty, getIdentifier, hidden, scale, setCustomProperty, setTmpCustomProperty, shadow, strokeWidth, textStrokeWidth, transparency
Methods inherited from interface omix.plugin.model.writable.AbstractNode
edges, graphicsEdges, linkEdges, setBlur, setCollapsed, setFillLevel, setFillLevelIndication, setFont, setHidden, setPaint, setScale, setShadow, setShape, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextBrush, setTextStrokeColor, setTextStrokeWidth, setTransparency
Methods inherited from interface omix.plugin.model.AbstractVisibleComponent
accessoryExists, getAccessory, getAccessory, hasDiagramItems, hasDiagramItems
Methods inherited from interface omix.plugin.model.writable.AbstractVisibleComponent
getAccessories, getAccessories, getAccessory, getAccessory, getAllAccessories, getCustomProperty, getMethod, getMethod, getMethod, setCustomProperty, setTmpCustomProperty
Methods inherited from interface omix.plugin.model.Link
fillLevelIndication, font, paint, shape, strokeColor, strokeStyle, text, textBrush, textStrokeColor
-
Method Details
-
setText
Changes the item's text label.- Parameters:
text
-- Throws:
IllegalChangeException
- See Also:
GraphicsNode.text()
-
setIdentifier
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceLink
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractNode
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceLink
-
toReadOnly
Link toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractModelComponent
- Specified by:
toReadOnly
in interfaceAbstractNode
- Specified by:
toReadOnly
in interfaceAbstractVisibleComponent
- Specified by:
toReadOnly
in interfaceWritableInterface
-
appearance
Link.Appearance appearance()- Specified by:
appearance
in interfaceLink
-