Class PWButton
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWButton
-
public class PWButton extends PWWidget
Instances of this class are buttons
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.events.SelectionListenerlistener-
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
-
Constructor Summary
Constructors Constructor Description PWButton(java.lang.String label, org.eclipse.swt.events.SelectionListener listener)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.Controlbuild(org.eclipse.swt.widgets.Composite parent)Build the widgetvoidcheck()Check if the property can be binded to the widget-
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
-
-
-
-
Method Detail
-
build
public org.eclipse.swt.widgets.Control build(org.eclipse.swt.widgets.Composite parent)
Description copied from class:PWWidgetBuild the widget- Specified by:
buildin 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:PWWidgetCheck if the property can be binded to the widget- Specified by:
checkin classPWWidget- See Also:
PWWidget.check()
-
-