|
|||||||||
| 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()
Deprecated. If menu node is a leaf, the user has selected this node for execution. |
java.lang.String |
getBusyName()
Deprecated. |
java.util.List |
getChildren()
Deprecated. |
java.util.Comparator |
getComparator()
Deprecated. |
java.lang.String |
getErrorName()
Deprecated. |
IMenuNode |
getFirstParentOfType(java.lang.String type)
Deprecated. Iterate through ancestors until one of specified type is found. |
java.lang.String |
getName()
Deprecated. Name property used in the UI. |
IMenuNode |
getNextSibling()
Deprecated. |
IMenuNode |
getParent()
Deprecated. |
java.lang.String |
getPath()
Deprecated. |
IMenuNode |
getPreviousSibling()
Deprecated. |
boolean |
hasChildren()
Deprecated. |
boolean |
isBusy()
Deprecated. If a node is busy, the menu system will display a spinner in the place of the node. |
boolean |
isError()
Deprecated. |
void |
setName(java.lang.String name)
Deprecated. Sets the name property used in the UI. |
IMenuNode |
setParent(IMenuNode parent)
Deprecated. |
boolean |
sortChildren()
Deprecated. |
| Method Detail |
|---|
IMenuNode getParent()
IMenuNode setParent(IMenuNode parent)
java.util.List getChildren()
boolean sortChildren()
true if the children should be sorted, and
false if they should not be.java.util.Comparator getComparator()
sortChildren() returns
true. If null is returned, and
sortChildren() returns true, the natural ordering,
taken from the compareTo() method, will be used.boolean hasChildren()
true if number of children greater than 0.boolean isBusy()
true if the node is busy and false if
the node is not busy.java.lang.String getBusyName()
null, use the node name.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 - java.lang.String getPath()
boolean isError()
true if this node should currently display an error,
false otherwise.java.lang.String getErrorName()
isError() returns
true.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||