Class PWRow
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
-
- org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
-
- org.eclipse.nebula.widgets.opal.preferencewindow.PWRow
-
public class PWRow extends PWRowGroup
Instances of this class are rows
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<PWWidget>widgets-
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
enabler, numberOfColumns, parent, parentNumberOfColums
-
-
Constructor Summary
Constructors Constructor Description PWRow()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods 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 row-
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
addColumn, getNumberOfColums, setEnabler, setParent, setParentNumberOfColumns
-
-
-
-
Field Detail
-
widgets
protected final java.util.List<PWWidget> widgets
-
-
Method Detail
-
add
public PWContainer add(PWWidget widget)
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)
-
add
public PWContainer add(PWContainer element)
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)
-
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
protected void checkParent(PWContainer parent)
Description copied from class:PWRowGroupCheck if the parent is compatible with the object- Specified by:
checkParentin classPWRowGroup- Parameters:
parent- parent to check- See Also:
PWRowGroup.checkParent(org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer)
-
enableOrDisable
public void enableOrDisable()
Description copied from class:PWRowGroupEnables or disables all elements stored in this group or row- Specified by:
enableOrDisablein classPWRowGroup- See Also:
PWRowGroup.enableOrDisable()
-
-