Class PWScale
java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWScale
public class PWScale extends PWWidget
Instances of this class are scales
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
Constructor Summary
Constructors Constructor Description PWScale(java.lang.String label, java.lang.String propertyKey, int min, int max, int increment)
Constructor -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, checkAndBuild, enableOrDisable, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
Constructor Details
-
PWScale
public PWScale(java.lang.String label, java.lang.String propertyKey, int min, int max, int increment)Constructor- Parameters:
label
- associated labelpropertyKey
- associated keymin
- minimum valuemax
- maximum valueincrement
- increment value
-
-
Method Details
-
build
public org.eclipse.swt.widgets.Control build(org.eclipse.swt.widgets.Composite parent)Description copied from class:PWWidget
Build the widget- Specified by:
build
in classPWWidget
- Parameters:
parent
- parent composite- Returns:
- the created control
- See Also:
PWWidget.build(org.eclipse.swt.widgets.Composite)
-
check
public void check()Description copied from class:PWWidget
Check if the property can be binded to the widget- Specified by:
check
in classPWWidget
- See Also:
PWWidget.check()
-