@Deprecated @ReplacedBy("GraphicsBox") public interface GraphicsItem extends Component
Deprecated.
Represents a graphical item in the diagram.
This Java interface represents a GraphicsItem in OVL.
It contain all methods available in OVL.
The static fields in this interface declaration
are public non-static instance fields in OVL.
They can be read and written from OVL code.
- Since:
- Omix 1.8.0
- Author:
- Dr. Peter Droste
-
Method Summary
Modifier and Type Method Description double
blur()
Deprecated.The item's blur.default List<? extends Comment>
comments()
Deprecated.Font
font()
Deprecated.The item's default text font.default Comment
getComment(String identifier)
Deprecated.boolean
hidden()
Deprecated.Visibility of the item.Model
model()
Deprecated.Returns the model this item belongs to.default Model
network()
Deprecated.Paint
paint()
Deprecated.The fill appearance of the item's shape.double
scale()
Deprecated.The item's scale factor.Shadow
shadow()
Deprecated.The item's default text font.Shape
shape()
Deprecated.The item's shape.Color
strokeColor()
Deprecated.The color for the stroke of the item's shape.StrokeStyle
strokeStyle()
Deprecated.The paint style for the stroke of the item's shape.double
strokeWidth()
Deprecated.The stroke width of the item's shape.String
text()
Deprecated.returns the item's Text.double
transparency()
Deprecated.The item's transparency.Methods inherited from interface omix.lang.model.Component
customPropertyNames, getCustomProperty, getIdentifier, id, onload, setCustomProperty, setTmpCustomProperty
-
Method Details
-
strokeColor
Deprecated.The color for the stroke of the item's shape. -
paint
Deprecated.The fill appearance of the item's shape. -
blur
Deprecated.The item's blur. -
transparency
Deprecated.The item's transparency. -
strokeStyle
Deprecated.The paint style for the stroke of the item's shape. -
strokeWidth
Deprecated.The stroke width of the item's shape. -
scale
Deprecated.The item's scale factor. -
font
Deprecated.The item's default text font. -
shadow
Deprecated.The item's default text font. -
Deprecated.Visibility of the item.
- Returns:
- hidden
-
text
Deprecated.returns the item's Text.- Returns:
- text
-
shape
Deprecated.The item's shape.- Returns:
- shape
-
getComment
Deprecated.Returns the item's comment with the given identifier if available, otherwise null.- Parameters:
identifier
- of the comment item- Returns:
- found comment item
-
comments
Deprecated.Returns an unchangeableList
of all item's comments.- Returns:
- list of comments
-
network
Deprecated.Returns the network this item belongs to.- Returns:
- network
-
model
Model model()Deprecated.Returns the model this item belongs to.- Returns:
- model
-