- All Superinterfaces:
AbstractItem
,AbstractModelItem
,Groupable
,ReadOnlyInterface
- All Known Subinterfaces:
GraphicsPathItem
public interface GraphicsPathItem extends AbstractModelItem, Groupable
-
Method Summary
Modifier and Type Method Description boolean
commentExists(String identifier)
List<? extends Comment>
comments()
Comment
getComment(String identifier)
Object
getCustomProperty(String name)
Returns the value of the custom property or null if not available.boolean
hasInvalidPosition()
boolean
hidden()
GraphicsPath
modelComponent()
List<? extends AbstractCurvePoint>
points()
void
setCustomProperty(String name, Object value)
Adds a custom property to the network item.void
setTmpCustomProperty(String name, Object value)
Adds a temporary custom property to the network item.double
zValue()
Methods inherited from interface omix.plugin.diagram.AbstractItem
addChangeListener, addPropertyChangeListener, diagram, getIdentifier, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.diagram.AbstractModelItem
getAccessoryItem, getAccessoryItem, getAccessoryItem, getAccessoryItem, getAccessoryItems, getAccessoryItems, getAllAccessoryItems, getField, getField
-
Method Details
-
modelComponent
GraphicsPath modelComponent()- Specified by:
modelComponent
in interfaceAbstractModelItem
-
comments
-
commentExists
-
getComment
-
setCustomProperty
Adds a custom property to the network item. Each item can carry arbitrary values as custom property. The property content is stored to the document file as far as possible. If the value cannot be saved to file, the property is removed after relaunch. Custom properties can be accessed from all namespaces. Set null to remove property. Setting custom properties in OVL is undoable.- Parameters:
name
-value
-- Throws:
IllegalAccessException
- See Also:
setTmpCustomProperty(String, Object)
,getCustomProperty(String)
,#customPropertyNames()
-
setTmpCustomProperty
Adds a temporary custom property to the network item. Each item can carry arbitrary values as custom property. The property content is not stored to the document file. Instead, the property is removed after relaunch. Custom properties can be accessed from all namespaces. Set null to remove property. Setting custom properties in OVL is undoable.- Parameters:
name
-value
-- Throws:
IllegalAccessException
- See Also:
setCustomProperty(String, Object)
,getCustomProperty(String)
,#customPropertyNames()
-
getCustomProperty
Returns the value of the custom property or null if not available.- Parameters:
name
-- Returns:
- value
-
zValue
double zValue() -
hasInvalidPosition
boolean hasInvalidPosition() -
boolean hidden()
-
points
List<? extends AbstractCurvePoint> points()
-