- All Superinterfaces:
Accessory
,Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,Member
,ReadOnlyInterface
,WritableInterface
- All Known Subinterfaces:
AbstractSideBox
,AnnotationArray<T>
,ChartSideBox
,DoubleField
,ImageField
,IntegerField
,ItemGroup
,ObjectField<T>
,SideBox
,SimpleValueField
,TextField
public interface DataAnnotation extends Accessory, DataAnnotation
-
Method Summary
Modifier and Type Method Description List<? extends DataAnnotationItem>
getDiagramItems()
List<? extends DataAnnotationItem>
getDiagramItems(Diagram diagram)
void
setVisible(boolean visible)
The visible state of the accessory.DataAnnotation
toReadOnly()
Methods inherited from interface omix.plugin.model.writable.accessory.Accessory
getField, owner, setLabel, setTooltip
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
setVisible
The visible state of the accessory. An invisible data annotation is not part of the network diagram and only accessible in the property list of the owning component. By settingfalse
this accessory disappears in the diagram.- Specified by:
setVisible
in interfaceAccessory
- Throws:
IllegalChangeException
-
getDiagramItems
List<? extends DataAnnotationItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
-
getDiagramItems
List<? extends DataAnnotationItem> getDiagramItems(Diagram diagram) throws IllegalComponentException- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Throws:
IllegalComponentException
-
toReadOnly
DataAnnotation toReadOnly()- Specified by:
toReadOnly
in interfaceAccessory
- Specified by:
toReadOnly
in interfaceWritableInterface
-