public class NavTree
extends java.lang.Object
Constructor and Description |
---|
NavTree()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addNode(NavNode n)
Adds a node to the tree
|
java.lang.String |
getAclMixins()
Gets the current value of aclMixins
|
java.lang.String |
getFormvar()
Gets the current value of formvar
|
AclGuard |
getGuard() |
boolean |
getInvisible()
Gets the current value of invisible
|
java.lang.String |
getLabel()
Gets the current value of label
|
java.util.List<NavNode> |
getNodes()
Gets the top-level nodes associated with the tree
|
int |
getTitleDepth()
Gets the current value of titleDepth
|
void |
setAclMixins(java.lang.String aclMixinsIn)
Sets the value of aclMixins to new value
|
void |
setFormvar(java.lang.String formVarIn)
Sets the value of formvar to new value
|
void |
setGuard(AclGuard guardIn)
NavMenuTag sets this instance because the request is used for context
|
void |
setInvisible(boolean invisibleIn)
Sets the value of invisible to new value
|
void |
setLabel(java.lang.String labelIn)
Sets the value of label to new value
|
void |
setTitleDepth(int titleDepthIn)
Sets the value of titleDepth to new value
|
java.lang.String |
toString()
String version of tree
|
public void addNode(NavNode n)
n
- node added to treepublic java.util.List<NavNode> getNodes()
public java.lang.String getLabel()
public void setLabel(java.lang.String labelIn)
labelIn
- New value for labelpublic int getTitleDepth()
public void setTitleDepth(int titleDepthIn)
titleDepthIn
- New value for titleDepthpublic boolean getInvisible()
public void setInvisible(boolean invisibleIn)
invisibleIn
- New value for invisiblepublic java.lang.String getFormvar()
public void setFormvar(java.lang.String formVarIn)
formVarIn
- New value for labelpublic java.lang.String getAclMixins()
public void setAclMixins(java.lang.String aclMixinsIn)
aclMixinsIn
- New value for aclMixinspublic java.lang.String toString()
toString
in class java.lang.Object
public AclGuard getGuard()
public void setGuard(AclGuard guardIn)
guardIn
- The guard to set.