|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.qfs.apps.qflog.logview.FilterNode
Node of the log filter tree hierarchy built by a LogFilterTreeModel.
Note: this class has a natural ordering that is inconsistent with equals.
| Constructor Summary | |
FilterNode(java.lang.String clazz,
java.lang.String method)
Create a new FilterNode. |
|
FilterNode(java.lang.String clazz,
java.lang.String method,
int level)
Create a new FilterNode. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compare the node to some other object. |
boolean |
equals(java.lang.Object o)
Check whether the FilterNode is equal to some object. |
FilterNode |
findChild(java.lang.String clazz,
java.lang.String method)
Return a named child node. |
java.util.List |
getChildren()
Get the children of the node. |
NodeData |
getData()
Get the data of the node. |
FilterNode |
getParent()
Get the parent of the FilterNode. |
int |
hashCode()
Generate a hash code for the FilterNode. |
boolean |
isExtra()
Get the extra state of the FilterNode. |
void |
notify(de.qfs.lib.gui.TreeNotification notification)
Notify the node of some change. |
void |
setExtra(boolean extra)
Set the extra state of the FilterNode. |
void |
setLevel(int level)
Set the level on a node. |
void |
setParent(FilterNode parent)
Set the parent of the FilterNode. |
java.lang.String |
toString()
Get a String representation of the node to display in the tree. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public FilterNode(java.lang.String clazz,
java.lang.String method)
clazz - The class of the node's data.method - The method of the node's data.
public FilterNode(java.lang.String clazz,
java.lang.String method,
int level)
clazz - The class of the node's data.method - The method of the node's data.level - The level of the node's data.| Method Detail |
public void setLevel(int level)
level - The level to set.public java.lang.String toString()
public FilterNode findChild(java.lang.String clazz,
java.lang.String method)
name - The name of the node.public final java.util.List getChildren()
public final NodeData getData()
public final FilterNode getParent()
public final void setParent(FilterNode parent)
parent - The parent to set.public final boolean isExtra()
public final void setExtra(boolean extra)
extra - The extra state to set.public void notify(de.qfs.lib.gui.TreeNotification notification)
notification - Details of the change.public int hashCode()
public boolean equals(java.lang.Object o)
o - The object to compare to.public int compareTo(java.lang.Object o)
o - The Object to compare to. Must be a FilterNode.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||