Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.bibledesktop.passage
Class KeyTreeNode

    java.lang.Object
      org.crosswire.bibledesktop.passage.KeyTreeNode

All Implemented Interfaces:
  TreeNode

    public class KeyTreeNode

extends Object
implements TreeNode

An implementation of TreeNode that reads from Keys and KeyLists.

Author:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details. The copyright to this program is held by it's authors.`

Field Summary
`private Key` | `key`
`private TreeNode` | `parent`

Constructor Summary
`KeyTreeNode(Key key, TreeNode parent)` Simple ctor

Method Summary
`Enumeration` | `children()`
`boolean` | `getAllowsChildren()`
`TreeNode` | `getChildAt(int index)`
`int` | `getChildCount()`
`int` | `getIndex(TreeNode node)`
`Key` | `getKey()` Accessor for the key
`TreeNode` | `getParent()`
`boolean` | `isLeaf()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### key

    private Key key

### parent

    private TreeNode parent

Constructor Detail

### KeyTreeNode

    public KeyTreeNode(Key key,
                       TreeNode parent)

  Simple ctor

Method Detail

### getChildCount

    public int getChildCount()

  Specified by:
    `getChildCount` in interface `TreeNode`

### getAllowsChildren

    public boolean getAllowsChildren()

  Specified by:
    `getAllowsChildren` in interface `TreeNode`

### isLeaf

    public boolean isLeaf()

  Specified by:
    `isLeaf` in interface `TreeNode`

### children

    public Enumeration children()

  Specified by:
    `children` in interface `TreeNode`

### getParent

    public TreeNode getParent()

  Specified by:
    `getParent` in interface `TreeNode`

### getChildAt

    public TreeNode getChildAt(int index)

  Specified by:
    `getChildAt` in interface `TreeNode`

### getIndex

    public int getIndex(TreeNode node)

  Specified by:
    `getIndex` in interface `TreeNode`

### getKey

    public Key getKey()

  Accessor for the key

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD