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

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

Returns:
Enumeration of all the immediate children.

getParent

public ReadableTree getParent()
Retrieves the parent node.

Returns:
Parent node.

hasChildren

public boolean hasChildren()
Determines if this node has children.

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

allowsChildren

public boolean allowsChildren()
Determines if this node allows children.

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


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.