- All Superinterfaces:
AbstractModelComponent
,AbstractModelComponent
,AbstractVisibleComponent
,AbstractVisibleComponent
,GraphicsPath
,ReadOnlyInterface
,WritableInterface
public interface GraphicsPath extends AbstractVisibleComponent, GraphicsPath
-
Method Summary
Modifier and Type Method Description List<? extends GraphicsPathItem>
getDiagramItems()
List<? extends GraphicsPathItem>
getDiagramItems(Diagram diagram)
void
setFillPaint(Paint paint)
Sets the fill appearance of the item's shape.void
setHidden(boolean hidden)
Changes the visibility of the item in the diagram.void
setIdentifier(String identifier)
Changes identifier of the item.void
setLineBrush(Brush lineBrush)
Sets the color for the stroke of the item's shape.void
setLineStyle(StrokeStyle lineStyle)
Changes the paint style for the stroke of the item's shape.void
setLineWidth(double lineWidth)
Changes the line width of the item's shape.void
setShadow(Shadow shadow)
Changes the item's shadow.void
setTransparency(double transparency)
Changes the transparency of the item's shape.GraphicsPath
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.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.GraphicsPath
blur, fillPaint, getCustomProperty, getIdentifier, hidden, lineBrush, lineStyle, lineWidth, setCustomProperty, setTmpCustomProperty, shadow, transparency
-
Method Details
-
setHidden
Changes the visibility of the item in the diagram.- Parameters:
hidden
-- Throws:
IllegalChangeException
-
setFillPaint
Sets the fill appearance of the item's shape.- Parameters:
paint
- the new paint- Throws:
IllegalChangeException
- See Also:
Node#paintField
-
setLineWidth
Changes the line width of the item's shape.- Parameters:
lineWidth
-- Throws:
IllegalChangeException
- See Also:
GraphicsPath.lineWidth()
-
setLineStyle
Changes the paint style for the stroke of the item's shape.- Parameters:
lineStyle
-- Throws:
IllegalChangeException
- See Also:
omix.lang.model.GraphicsBrush#lineStyle()
-
setLineBrush
Sets the color for the stroke of the item's shape.- Parameters:
lineBrush
-- Throws:
IllegalChangeException
- See Also:
omix.lang.model.GraphicsBrush#lineBrush()
-
setTransparency
Changes the transparency of the item's shape.- Parameters:
transparency
-- Throws:
IllegalChangeException
- See Also:
GraphicsItem.transparency()
-
setShadow
Changes the item's shadow.- Parameters:
shadow
-- Throws:
IllegalChangeException
- See Also:
GraphicsItem.shadow()
-
setIdentifier
Changes identifier of the item.- Parameters:
identifier
- the new name of the item. CAUTION, the name must be unique in the network.- Throws:
ComponentExistsException
IllegalChangeException
-
getDiagramItems
List<? extends GraphicsPathItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceGraphicsPath
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
- Specified by:
getDiagramItems
in interfaceGraphicsPath
-
toReadOnly
GraphicsPath toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractModelComponent
- Specified by:
toReadOnly
in interfaceAbstractVisibleComponent
- Specified by:
toReadOnly
in interfaceWritableInterface
-