Class PWRowGroup

java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
org.eclipse.nebula.widgets.opal.preferencewindow.PWRowGroup
Direct Known Subclasses:
PWGroup, PWRow

public abstract class PWRowGroup
extends PWContainer
Abstract class for both row and groups
  • Field Details

  • Constructor Details

  • Method Details

    • 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