Package com.saperion.ngc.navigation
Class ColumnManager
java.lang.Object
com.saperion.ngc.navigation.ColumnManager
- All Implemented Interfaces:
Serializable
The ColumnManager manages the columns of the NavigationView. Navigation nodes can register and
unregister required columns here.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionColumnManager
(org.zkoss.zul.Tree navigationTree, String firstColumnName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerColumn
(String columnName) Registers a column in the manager.void
unregisterColumn
(String columnName) Unregisters a column in the manager.
-
Constructor Details
-
ColumnManager
Constructor.- Parameters:
navigationTree
- navigation tree componentfirstColumnName
- name of the first (default) column
-
-
Method Details
-
registerColumn
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
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
-