|
|||||||||
| Home >> All >> com >> eireneh >> bible >> passage >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.bible.passage.swing
Class BibleTreeNode

java.lang.Objectcom.eireneh.bible.passage.swing.BibleTreeNode
- All Implemented Interfaces:
- javax.swing.tree.TreeNode
- Direct Known Subclasses:
- BookTreeNode
- public class BibleTreeNode
- extends java.lang.Object
- implements javax.swing.tree.TreeNode
- extends java.lang.Object
BibleTreeNode.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
class |
BibleTreeNode.NodeEnumeration
The Enumerate over an array |
| Field Summary | |
protected javax.swing.tree.TreeNode[] |
kids
The ChapterTreeNodes that we have created |
protected com.eireneh.bible.passage.Passage |
ref
If we are only displaying some of the verses |
| Constructor Summary | |
BibleTreeNode()
|
|
| Method Summary | |
java.util.Enumeration |
children()
Returns the children of the reciever as an Enumeration. |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
javax.swing.tree.TreeNode |
getChildAt(int i)
Returns the child TreeNode at index i |
int |
getChildCount()
Returns the number of children TreeNodes the receiver
contains. |
int |
getIndex(javax.swing.tree.TreeNode node)
Returns the index of node in the receivers children. |
javax.swing.tree.TreeNode |
getParent()
Returns the parent TreeNode of the receiver. |
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
void |
setPassage(com.eireneh.bible.passage.Passage ref,
boolean filter)
|
java.lang.String |
toString()
Returns the children of the reciever as an Enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
ref
protected com.eireneh.bible.passage.Passage ref
- If we are only displaying some of the verses
kids
protected javax.swing.tree.TreeNode[] kids
- The ChapterTreeNodes that we have created
| Constructor Detail |
BibleTreeNode
public BibleTreeNode()
| Method Detail |
setPassage
public void setPassage(com.eireneh.bible.passage.Passage ref, boolean filter)
getChildAt
public javax.swing.tree.TreeNode getChildAt(int i)
- Returns the child
TreeNodeat index i- Specified by:
getChildAtin interfacejavax.swing.tree.TreeNode
getChildCount
public int getChildCount()
- Returns the number of children
TreeNodes the receiver contains.- Specified by:
getChildCountin interfacejavax.swing.tree.TreeNode
getParent
public javax.swing.tree.TreeNode getParent()
- Returns the parent
TreeNodeof the receiver.- Specified by:
getParentin interfacejavax.swing.tree.TreeNode
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
- Returns the index of
nodein the receivers children. If the receiver does not containnode, -1 will be returned.- Specified by:
getIndexin interfacejavax.swing.tree.TreeNode
getAllowsChildren
public boolean getAllowsChildren()
- Returns true if the receiver allows children.
- Specified by:
getAllowsChildrenin interfacejavax.swing.tree.TreeNode
isLeaf
public boolean isLeaf()
- Returns true if the receiver is a leaf.
- Specified by:
isLeafin interfacejavax.swing.tree.TreeNode
children
public java.util.Enumeration children()
- Returns the children of the reciever as an Enumeration.
- Specified by:
childrenin interfacejavax.swing.tree.TreeNode
toString
public java.lang.String toString()
- Returns the children of the reciever as an Enumeration.
|
|||||||||
| Home >> All >> com >> eireneh >> bible >> passage >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.bible.passage.swing.BibleTreeNode