wt.templateutil.navigationbar
Class NavigationTreeNode
java.lang.Object
wt.templateutil.navigationbar.NavigationTreeNode
- All Implemented Interfaces:
- TreeNode
- public class NavigationTreeNode
- extends Object
- implements TreeNode
NAME
public static final String NAME
- See Also:
- Constant Field Values
ACTION
public static final String ACTION
- See Also:
- Constant Field Values
METHOD
public static final String METHOD
- See Also:
- Constant Field Values
TREE_ACTION_DELEGATE
public static final String TREE_ACTION_DELEGATE
- See Also:
- Constant Field Values
IN_MINIMUM_LIST
public static final String IN_MINIMUM_LIST
- See Also:
- Constant Field Values
RESOURCE_BUNDLE
public static final String RESOURCE_BUNDLE
- See Also:
- Constant Field Values
RESOURCE_KEY
public static final String RESOURCE_KEY
- See Also:
- Constant Field Values
DEFAULT_METHOD
public static final String DEFAULT_METHOD
- See Also:
- Constant Field Values
name
private String name
action
private String action
method
private String method
resourceBundle
private ListResourceBundle resourceBundle
resouceBundleKey
private String resouceBundleKey
isInMinimumList
private boolean isInMinimumList
urlActionDelegate
private NavBarURLActionDelegate urlActionDelegate
actionDelegate
private NavBarActionDelegate actionDelegate
children
private List children
parent
private NavigationTreeNode parent
resourceBundleStr
private String resourceBundleStr
isLastNavigationNode
private boolean isLastNavigationNode
isFillerNode
private boolean isFillerNode
NavigationTreeNode
private NavigationTreeNode()
NavigationTreeNode
public NavigationTreeNode(boolean isRoot)
NavigationTreeNode
public NavigationTreeNode(HashMap initialValuesMap)
getName
public String getName()
setName
private void setName(String name)
getAction
public String getAction()
setAction
private void setAction(String action)
getResourceBundle
public ListResourceBundle getResourceBundle()
setResourceBundle
private void setResourceBundle(ListResourceBundle resourceBundle)
setResourceBundle
private void setResourceBundle(String resourceBundleName)
isInMinimumList
public boolean isInMinimumList()
setInMinimumList
private void setInMinimumList(boolean inMinimumList)
getResouceBundleKey
public String getResouceBundleKey()
setResouceBundleKey
private void setResouceBundleKey(String resouceBundleKey)
getUrlActionDelegate
public NavBarURLActionDelegate getUrlActionDelegate()
- This is simply a legacy support method for those classes which call the
getUrlActionDelegate( ) directly from outside this class. They should be
passing a context object, but if they do not, null will be passed and the
behavior will be as seen for prior releases.
getUrlActionDelegate
public NavBarURLActionDelegate getUrlActionDelegate(Object contextObject)
getActionDelegate
public NavBarActionDelegate getActionDelegate()
setUrlActionDelegate
private void setUrlActionDelegate(URLActionDelegate urlActionDelegate)
setActionDelegate
private void setActionDelegate(ActionDelegate actionDelegate)
setUrlActionDelegate
private void setUrlActionDelegate(String urlActionDelegateName)
getChildAt
public TreeNode getChildAt(int childIndex)
- Specified by:
getChildAt
in interface TreeNode
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interface TreeNode
getParent
public TreeNode getParent()
- Specified by:
getParent
in interface TreeNode
getIndex
public int getIndex(TreeNode node)
- Specified by:
getIndex
in interface TreeNode
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interface TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface TreeNode
children
public Enumeration children()
- Specified by:
children
in interface TreeNode
addChild
public void addChild(NavigationTreeNode treeNode)
setParent
public void setParent(NavigationTreeNode parentNode)
equals
public boolean equals(Object target)
stringsEqual
protected boolean stringsEqual(String str1,
String str2)
isNodeSelected
public boolean isNodeSelected(HashMap queryValueMap,
Object contextObject)
isNodeSelected
protected boolean isNodeSelected(NavigationTreeNode treeNode,
HashMap queryValueMap,
Object contextObject)
initializeNavBarURLActionDelegate
public void initializeNavBarURLActionDelegate()
isLastNavigationNode
public boolean isLastNavigationNode()
setIsLastNavigationNode
public void setIsLastNavigationNode(boolean isLastNavigationNode)
isFillerNode
public boolean isFillerNode()
setIsFillerNode
public void setIsFillerNode(boolean isFillerNode)
setMethod
public void setMethod(String method)
getMethod
public String getMethod()