Class PWLabel
java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWLabel
public class PWLabel extends PWWidget
Instances of this class are labels, that could contain some HTML tags (B,I,U)
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
Constructor Summary
Constructors Constructor Description PWLabel(java.lang.String label)
Constructor -
Method Summary
Modifier and Type Method Description org.eclipse.swt.widgets.Control
build(org.eclipse.swt.widgets.Composite parent)
Build the widgetvoid
check()
Check if the property can be binded to the widgetboolean
enableOrDisable()
Enable or disable the widget, depending on the associated enablerMethods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, checkAndBuild, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
Constructor Details
-
PWLabel
public PWLabel(java.lang.String label)Constructor- Parameters:
label
- associated label
-
-
Method Details
-
build
public org.eclipse.swt.widgets.Control build(org.eclipse.swt.widgets.Composite parent)Description copied from class:PWWidget
Build the widget -
check
public void check()Description copied from class:PWWidget
Check if the property can be binded to the widget -
enableOrDisable
public boolean enableOrDisable()Description copied from class:PWWidget
Enable or disable the widget, depending on the associated enabler- Overrides:
enableOrDisable
in classPWWidget
-