com.buglabs.bug.menu.pub
Class LabelValueMenuItem

java.lang.Object
  extended by com.buglabs.menu.AbstractMenuNode
      extended by com.buglabs.bug.menu.pub.LabelValueMenuItem
All Implemented Interfaces:
IMenuNode, java.lang.Comparable

public class LabelValueMenuItem
extends AbstractMenuNode

A menu node that has a title and a value. The value is represented as a child of the title.


Constructor Summary
LabelValueMenuItem(java.lang.String label, java.lang.String value, IMenuNode parent)
           
 
Method Summary
 java.util.List getChildren()
           
 
Methods inherited from class com.buglabs.menu.AbstractMenuNode
compareTo, equals, execute, getBusyName, getComparator, getErrorName, getFirstParentOfType, getName, getNextSibling, getParent, getPath, getPreviousSibling, hasChildren, isBusy, isError, setName, setParent, sortChildren, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelValueMenuItem

public LabelValueMenuItem(java.lang.String label,
                          java.lang.String value,
                          IMenuNode parent)
Method Detail

getChildren

public java.util.List getChildren()
Specified by:
getChildren in interface IMenuNode
Overrides:
getChildren in class AbstractMenuNode
Returns:
All children for this node.