|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.TreeNode
public class TreeNode
Helper class for Tree Traversal wrapping a TreeItem.
| Field Summary | |
|---|---|
private boolean |
filterRead
|
private boolean |
isUnread
|
private TreeItem |
item
|
| Constructor Summary | |
|---|---|
TreeNode(TreeItem item,
boolean filterRead)
Create a new TreeNode wrapping a TreeItem. |
|
| Method Summary | |
|---|---|
private boolean |
exclude()
Check wether this Node is to be exlucded because of applied filter rules. |
TreeNode |
getFirstChild()
Get the first child of this Node or NULL if no childs at all. |
TreeItem |
getItem()
Get the wrapped TreeItem. |
TreeNode |
getNextSibling()
Get the next Sibling of this Node or NULL if no next Sibling at all. |
TreeNode |
getParent()
Get the parent Node of this Node or NULL if no parent at all. |
boolean |
hasChildNodes()
Check wether this Node contains any child Nodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private boolean filterRead
private boolean isUnread
private TreeItem item
| Constructor Detail |
|---|
public TreeNode(TreeItem item,
boolean filterRead)
item - The Item to wrap inside this helper.filterRead - If TRUE, filter read Items.| Method Detail |
|---|
public TreeNode getFirstChild()
public TreeItem getItem()
public TreeNode getNextSibling()
public TreeNode getParent()
public boolean hasChildNodes()
private boolean exclude()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||