Class NativeButtonModel
java.lang.Object
org.csstudio.opibuilder.model.AbstractWidgetModel
org.csstudio.opibuilder.model.AbstractPVWidgetModel
org.csstudio.opibuilder.widgets.model.ActionButtonModel
org.csstudio.opibuilder.widgets.model.NativeButtonModel
- All Implemented Interfaces:
IPVWidgetModel
,ITextModel
,IAdaptable
,IPropertySource
Deprecated.
the native button is not used anymore. Instead use Style property of Action Button.
Model for native button widget.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.csstudio.opibuilder.widgets.model.ActionButtonModel
ActionButtonModel.Style
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.widgets.model.ActionButtonModel
PROP_ACTION_INDEX, PROP_IMAGE, PROP_RELEASED_ACTION_INDEX, PROP_STYLE, PROP_TEXT, PROP_TOGGLE_BUTTON
Fields 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, VERSION
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated.Configure the properties of the widget.Deprecated.Methods inherited from class org.csstudio.opibuilder.widgets.model.ActionButtonModel
getActionIndex, getImagePath, getReleasedActionIndex, getStyle, getText, getVersion, isToggleButton, setStyle, setText
Methods inherited from class org.csstudio.opibuilder.model.AbstractPVWidgetModel
configureBaseProperties, getDelegate, getPVName, getTooltip, isAlarmPulsing, isBackColorAlarmSensitve, isBorderAlarmSensitve, isForeColorAlarmSensitve, processVersionDifference
Methods 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, 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
-
ID
Deprecated.The ID of this widget model.- See Also:
-
-
Constructor Details
-
NativeButtonModel
public NativeButtonModel()Deprecated.
-
-
Method Details
-
configureProperties
protected void configureProperties()Deprecated.Description copied from class:AbstractWidgetModel
Configure the properties of the widget. Subclass should add new properties in this method.- Overrides:
configureProperties
in classActionButtonModel
-
getTypeID
Deprecated.- Overrides:
getTypeID
in classActionButtonModel
- Returns:
- the unique typeID of the model.
-