Class PWGroup
java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
org.eclipse.nebula.widgets.opal.preferencewindow.PWGroup
public class PWGroup extends PWRowGroup
Instances of this class are groups
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
enabler, numberOfColumns, parent, parentNumberOfColums -
Constructor Summary
-
Method Summary
Modifier and Type Method Description PWContaineradd(PWContainer element)Add a container to the current elementPWContaineradd(PWWidget widget)Add a widget to the current elementvoidbuild(org.eclipse.swt.widgets.Composite parent)Build the content of the containerprotected voidcheckParent(PWContainer parent)Check if the parent is compatible with the objectvoidenableOrDisable()Enables or disables all elements stored in this group or rowMethods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
addColumn, getNumberOfColums, setEnabler, setParent, setParentNumberOfColumns
-
Constructor Details
-
PWGroup
public PWGroup(boolean hasBorder)Constructor- Parameters:
hasBorder- iftrue, the group has a border
-
PWGroup
public PWGroup(java.lang.String label)Constructor- Parameters:
label- label associated to the group
-
PWGroup
public PWGroup(java.lang.String label, boolean hasBorder)Constructor- Parameters:
label- label associated to the grouphasBorder- iftrue, the group has a border
-
-
Method Details
-
add
Description copied from class:PWContainerAdd a container to the current element- Specified by:
addin classPWContainer- Parameters:
element- element to add- Returns:
- the container
- See Also:
PWContainer.add(org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer)
-
add
Description copied from class:PWContainerAdd a widget to the current element- Specified by:
addin classPWContainer- Parameters:
widget- widget to add- Returns:
- the container
- See Also:
PWContainer.add(org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget)
-
build
public void build(org.eclipse.swt.widgets.Composite parent)Description copied from class:PWContainerBuild the content of the container- Specified by:
buildin classPWContainer- Parameters:
parent- parent composite- See Also:
PWContainer.build(org.eclipse.swt.widgets.Composite)
-
checkParent
Description copied from class:PWRowGroupCheck if the parent is compatible with the object- Specified by:
checkParentin classPWRowGroup- Parameters:
parent- parent to check
-
enableOrDisable
public void enableOrDisable()Description copied from class:PWRowGroupEnables or disables all elements stored in this group or row- Specified by:
enableOrDisablein classPWRowGroup
-