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
  • 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

      IPV getPV(String pvPropId)
      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

      VType getPVValue(String pvPropId)
      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

      void setPVValue(String pvPropId, Object value)
      Set PV to given value. Should accept Double, Double[], Integer, String, maybe more.
      Parameters:
      pvPropId -
      value -
    • addSetPVValueListener

      void addSetPVValueListener(IPVWidgetEditpart.ISetPVValueListener listener)
    • setControlEnabled

      void setControlEnabled(boolean enabled)
    • isPVControlWidget

      boolean isPVControlWidget()