public class LabelConfigMenuNode extends java.lang.Object implements IConfigMenuNode
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
displayKey |
protected java.lang.String |
key |
protected int |
position |
Constructor and Description |
---|
LabelConfigMenuNode(java.lang.String key) |
LabelConfigMenuNode(java.lang.String key,
java.lang.String displayKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMenuKey() |
java.lang.Class<? extends ConfigPanel> |
getPanelClass()
Optional methad allows this menu node to be used in a bookmarkable link
|
int |
getPosition()
An ordering hint to position this node relative to its peers.
|
boolean |
isVisible()
Whether this menu node should currently be shown.
|
org.apache.wicket.Component |
newMenuComponent(java.lang.String id,
IConfigPage configPage) |
void |
setPath(java.lang.String[] path)
Lets the model set the path on this note after it has been inserted into the tree
|
void |
setPosition(int position) |
protected java.lang.String key
protected java.lang.String displayKey
protected int position
public LabelConfigMenuNode(java.lang.String key)
public LabelConfigMenuNode(java.lang.String key, java.lang.String displayKey)
public java.lang.String getMenuKey()
getMenuKey
in interface IConfigMenuNode
public org.apache.wicket.Component newMenuComponent(java.lang.String id, IConfigPage configPage)
newMenuComponent
in interface IConfigMenuNode
public java.lang.Class<? extends ConfigPanel> getPanelClass()
IConfigMenuNode
getPanelClass
in interface IConfigMenuNode
public void setPath(java.lang.String[] path)
IConfigMenuNode
setPath
in interface IConfigMenuNode
public int getPosition()
IConfigMenuNode
getPosition
in interface IConfigMenuNode
public void setPosition(int position)
public boolean isVisible()
IConfigMenuNode
isVisible
in interface IConfigMenuNode