- All Superinterfaces:
Accessory
,Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,DataAnnotation
,ItemGroup
,ItemGroup
,Member
,ReadOnlyInterface
,WritableInterface
public interface ItemGroup extends ItemGroup, DataAnnotation
-
Method Summary
Modifier and Type Method Description List<? extends ItemGroupItem>
getDiagramItems()
List<? extends ItemGroupItem>
getDiagramItems(Diagram diagram)
Set<? extends AbstractModelComponent>
getModelComponents()
Returns a copy of the internal item list.void
setBlur(double blur)
The accessory blur.void
setBrush(Brush brush)
The highlighting brush.void
setFont(Font font)
The annotation's text label font.void
setText(String text)
The text to be displayed by this item group.void
setTextBlur(double textBlur)
The annotation's text blur.void
setTextShadow(Shadow textShadow)
The annotation's text shadow.void
setTextStrokeColor(Color textStrokeColor)
The color for the stroke of the item's text label.void
setTextStrokeWidth(double textStrokeWidth)
The stroke width of the item's text label given as real number.void
setTransparency(double transparency)
The accessory transparency.void
setWidth(double width)
The width of the contour highlighting the items.ItemGroup
toReadOnly()
Methods inherited from interface omix.plugin.model.writable.accessory.Accessory
getField, owner, setLabel, setTooltip
Methods inherited from interface omix.plugin.model.writable.accessory.annotation.DataAnnotation
setVisible
Methods inherited from interface omix.lang.model.accessory.annotation.ItemGroup
addItem, blur, brush, font, getItems, removeItem, setItems, text, textBlur, textShadow, textStrokeColor, textStrokeWidth, transparency, width
Methods inherited from interface omix.plugin.model.accessory.annotation.ItemGroup
addModelComponent, removeModelComponent, setModelComponents
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
setText
The text to be displayed by this item group.- Throws:
IllegalChangeException
-
setBrush
The highlighting brush.- Throws:
IllegalChangeException
-
setTextStrokeColor
The color for the stroke of the item's text label.- Throws:
IllegalChangeException
-
setTextStrokeWidth
The stroke width of the item's text label given as real number.- Throws:
IllegalChangeException
-
setFont
The annotation's text label font.- Throws:
IllegalChangeException
-
setWidth
The width of the contour highlighting the items.- Throws:
IllegalChangeException
-
setBlur
The accessory blur.- Throws:
IllegalChangeException
-
setTransparency
The accessory transparency.- Throws:
IllegalChangeException
-
setTextBlur
The annotation's text blur.- Throws:
IllegalChangeException
-
setTextShadow
The annotation's text shadow.- Throws:
IllegalChangeException
-
getModelComponents
Set<? extends AbstractModelComponent> getModelComponents()Description copied from interface:ItemGroup
Returns a copy of the internal item list.- Specified by:
getModelComponents
in interfaceItemGroup
- Returns:
- all items
-
getDiagramItems
List<? extends ItemGroupItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceItemGroup
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceItemGroup
- Throws:
IllegalComponentException
-
toReadOnly
ItemGroup toReadOnly()- Specified by:
toReadOnly
in interfaceAccessory
- Specified by:
toReadOnly
in interfaceDataAnnotation
- Specified by:
toReadOnly
in interfaceWritableInterface
-