|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.webapp.navigation.NavigationNodeBase
public abstract class NavigationNodeBase
Base implementation of the NavigationNode interface.
| Field Summary | |
|---|---|
protected String |
i18n
|
protected String |
icon
|
protected String |
path
|
protected String |
viewSuffix
|
| Constructor Summary | |
|---|---|
NavigationNodeBase(String id)
|
|
| Method Summary | |
|---|---|
protected void |
copyCommonAttributes(NavigationNode node)
|
boolean |
equals(Object other)
|
int |
getDepth()
Get the depth of this node in the hierarchy. |
String |
getI18n()
|
String |
getI18nPrefix()
|
String |
getI18nSeparator()
|
String |
getI18nSuffix()
|
String |
getIcon()
|
String |
getIconPrefix()
|
String |
getIconSeparator()
|
String |
getIconSuffix()
|
String |
getId()
Get the ID of the node. |
NavigationNode |
getParent()
Get the parent node of this node. |
String |
getPath()
|
String |
getPathPrefix()
|
String |
getPathSeparator()
|
String |
getViewSuffix()
|
int |
hashCode()
|
boolean |
isEnabled()
Is the node enabled/active? |
boolean |
isHidden()
Is the node hidden? |
boolean |
isParent(NavigationNode node)
Is this node a parent of the specified node? |
void |
setEnabled(boolean enabled)
Set the enabled status of the node. |
void |
setHidden(boolean hidden)
Set the hidden status of the node. |
void |
setI18n(String i18n)
|
void |
setIcon(String icon)
|
void |
setParent(NavigationNode parent)
Set the parent of this node. |
void |
setPath(String path)
|
void |
setViewSuffix(String viewSuffix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String path
protected String icon
protected String i18n
protected String viewSuffix
| Constructor Detail |
|---|
public NavigationNodeBase(String id)
| Method Detail |
|---|
public String getId()
NavigationNode
getId in interface NavigationNodepublic boolean isHidden()
NavigationNode
isHidden in interface NavigationNodepublic void setHidden(boolean hidden)
NavigationNode
setHidden in interface NavigationNodehidden - the new hidden status of the nodepublic boolean isEnabled()
NavigationNode
isEnabled in interface NavigationNodepublic void setEnabled(boolean enabled)
NavigationNode
setEnabled in interface NavigationNodeenabled - the new enabled status of the nodepublic NavigationNode getParent()
NavigationNode
getParent in interface NavigationNodepublic void setParent(NavigationNode parent)
NavigationNode
setParent in interface NavigationNodeparent - the new parent of this nodepublic boolean isParent(NavigationNode node)
NavigationNode
isParent in interface NavigationNodenode - the node to check
public String getPathPrefix()
getPathPrefix in interface NavigationNodepublic String getPathSeparator()
getPathSeparator in interface NavigationNodepublic String getPath()
getPath in interface NavigationNodepublic void setPath(String path)
setPath in interface NavigationNodepublic String getIconPrefix()
getIconPrefix in interface NavigationNodepublic String getIconSeparator()
getIconSeparator in interface NavigationNodepublic String getIconSuffix()
getIconSuffix in interface NavigationNodepublic String getIcon()
getIcon in interface NavigationNodepublic void setIcon(String icon)
setIcon in interface NavigationNodepublic String getI18nPrefix()
getI18nPrefix in interface NavigationNodepublic String getI18nSeparator()
getI18nSeparator in interface NavigationNodepublic String getI18nSuffix()
getI18nSuffix in interface NavigationNodepublic String getI18n()
getI18n in interface NavigationNodepublic void setI18n(String i18n)
setI18n in interface NavigationNodepublic String getViewSuffix()
getViewSuffix in interface NavigationNodepublic void setViewSuffix(String viewSuffix)
setViewSuffix in interface NavigationNodepublic int getDepth()
NavigationNode
getDepth in interface NavigationNodepublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectprotected void copyCommonAttributes(NavigationNode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||