Class PVWidget
- java.lang.Object
-
- org.csstudio.display.builder.model.Widget
-
- org.csstudio.display.builder.model.widgets.VisibleWidget
-
- org.csstudio.display.builder.model.widgets.PVWidget
-
- Direct Known Subclasses:
ActionButtonWidget
,ArrayWidget
,BaseLEDWidget
,ByteMonitorWidget
,FileSelectorWidget
,ImageWidget
,MeterWidget
,ProgressBarWidget
,SymbolWidget
,TankWidget
,TextSymbolWidget
,TextUpdateWidget
,ThermometerWidget
,WritablePVWidget
public class PVWidget extends VisibleWidget
A base class for all widgets having a primary PV and value.Default WidgetRuntime will connect PV to "pv_name" and update "pv_value" with received updates.
-
-
Field Summary
Fields Modifier and Type Field Description static org.epics.vtype.VType
RUNTIME_VALUE_NO_PV
Special value of runtimePropValue that indicates that there is no PV (empty PV name).-
Fields inherited from class org.csstudio.display.builder.model.Widget
BASE_WIDGET_VERSION, USER_DATA_REPRESENTATION, USER_DATA_RUNTIME, USER_DATA_SCRIPT_SUPPORT, USER_DATA_TOOLKIT_PARENT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetProperty<java.lang.Boolean>
propBorderAlarmSensitive()
WidgetProperty<java.lang.String>
propPVName()
WidgetProperty<org.epics.vtype.VType>
runtimePropValue()
-
Methods inherited from class org.csstudio.display.builder.model.widgets.VisibleWidget
propTooltip, propVisible, runtimePropConnected
-
Methods inherited from class org.csstudio.display.builder.model.Widget
checkDisplayModel, checkProperty, checkProperty, clearUserData, expandPropertyNames, getConfigurator, getDisplayModel, getEffectiveMacros, getID, getMacrosOrProperties, getName, getParent, getProperties, getProperty, getProperty, getPropertyByPath, getPropertyValue, getPropertyValue, getTopDisplayModel, getType, getUserData, getVersion, getWidgetClass, isClean, propActions, propClass, propHeight, propName, propRules, propScripts, propWidth, propX, propY, setConfiguratorResult, setPropertyValue, setPropertyValue, setUserData, toString
-
-
-
-
Field Detail
-
RUNTIME_VALUE_NO_PV
public static final org.epics.vtype.VType RUNTIME_VALUE_NO_PV
Special value of runtimePropValue that indicates that there is no PV (empty PV name).Widget representation can detect this as a special case and for example show a general "OK" state.
When the widget has a PV but becomes disconnected, the value will be
null
-
-
Method Detail
-
propPVName
public final WidgetProperty<java.lang.String> propPVName()
- Returns:
- 'pv_name' property
-
runtimePropValue
public WidgetProperty<org.epics.vtype.VType> runtimePropValue()
- Returns:
- Runtime 'pv_value' property
-
propBorderAlarmSensitive
public WidgetProperty<java.lang.Boolean> propBorderAlarmSensitive()
- Returns:
- 'border_alarm_sensitive' property
-
-