- All Superinterfaces:
AbstractItem
,AbstractItem
,AbstractModelItem
,AbstractModelItem
,GraphicsPathItem
,Groupable
,Groupable
,ReadOnlyInterface
,WritableInterface
public interface GraphicsPathItem extends AbstractModelItem, GraphicsPathItem, Groupable
-
Method Summary
Modifier and Type Method Description List<? extends Comment>
comments()
Comment
getComment(String identifier)
Group
group()
GraphicsPath
modelComponent()
List<? extends AbstractCurvePoint>
points()
void
setHidden(boolean hidden)
void
setPoints(List<? extends AbstractCurvePoint> points)
default void
setPoints(AbstractCurvePoint... points)
void
setZValue(double z)
Change z layer of the item (defines the stacked position of the item in the diagram).GraphicsPathItem
toReadOnly()
Methods inherited from interface omix.plugin.diagram.AbstractItem
addChangeListener, addPropertyChangeListener, getIdentifier, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.diagram.AbstractModelItem
getAccessoryItem, getAccessoryItem
Methods inherited from interface omix.plugin.diagram.writable.AbstractModelItem
getAccessoryItem, getAccessoryItem, getAccessoryItems, getAccessoryItems, getAllAccessoryItems, getField, getField
Methods inherited from interface omix.plugin.diagram.GraphicsPathItem
commentExists, getCustomProperty, hasInvalidPosition, hidden, setCustomProperty, setTmpCustomProperty, zValue
-
Method Details
-
modelComponent
GraphicsPath modelComponent()- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfaceGraphicsPathItem
-
setZValue
Change z layer of the item (defines the stacked position of the item in the diagram).- Parameters:
z
-- Throws:
IllegalChangeException
-
setHidden
- Throws:
IllegalChangeException
-
points
List<? extends AbstractCurvePoint> points()- Specified by:
points
in interfaceGraphicsPathItem
-
setPoints
void setPoints(List<? extends AbstractCurvePoint> points) throws IllegalComponentException, IllegalChangeException -
setPoints
default void setPoints(AbstractCurvePoint... points) throws IllegalComponentException, IllegalChangeException -
group
Group group() -
comments
- Specified by:
comments
in interfaceGraphicsPathItem
-
getComment
- Specified by:
getComment
in interfaceGraphicsPathItem
-
toReadOnly
GraphicsPathItem toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractItem
- Specified by:
toReadOnly
in interfaceAbstractModelItem
- Specified by:
toReadOnly
in interfaceGroupable
- Specified by:
toReadOnly
in interfaceWritableInterface
-