|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Hierarchical
An interface that can be implemented by any object which has a hierarchical relationship with other objects.
The point of implementing this interface is to make the hierarchcial relationship explicit and to aid the UI layer in building hierarchical interfaces.
Method Summary | |
---|---|
java.lang.Object[] |
getChildren()
|
java.lang.Object |
getParent()
|
boolean |
hasChildren()
This method is included because it's often less expensive to check for the existence of children than to retrieve the children. |
Method Detail |
---|
java.lang.Object getParent()
java.lang.Object[] getChildren()
boolean hasChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |