Class ColumnManager

java.lang.Object
com.saperion.ngc.navigation.ColumnManager
All Implemented Interfaces:
Serializable

public class ColumnManager extends Object implements Serializable
The ColumnManager manages the columns of the NavigationView. Navigation nodes can register and unregister required columns here.
See Also:
  • Constructor Details

    • ColumnManager

      public ColumnManager(org.zkoss.zul.Tree navigationTree, String firstColumnName)
      Constructor.
      Parameters:
      navigationTree - navigation tree component
      firstColumnName - name of the first (default) column
  • Method Details

    • registerColumn

      public void registerColumn(String columnName)
      Registers a column in the manager. If the column is not yet registered, it is created. Otherwise it's counter will be incremented.
      Parameters:
      columnName - column name
    • unregisterColumn

      public void unregisterColumn(String columnName)
      Unregisters a column in the manager. It's count will be decremented. If the count is zero afterwards, the column is removed.
      Parameters:
      columnName - column name