- All Superinterfaces:
AbstractItem
,AbstractItem
,AbstractModelItem
,AbstractModelItem
,GraphicsBoxItem
,Groupable
,Groupable
,ReadOnlyInterface
,WritableInterface
public interface GraphicsBoxItem extends AbstractModelItem, GraphicsBoxItem, Groupable
-
Method Summary
Modifier and Type Method Description List<? extends Comment>
comments()
Comment
getComment(String identifier)
Group
group()
GraphicsBox
modelComponent()
void
setHidden(boolean hidden)
void
setPosition(double x, double y)
Set the position of the item.void
setRotation(double rotation)
Change the rotation of the item.void
setSize(double width, double height)
Changes the item's size.void
setZValue(double z)
Change z layer of the item (defines the stacked position of the item in the diagram).GraphicsBoxItem
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.GraphicsBoxItem
commentExists, getCustomProperty, hasInvalidPosition, height, hidden, rotation, setCustomProperty, setTmpCustomProperty, width, x, y, zValue
-
Method Details
-
modelComponent
GraphicsBox modelComponent()- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfaceAbstractModelItem
- Specified by:
modelComponent
in interfaceGraphicsBoxItem
-
setPosition
Set the position of the item.- Parameters:
compartment
- the itemx
-y
-- Throws:
IllegalChangeException
-
setSize
Changes the item's size.- Parameters:
node
- the itemwidth
-height
-- Throws:
IllegalChangeException
-
setRotation
Change the rotation of the item.- Parameters:
rotation
-- Throws:
IllegalChangeException
-
setZValue
Change z layer of the item (defines the stacked position of the item in the diagram).- Parameters:
z
-- Throws:
IllegalChangeException
-
setHidden
- Throws:
IllegalChangeException
-
group
Group group() -
comments
- Specified by:
comments
in interfaceGraphicsBoxItem
-
getComment
- Specified by:
getComment
in interfaceGraphicsBoxItem
-
toReadOnly
GraphicsBoxItem toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractItem
- Specified by:
toReadOnly
in interfaceAbstractModelItem
- Specified by:
toReadOnly
in interfaceGroupable
- Specified by:
toReadOnly
in interfaceWritableInterface
-