|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMenuNode
The Bug menu is a tree structure. This class represents the model interface for the menu. A menu node can be either a container (non executing) or a leaf (executing).
| Method Summary | |
|---|---|
void |
execute()
If menu node is a leaf, the user has selected this node for execution. |
java.util.List |
getChildren()
|
IMenuNode |
getFirstParentOfType(java.lang.String type)
Iterate through ancestors until one of specified type is found. |
java.lang.String |
getName()
Name property used in the UI. |
IMenuNode |
getNextSibling()
|
IMenuNode |
getParent()
|
IMenuNode |
getPreviousSibling()
|
boolean |
hasChildren()
|
void |
setName(java.lang.String name)
Sets the name property used in the UI. |
IMenuNode |
setParent(IMenuNode parent)
|
| Method Detail |
|---|
IMenuNode getParent()
IMenuNode setParent(IMenuNode parent)
java.util.List getChildren()
boolean hasChildren()
true if number of children greater than 0.IMenuNode getFirstParentOfType(java.lang.String type)
type -
void execute()
throws java.lang.Exception
display -
java.lang.ExceptionIMenuNode getNextSibling()
IMenuNode getPreviousSibling()
java.lang.String getName()
void setName(java.lang.String name)
name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||