Class PWRowGroup
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
-
- org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
-
public abstract class PWRowGroup extends PWContainer
Abstract class for both row and groups
-
-
Field Summary
Fields Modifier and Type Field Description protected Enablerenablerprotected intnumberOfColumnsprotected PWContainerparentprotected intparentNumberOfColums
-
Constructor Summary
Constructors Constructor Description PWRowGroup()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddColumn(int number)Add a column to the current elementprotected abstract voidcheckParent(PWContainer parent)Check if the parent is compatible with the objectabstract voidenableOrDisable()Enables or disables all elements stored in this group or rowintgetNumberOfColums()PWRowGroupsetEnabler(Enabler enabler)voidsetParent(PWContainer parent)voidsetParentNumberOfColumns(int numberOfColumns)-
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
add, add, build
-
-
-
-
Field Detail
-
numberOfColumns
protected int numberOfColumns
-
parentNumberOfColums
protected int parentNumberOfColums
-
parent
protected PWContainer parent
-
enabler
protected Enabler enabler
-
-
Method Detail
-
checkParent
protected abstract void checkParent(PWContainer parent)
Check if the parent is compatible with the object- Parameters:
parent- parent to check- Throws:
java.lang.UnsupportedOperationException- if the parent is not compatible with the object
-
enableOrDisable
public abstract void enableOrDisable()
Enables or disables all elements stored in this group or row
-
addColumn
public void addColumn(int number)
Add a column to the current element- Parameters:
number- number of column to add
-
getNumberOfColums
public int getNumberOfColums()
- Returns:
- the number of columns of this group or row
-
setEnabler
public PWRowGroup setEnabler(Enabler enabler)
- Parameters:
enabler- the enabler to set
-
setParent
public void setParent(PWContainer parent)
- Parameters:
parent- the parent to set
-
setParentNumberOfColumns
public void setParentNumberOfColumns(int numberOfColumns)
- Parameters:
numberOfColumns- the number of columns of the parent
-
-