Class DisplayScaleData
java.lang.Object
org.csstudio.opibuilder.datadefinition.AbstractComplexData
org.csstudio.opibuilder.datadefinition.DisplayScaleData
A complex properties data that holds display scale options.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
The place to add properties.int
int
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_AUTO_SCALE_WIDGETS
Automatically scale all widgets when display resizes. The scale behavior of each widget is determined by its scale options property.- See Also:
-
PROP_MIN_HEIGHT
The minimum height of the display to be allowed after scaling. The display will stop scaling height if height of the display after scaled will be less than this value. It will use display's original height as minimum height if this is set to -1.- See Also:
-
PROP_MIN_WIDTH
The minimum width of the display to be allowed after scaling. The display will stop scaling width if height of the display after scaled will be less than this value. It will use display's original width as minimum width if this is set to -1.- See Also:
-
-
Constructor Details
-
DisplayScaleData
-
-
Method Details
-
configureProperties
protected void configureProperties()Description copied from class:AbstractComplexData
The place to add properties.- Specified by:
configureProperties
in classAbstractComplexData
-
isAutoScaleWidgets
public boolean isAutoScaleWidgets() -
getMinimumHeight
public int getMinimumHeight() -
getMinimumWidth
public int getMinimumWidth() -
createInstance
- Specified by:
createInstance
in classAbstractComplexData
- Returns:
- a new instance of this data.
-
toString
-