- All Superinterfaces:
Accessory
,Accessory
,Member
,ReadOnlyInterface
,WritableInterface
- All Known Subinterfaces:
AbstractSideBox
,AnnotationArray<T>
,Array<T>
,ChartSideBox
,CheckButton
,DataAnnotation
,DoubleField
,DoublePlayer
,DoubleSlider
,DoubleSpinBox
,DoubleTrigger
,ImageField
,IntegerField
,IntegerTrigger
,ItemGroup
,ObjectField<T>
,Player
,PushButton
,SideBox
,SimpleValueField
,Slider
,SpinBox
,TextField
,Trigger
,TriggerArray<T>
public interface Accessory extends Accessory, WritableInterface
-
Method Summary
Modifier and Type Method Description List<? extends AccessoryItem>
getDiagramItems()
List<? extends AccessoryItem>
getDiagramItems(Diagram diagram)
Field
getField(String fieldName)
Returns the field of the submitted network object defined in the document embedded OVL script.AccessoryOwner
owner()
void
setLabel(String label)
void
setTooltip(String toolTip)
void
setVisible(boolean visible)
Accessory
toReadOnly()
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
getDiagramItems
List<? extends AccessoryItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAccessory
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAccessory
- Throws:
IllegalComponentException
-
owner
AccessoryOwner owner() -
getField
Returns the field of the submitted network object defined in the document embedded OVL script.- Specified by:
getField
in interfaceAccessory
- Parameters:
fieldName
-- Returns:
- reference object representing the field
- Throws:
IllegalAccessException
- if field is protectedNoSuchFieldException
- if field does not exist
-
toReadOnly
Accessory toReadOnly()- Specified by:
toReadOnly
in interfaceWritableInterface
-
setVisible
- Throws:
IllegalChangeException
-
setLabel
- Throws:
IllegalChangeException
-
setTooltip
- Throws:
IllegalChangeException
-