- All Superinterfaces:
Accessory
,Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,DataAnnotation
,Member
,ReadOnlyInterface
,SimpleValueField
,SimpleValueField
,WritableInterface
- All Known Subinterfaces:
DoubleField
,IntegerField
,ObjectField<T>
,TextField
public interface SimpleValueField extends SimpleValueField, DataAnnotation
-
Method Summary
Modifier and Type Method Description List<? extends SimpleValueFieldItem>
getDiagramItems()
List<? extends SimpleValueFieldItem>
getDiagramItems(Diagram diagram)
void
setBackground(Color background)
The background color.void
setBlur(double blur)
The accessory blur.void
setColor(Color color)
The text color.void
setFont(Font font)
The annotation's text label font.void
setShadow(Shadow shadow)
The accessory shadow.void
setTransparency(double transparency)
The accessory transparency.SimpleValueField
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
-
Method Details
-
setFont
The annotation's text label font.- Throws:
IllegalChangeException
-
setColor
The text color.- Throws:
IllegalChangeException
-
setBackground
The background color.- Throws:
IllegalChangeException
-
setShadow
The accessory shadow.- Throws:
IllegalChangeException
-
setBlur
The accessory blur.- Throws:
IllegalChangeException
-
setTransparency
The accessory transparency.- Throws:
IllegalChangeException
-
getDiagramItems
List<? extends SimpleValueFieldItem> 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 interfaceSimpleValueField
-
getDiagramItems
List<? extends SimpleValueFieldItem> 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 interfaceSimpleValueField
- Throws:
IllegalComponentException
-
toReadOnly
SimpleValueField toReadOnly()- Specified by:
toReadOnly
in interfaceAccessory
- Specified by:
toReadOnly
in interfaceDataAnnotation
- Specified by:
toReadOnly
in interfaceWritableInterface
-