Class ThumbWheelModel
java.lang.Object
org.csstudio.opibuilder.model.AbstractWidgetModel
org.csstudio.opibuilder.model.AbstractPVWidgetModel
org.csstudio.opibuilder.widgets.model.ThumbWheelModel
- All Implemented Interfaces:
IPVWidgetModel,IAdaptable,IPropertySource
Model for the ThumbWheel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringLoad limit from PV.static final Stringstatic final Stringstatic final StringFields inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
PROP_ACTIONS, PROP_BORDER_COLOR, PROP_BORDER_STYLE, PROP_BORDER_WIDTH, PROP_COLOR_BACKGROUND, PROP_COLOR_FOREGROUND, PROP_ENABLED, PROP_FONT, PROP_HEIGHT, PROP_NAME, PROP_RULES, PROP_SCALE_OPTIONS, PROP_SCRIPTS, PROP_SRC_CONNECTIONS, PROP_TGT_CONNECTIONS, PROP_TOOLTIP, PROP_VISIBLE, PROP_WIDGET_TYPE, PROP_WIDGET_UID, PROP_WIDTH, PROP_XPOS, PROP_YPOS, VERSIONFields inherited from interface org.csstudio.opibuilder.model.IPVWidgetModel
PROP_ALARM_PULSING, PROP_BACKCOLOR_ALARMSENSITIVE, PROP_BORDER_ALARMSENSITIVE, PROP_FORECOLOR_ALARMSENSITIVE, PROP_PVNAME, PROP_PVVALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidConfigure the properties of the widget.intintintdoubledoubleintbooleanbooleanvoidsetDecimalPartDigits(int val) voidvoidsetWholePartDigits(int val) Methods inherited from class org.csstudio.opibuilder.model.AbstractPVWidgetModel
configureBaseProperties, getDelegate, getPVName, getTooltip, isAlarmPulsing, isBackColorAlarmSensitve, isBorderAlarmSensitve, isForeColorAlarmSensitve, processVersionDifferenceMethods inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
addConnection, addProperty, addProperty, addPVProperty, doScale, flipHorizontally, flipHorizontally, flipVertically, flipVertically, generateNewWUID, getActionsInput, getAdapter, getAllPropertyIDs, getBackgroundColor, getBorderColor, getBorderStyle, getBorderWidth, getBounds, getCastedPropertyValue, getEditableValue, getExecutionMode, getFont, getForegroundColor, getHeight, getIndex, getLocation, getName, getNestedDepth, getOriginLocation, getOriginSize, getParent, getProperty, getPropertyDescriptors, getPropertyValue, getPVMap, getRawPropertyValue, getRawTooltip, getRGBFromColorProperty, getRootDisplayModel, getRootDisplayModel, getRulesInput, getRuntimePropertyList, getScaledSize, getScaleOptions, getScriptsInput, getSize, getSourceConnections, getSWTColorFromColorProperty, getTargetConnections, getType, getVersion, getVersionOnFile, getWidgetType, getWidth, getWUID, getX, getY, isEnabled, isPropertySet, isVisible, removeProperty, removePVProperty, resetPropertyValue, rotate90, rotate90, scale, scaleConnections, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setBounds, setEnabled, setExecutionMode, setForegroundColor, setHeight, setLocation, setLocation, setName, setParent, setPropertyDescription, setPropertyValue, setPropertyValue, setPropertyVisible, setPropertyVisibleAndSavable, setScaleOptions, setSize, setSize, setTooltip, setVersionOnFile, setWidth, setX, setY
-
Field Details
-
PROP_MIN
- See Also:
-
PROP_MAX
- See Also:
-
PROP_INTERNAL_FRAME_THICKNESS
- See Also:
-
PROP_INTERNAL_FRAME_COLOR
- See Also:
-
PROP_INTERNAL_FOCUSED_FRAME_COLOR
- See Also:
-
PROP_INTEGER_DIGITS_PART
- See Also:
-
PROP_DECIMAL_DIGITS_PART
- See Also:
-
PROP_LIMITS_FROM_PV
Load limit from PV.- See Also:
-
PROP_SHOW_BUTTONS
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
ThumbWheelModel
public ThumbWheelModel()
-
-
Method Details
-
getTypeID
- Specified by:
getTypeIDin classAbstractWidgetModel- Returns:
- the unique typeID of the model.
-
configureProperties
protected void configureProperties()Description copied from class:AbstractWidgetModelConfigure the properties of the widget. Subclass should add new properties in this method.- Specified by:
configurePropertiesin classAbstractWidgetModel
-
setFont
-
getWholePartDigits
public int getWholePartDigits() -
setWholePartDigits
public void setWholePartDigits(int val) -
getDecimalPartDigits
public int getDecimalPartDigits() -
setDecimalPartDigits
public void setDecimalPartDigits(int val) -
getInternalFrameThickness
public int getInternalFrameThickness() -
getInternalFrameColor
-
getInternalFocusedFrameColor
-
getMinimum
public double getMinimum() -
getMaximum
public double getMaximum() -
getInternalBorderColor
-
getInternalFocusedBorderColor
-
getInternalBorderWidth
public int getInternalBorderWidth() -
isLimitsFromPV
public boolean isLimitsFromPV()- Returns:
- true if limits will be load from DB, false otherwise
-
isButtonVisible
public boolean isButtonVisible()
-