- All Superinterfaces:
AbstractModelComponent
,AbstractVisibleComponent
,ReadOnlyInterface
- All Known Subinterfaces:
GraphicsPath
public interface GraphicsPath extends AbstractVisibleComponent
-
Method Summary
Modifier and Type Method Description double
blur()
The item's blur.Paint
fillPaint()
The fill appearance of the item's shape.Object
getCustomProperty(String name)
Returns the value of the custom property or null if not available.List<? extends GraphicsPathItem>
getDiagramItems()
List<? extends GraphicsPathItem>
getDiagramItems(Diagram diagram)
String
getIdentifier()
boolean
hidden()
Visibility of the item.Brush
lineBrush()
The color for the stroke of the item's shape.StrokeStyle
lineStyle()
The paint style for the stroke of the item's shape.double
lineWidth()
The stroke width of the item's shape.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.Shadow
shadow()
The item's default text font.double
transparency()
The item's transparency.Methods inherited from interface omix.plugin.model.AbstractModelComponent
addChangeListener, addPropertyChangeListener, fieldExists, getField, getField, model, removeChangeListener, removePropertyChangeListener
Methods inherited from interface omix.plugin.model.AbstractVisibleComponent
accessoryExists, getAccessories, getAccessories, getAccessory, getAccessory, getAccessory, getAccessory, getAllAccessories, hasDiagramItems, hasDiagramItems
-
Method Details
-
getDiagramItems
List<? extends GraphicsPathItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractVisibleComponent
-
getIdentifier
String getIdentifier()- Specified by:
getIdentifier
in interfaceAbstractModelComponent
-
lineBrush
Brush lineBrush()The color for the stroke of the item's shape. -
fillPaint
Paint fillPaint()The fill appearance of the item's shape. -
blur
double blur()The item's blur. -
transparency
double transparency()The item's transparency. -
lineStyle
StrokeStyle lineStyle()The paint style for the stroke of the item's shape. -
lineWidth
double lineWidth()The stroke width of the item's shape. -
shadow
Shadow shadow()The item's default text font. -
boolean hidden()Visibility of the item.
- Returns:
- hidden
-
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
-