Class TextEntryWidget
- java.lang.Object
-
- org.csstudio.display.builder.model.Widget
-
- org.csstudio.display.builder.model.widgets.VisibleWidget
-
- org.csstudio.display.builder.model.widgets.PVWidget
-
- org.csstudio.display.builder.model.widgets.WritablePVWidget
-
- org.csstudio.display.builder.model.widgets.TextEntryWidget
-
public class TextEntryWidget extends WritablePVWidget
Widget that displays a changing text
-
-
Field Summary
Fields Modifier and Type Field Description static org.csstudio.display.builder.model.WidgetPropertyDescriptor<java.lang.Boolean>
propMultiLine
static org.csstudio.display.builder.model.WidgetDescriptor
WIDGET_DESCRIPTOR
Widget descriptor-
Fields inherited from class org.csstudio.display.builder.model.widgets.PVWidget
RUNTIME_VALUE_NO_PV
-
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
-
-
Constructor Summary
Constructors Constructor Description TextEntryWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.csstudio.display.builder.model.WidgetConfigurator
getConfigurator(org.csstudio.display.builder.model.Version persisted_version)
Obtain configurator.org.csstudio.display.builder.model.Version
getVersion()
WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor>
propBackgroundColor()
WidgetProperty<java.lang.Boolean>
propEnabled()
WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont>
propFont()
WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor>
propForegroundColor()
WidgetProperty<org.phoebus.ui.vtype.FormatOption>
propFormat()
WidgetProperty<org.csstudio.display.builder.model.properties.HorizontalAlignment>
propHorizontalAlignment()
WidgetProperty<java.lang.Boolean>
propMultiLine()
WidgetProperty<java.lang.Integer>
propPrecision()
WidgetProperty<java.lang.Boolean>
propShowUnits()
WidgetProperty<org.csstudio.display.builder.model.properties.VerticalAlignment>
propVerticalAlignment()
WidgetProperty<java.lang.Boolean>
propWrapWords()
-
Methods inherited from class org.csstudio.display.builder.model.widgets.WritablePVWidget
runtimePropPVWritable
-
Methods inherited from class org.csstudio.display.builder.model.widgets.PVWidget
propBorderAlarmSensitive, propPVName, 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, getDisplayModel, getEffectiveMacros, getID, getMacrosOrProperties, getName, getParent, getProperties, getProperty, getProperty, getPropertyByPath, getPropertyValue, getPropertyValue, getTopDisplayModel, getType, getUserData, getWidgetClass, isClean, propActions, propClass, propHeight, propName, propRules, propScripts, propWidth, propX, propY, setConfiguratorResult, setPropertyValue, setPropertyValue, setUserData, toString
-
-
-
-
Method Detail
-
getVersion
public org.csstudio.display.builder.model.Version getVersion()
- Overrides:
getVersion
in classWidget
- Returns:
- Widget version number
-
getConfigurator
public org.csstudio.display.builder.model.WidgetConfigurator getConfigurator(org.csstudio.display.builder.model.Version persisted_version) throws java.lang.Exception
Description copied from class:Widget
Obtain configurator.While typically using the default
WidgetConfigurator
, widget may provide a different configurator for reading older persisted date.- Overrides:
getConfigurator
in classWidget
- Parameters:
persisted_version
- Version of the persisted data.- Returns:
- Widget configurator for that version
- Throws:
java.lang.Exception
- if persisted version cannot be handled
-
propForegroundColor
public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propForegroundColor()
- Returns:
- 'foreground_color' property
-
propBackgroundColor
public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propBackgroundColor()
- Returns:
- 'background_color' property
-
propFont
public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont> propFont()
- Returns:
- 'font' property
-
propFormat
public WidgetProperty<org.phoebus.ui.vtype.FormatOption> propFormat()
- Returns:
- 'format' property
-
propPrecision
public WidgetProperty<java.lang.Integer> propPrecision()
- Returns:
- 'precision' property
-
propShowUnits
public WidgetProperty<java.lang.Boolean> propShowUnits()
- Returns:
- 'show_units' property
-
propEnabled
public WidgetProperty<java.lang.Boolean> propEnabled()
- Returns:
- 'enabled' property
-
propWrapWords
public WidgetProperty<java.lang.Boolean> propWrapWords()
- Returns:
- 'wrap_words' property
-
propMultiLine
public WidgetProperty<java.lang.Boolean> propMultiLine()
- Returns:
- 'multi_line' property
-
propHorizontalAlignment
public WidgetProperty<org.csstudio.display.builder.model.properties.HorizontalAlignment> propHorizontalAlignment()
- Returns:
- 'horizontal_alignment' property
-
propVerticalAlignment
public WidgetProperty<org.csstudio.display.builder.model.properties.VerticalAlignment> propVerticalAlignment()
- Returns:
- 'vertical_alignment' property
-
-