Package com.saperion.ngc.navigation
Class SimpleNavigationMode
- java.lang.Object
-
- com.saperion.ngc.navigation.SimpleNavigationMode
-
- All Implemented Interfaces:
NavigationMode,java.io.Serializable
public class SimpleNavigationMode extends java.lang.Object implements NavigationMode
Simple mode for navigation. The tree displays only the name for each node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleNavigationMode(NavigationViewImpl navigationView, java.lang.String defaultColumnName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.zkoss.zul.TreecreateMainNavigationTree()Creates the main navigation tree.java.lang.StringgetDefaultColumnName()The default column name is the name of the first column in the tree.
-
-
-
Constructor Detail
-
SimpleNavigationMode
public SimpleNavigationMode(NavigationViewImpl navigationView, java.lang.String defaultColumnName)
Constructor.- Parameters:
navigationView- navigation viewdefaultColumnName- name of the default column (unused in SimpleNavigationMode)
-
-
Method Detail
-
createMainNavigationTree
public org.zkoss.zul.Tree createMainNavigationTree()
Creates the main navigation tree.- Specified by:
createMainNavigationTreein interfaceNavigationMode- Returns:
- navigation tree
- See Also:
NavigationMode.createMainNavigationTree()
-
getDefaultColumnName
public java.lang.String getDefaultColumnName()
The default column name is the name of the first column in the tree.- Specified by:
getDefaultColumnNamein interfaceNavigationMode- Returns:
- default column name
- See Also:
NavigationMode.getDefaultColumnName()
-
-