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 Modifier and Type Field Description private org.eclipse.swt.custom.StyledText
labelWidget
-
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
All Methods Instance Methods Concrete Methods 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 enabler-
Methods 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
-
-
-
-
Method Detail
-
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()
-
enableOrDisable
public boolean enableOrDisable()
Description copied from class:PWWidget
Enable or disable the widget, depending on the associated enabler- Overrides:
enableOrDisable
in classPWWidget
- See Also:
PWWidget.enableOrDisable()
-
-