Interface IPVWidgetEditpart
- All Known Implementing Classes:
AbstractBoolControlEditPart
,AbstractBoolEditPart
,AbstractChoiceEditPart
,AbstractMarkedWidgetEditPart
,AbstractPolyEditPart
,AbstractPVWidgetEditPart
,AbstractScaledWidgetEditPart
,AbstractShapeEditPart
,ActionButtonEditPart
,ArcEditpart
,ArrayEditPart
,BoolButtonEditPart
,BoolSwitchEditPart
,ByteMonitorEditPart
,CheckBoxEditPart
,ChoiceButtonEditpart
,ComboEditPart
,EllipseEditpart
,GaugeEditPart
,ImageBoolButtonEditPart
,ImageBoolIndicatorEditPart
,IntensityGraphEditPart
,KnobEditPart
,LEDEditPart
,MenuButtonEditPart
,MeterEditPart
,NativeButtonEditPart
,NativeTextEditpart
,PolygonEditPart
,PolylineEditPart
,ProgressBarEditPart
,PVWidgetEditpartDelegate
,RadioBoxEditpart
,RectangleEditpart
,RoundedRectangleEditpart
,ScaledSliderEditPart
,ScrollbarEditPart
,SpinnerEditpart
,TankEditPart
,TextInputEditpart
,TextUpdateEditPart
,ThermometerEditPart
,ThumbWheelEditPart
,XYGraphEditPart
public interface IPVWidgetEditpart
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
String[]
getPV()
Get the pv by PV property id.getPVValue
(String pvPropId) Get value from one of the attached PVs.boolean
void
setControlEnabled
(boolean enabled) void
setPVValue
(String pvPropId, Object value) Set PV to given value.
-
Method Details
-
getAllPVNames
String[] getAllPVNames()- Returns:
- A String array with all PV names from PV properties. It only returns the visible and nonempty PV properties.
-
getControlPV
IPV getControlPV()- Returns:
- the control PV. null if no control PV on this widget.
-
getPV
IPV getPV()- Returns:
- the major PV.
-
getPVName
String getPVName()- Returns:
- name of the major PV.
-
getPV
Get the pv by PV property id.- Parameters:
pvPropId
- the PV property id.- Returns:
- the corresponding pv for the pvPropId. null if the pv doesn't exist.
-
getPVValue
Get value from one of the attached PVs.- Parameters:
pvPropId
- the property id of the PV. It is "pv_name" for the main PV.- Returns:
- the value of the PV.
-
setPVValue
Set PV to given value. Should accept Double, Double[], Integer, String, maybe more.- Parameters:
pvPropId
-value
-
-
addSetPVValueListener
-
setControlEnabled
void setControlEnabled(boolean enabled) -
isPVControlWidget
boolean isPVControlWidget()
-