org.jboss.console.manager.interfaces.impl
Class SimpleTreeNodeMenuEntryImpl

java.lang.Object
  extended byorg.jboss.console.manager.interfaces.impl.SimpleTreeNodeMenuEntryImpl
All Implemented Interfaces:
java.io.Serializable, SimpleTreeNodeMenuEntry (src) , TreeNodeMenuEntry (src)

public class SimpleTreeNodeMenuEntryImpl
extends java.lang.Object
implements SimpleTreeNodeMenuEntry (src)

Default implementation for a simple entry of a popup menu

See Also:
TreeNodeMenuEntry (src) , Serialized Form

Field Summary
protected  TreeAction (src) action
           
protected  java.lang.String text
           
 
Constructor Summary
SimpleTreeNodeMenuEntryImpl()
           
SimpleTreeNodeMenuEntryImpl(java.lang.String text, TreeAction (src)  action)
           
 
Method Summary
 TreeAction (src) getAction()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected TreeAction (src)  action

text

protected java.lang.String text
Constructor Detail

SimpleTreeNodeMenuEntryImpl

public SimpleTreeNodeMenuEntryImpl()

SimpleTreeNodeMenuEntryImpl

public SimpleTreeNodeMenuEntryImpl(java.lang.String text,
                                   TreeAction (src)  action)
Method Detail

getAction

public TreeAction (src)  getAction()
Specified by:
getAction in interface SimpleTreeNodeMenuEntry (src)

getText

public java.lang.String getText()
Specified by:
getText in interface SimpleTreeNodeMenuEntry (src)