Modifier and Type | Field and Description |
---|---|
private org.crosswire.jsword.passage.Key |
key |
private TreeNode |
parent |
Constructor and Description |
---|
KeyTreeNode(org.crosswire.jsword.passage.Key key,
TreeNode parent)
Simple ctor
|
Modifier and Type | Method and Description |
---|---|
Enumeration<org.crosswire.jsword.passage.Key> |
children() |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
int |
getIndex(TreeNode node) |
org.crosswire.jsword.passage.Key |
getKey()
Accessor for the key
|
TreeNode |
getParent() |
boolean |
isLeaf() |
private org.crosswire.jsword.passage.Key key
private TreeNode parent
public KeyTreeNode(org.crosswire.jsword.passage.Key key, TreeNode parent)
public int getChildCount()
getChildCount
in interface TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
public Enumeration<org.crosswire.jsword.passage.Key> children()
public TreeNode getChildAt(int index)
getChildAt
in interface TreeNode
public org.crosswire.jsword.passage.Key getKey()