- All Superinterfaces:
Accessory
,Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,DataAnnotation
,Member
,ObjectField<T>
,ObjectField<T>
,ReadOnlyInterface
,SimpleValueField
,SimpleValueField
,SimpleValueField
,WritableInterface
public interface ObjectField<T> extends ObjectField<T>, SimpleValueField
-
Method Summary
Modifier and Type Method Description List<? extends ObjectFieldItem<T>>
getDiagramItems()
List<? extends ObjectFieldItem<T>>
getDiagramItems(Diagram diagram)
void
setValue(T value)
The value displayed in the network diagram.ObjectField<T>
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.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
Methods inherited from interface omix.lang.model.accessory.annotation.SimpleValueField
background, blur, color, font, shadow, transparency
Methods inherited from interface omix.plugin.model.writable.accessory.annotation.SimpleValueField
setBackground, setBlur, setColor, setFont, setShadow, setTransparency
-
Method Details
-
setValue
The value displayed in the network diagram. By default this value isnull
. Hence, the accessory is not visible in the diagram.- Throws:
IllegalChangeException
-
getDiagramItems
List<? extends ObjectFieldItem<T>> 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 interfaceObjectField<T>
- Specified by:
getDiagramItems
in interfaceSimpleValueField
- Specified by:
getDiagramItems
in interfaceSimpleValueField
-
getDiagramItems
List<? extends ObjectFieldItem<T>> getDiagramItems(Diagram diagram) throws IllegalComponentException- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceObjectField<T>
- Specified by:
getDiagramItems
in interfaceSimpleValueField
- Specified by:
getDiagramItems
in interfaceSimpleValueField
- Throws:
IllegalComponentException
-
toReadOnly
ObjectField<T> toReadOnly()- Specified by:
toReadOnly
in interfaceAccessory
- Specified by:
toReadOnly
in interfaceDataAnnotation
- Specified by:
toReadOnly
in interfaceSimpleValueField
- Specified by:
toReadOnly
in interfaceWritableInterface
-