- All Superinterfaces:
AbstractItem
,AbstractModelItem
,Groupable
,ReadOnlyInterface
- All Known Subinterfaces:
GraphicsBoxItem
public interface GraphicsBoxItem 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()
double
height()
boolean
hidden()
GraphicsBox
modelComponent()
double
rotation()
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
width()
double
x()
double
y()
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
GraphicsBox 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
-
x
double x() -
y
double y() -
width
double width() -
height
double height() -
rotation
double rotation() -
zValue
double zValue() -
hasInvalidPosition
boolean hasInvalidPosition() -
boolean hidden()
-