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 SummaryConstructors Constructor Description SimpleNavigationMode(NavigationViewImpl navigationView, java.lang.String defaultColumnName)Constructor.
 - 
Method SummaryAll 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- 
SimpleNavigationModepublic SimpleNavigationMode(NavigationViewImpl navigationView, java.lang.String defaultColumnName) Constructor.- Parameters:
- navigationView- navigation view
- defaultColumnName- name of the default column (unused in SimpleNavigationMode)
 
 
- 
 - 
Method Detail- 
createMainNavigationTreepublic org.zkoss.zul.Tree createMainNavigationTree() Creates the main navigation tree.- Specified by:
- createMainNavigationTreein interface- NavigationMode
- Returns:
- navigation tree
- See Also:
- NavigationMode.createMainNavigationTree()
 
 - 
getDefaultColumnNamepublic java.lang.String getDefaultColumnName() The default column name is the name of the first column in the tree.- Specified by:
- getDefaultColumnNamein interface- NavigationMode
- Returns:
- default column name
- See Also:
- NavigationMode.getDefaultColumnName()
 
 
- 
 
-