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 PWContainer
add(PWContainer element)
Add a container to the current elementPWContainer
add(PWWidget widget)
Add a widget to the current elementvoid
build(org.eclipse.swt.widgets.Composite parent)
Build the content of the containerprotected void
checkParent(PWContainer parent)
Check if the parent is compatible with the objectvoid
enableOrDisable()
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:PWContainer
Add a container to the current element- Specified by:
add
in 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:PWContainer
Add a widget to the current element- Specified by:
add
in 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:PWContainer
Build the content of the container- Specified by:
build
in classPWContainer
- Parameters:
parent
- parent composite- See Also:
PWContainer.build(org.eclipse.swt.widgets.Composite)
-
checkParent
Description copied from class:PWRowGroup
Check if the parent is compatible with the object- Specified by:
checkParent
in classPWRowGroup
- Parameters:
parent
- parent to check
-
enableOrDisable
public void enableOrDisable()Description copied from class:PWRowGroup
Enables or disables all elements stored in this group or row- Specified by:
enableOrDisable
in classPWRowGroup
-