|
|||||||||
| 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 BookTreeNode

java.lang.Objectcom.eireneh.bible.passage.swing.BibleTreeNode
com.eireneh.bible.passage.swing.BookTreeNode
- All Implemented Interfaces:
- javax.swing.tree.TreeNode
- Direct Known Subclasses:
- ChapterTreeNode
- public class BookTreeNode
- extends BibleTreeNode
PassageTableModel.
|
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 |
| Nested classes inherited from class com.eireneh.bible.passage.swing.BibleTreeNode |
BibleTreeNode.NodeEnumeration |
| Field Summary | |
protected int |
book
The Book that this node referrs to |
protected javax.swing.tree.TreeNode |
parent
The base of this tree |
| Fields inherited from class com.eireneh.bible.passage.swing.BibleTreeNode |
kids, ref |
| Constructor Summary | |
protected |
BookTreeNode(javax.swing.tree.TreeNode parent,
int book)
This constructor is for when we are really a BookTreeNode |
| Method Summary | |
int |
getBook()
The current book number (Genesis=1) |
javax.swing.tree.TreeNode |
getChildAt(int i)
Returns the child TreeNode at index i |
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. |
void |
setPassage(com.eireneh.bible.passage.Passage ref,
boolean filter)
This constructor is for when we are really a BookTreeNode |
java.lang.String |
toString()
How we appear in the Tree |
| Methods inherited from class com.eireneh.bible.passage.swing.BibleTreeNode |
children, getAllowsChildren, getChildCount, isLeaf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
book
protected int book
- The Book that this node referrs to
parent
protected javax.swing.tree.TreeNode parent
- The base of this tree
| Constructor Detail |
BookTreeNode
protected BookTreeNode(javax.swing.tree.TreeNode parent, int book) throws com.eireneh.bible.passage.NoSuchVerseException
- This constructor is for when we are really a BookTreeNode
| Method Detail |
setPassage
public void setPassage(com.eireneh.bible.passage.Passage ref, boolean filter)
- This constructor is for when we are really a BookTreeNode
- Overrides:
setPassagein classBibleTreeNode
getChildAt
public javax.swing.tree.TreeNode getChildAt(int i)
- Returns the child
TreeNodeat index i- Specified by:
getChildAtin interfacejavax.swing.tree.TreeNode- Overrides:
getChildAtin classBibleTreeNode
getParent
public javax.swing.tree.TreeNode getParent()
- Returns the parent
TreeNodeof the receiver.- Specified by:
getParentin interfacejavax.swing.tree.TreeNode- Overrides:
getParentin classBibleTreeNode
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- Overrides:
getIndexin classBibleTreeNode
toString
public java.lang.String toString()
- How we appear in the Tree
- Overrides:
toStringin classBibleTreeNode
getBook
public int getBook()
- The current book number (Genesis=1)
|
|||||||||
| 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