Class WidgetScaleData
java.lang.Object
org.csstudio.opibuilder.datadefinition.AbstractComplexData
org.csstudio.opibuilder.datadefinition.WidgetScaleData
A complex properties data that holds the options for scaling a widget.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWidgetScaleData
(AbstractWidgetModel widgetModel, boolean isWidthScalable, boolean isHeightScalable, boolean keepWHRatio) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
The place to add properties.boolean
boolean
boolean
toString()
Methods inherited from class org.csstudio.opibuilder.datadefinition.AbstractComplexData
addProperty, equals, getAllProperties, getAllPropertyIDs, getCopy, getProperty, getPropertyValue, getWidgetModel, hashCode, setPropertyValue, setWidgetModel
-
Field Details
-
PROP_WIDTH_SCALABLE
- See Also:
-
PROP_HEIGHT_SCALABLE
- See Also:
-
PROP_KEEP_WH_RATIO
- See Also:
-
-
Constructor Details
-
WidgetScaleData
public WidgetScaleData(AbstractWidgetModel widgetModel, boolean isWidthScalable, boolean isHeightScalable, boolean keepWHRatio)
-
-
Method Details
-
configureProperties
protected void configureProperties()Description copied from class:AbstractComplexData
The place to add properties.- Specified by:
configureProperties
in classAbstractComplexData
-
isWidthScalable
public boolean isWidthScalable() -
isHeightScalable
public boolean isHeightScalable() -
isKeepWHRatio
public boolean isKeepWHRatio() -
createInstance
- Specified by:
createInstance
in classAbstractComplexData
- Returns:
- a new instance of this data.
-
toString
-