net.rim.device.api.collection
Interface ReadableTree

All Superinterfaces:
Collection

public interface ReadableTree
extends Collection

Provides read access to a tree-type collection.


Method Summary
 boolean allowsChildren()
          Determines if this node allows children.
 Enumeration children()
          Retrieves an enumeration of all of the immediate children nodes.
 ReadableTree getParent()
          Retrieves the parent node.
 boolean hasChildren()
          Determines if this node has children.
 



Method Detail

children

Enumeration children()
Retrieves an enumeration of all of the immediate children nodes.

Returns:
Enumeration of all the immediate children.

getParent

ReadableTree getParent()
Retrieves the parent node.

Returns:
Parent node.

hasChildren

boolean hasChildren()
Determines if this node has children.

Returns:
True if this node has children; otherwise, false.

allowsChildren

boolean allowsChildren()
Determines if this node allows children.

Returns:
True if this node permits children; otherwise, false.





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal