|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.richfaces.model.TreeRowKey<T>
public abstract class TreeRowKey<T>
Base abstract clas for all tree row keys
Field Summary | |
---|---|
static char |
SEPARATOR_ESCAPE_CHAR
|
Constructor Summary | |
---|---|
TreeRowKey()
|
Method Summary | |
---|---|
abstract int |
depth()
getter for key depth |
abstract int |
getCommonPathLength(TreeRowKey<T> otherRowKey)
returns this row key and otherRowKey argument row key common path segments count |
abstract TreeRowKey<T> |
getParentKey()
|
abstract java.lang.String |
getPath()
getter for path string representation |
TreeRowKey<T> |
getSubKey(int fromIndex)
|
abstract java.util.Iterator<T> |
getSubPathIterator(int fromIndex)
getter for subpath iterator |
boolean |
isSubKey(TreeRowKey<T> rowKey)
tests if specified rowKey is sub-key of this row key |
abstract java.util.Iterator<T> |
iterator()
getter for path iterator |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final char SEPARATOR_ESCAPE_CHAR
Constructor Detail |
---|
public TreeRowKey()
Method Detail |
---|
public abstract int depth()
public abstract java.util.Iterator<T> getSubPathIterator(int fromIndex)
fromIndex
-
public abstract java.lang.String getPath()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isSubKey(TreeRowKey<T> rowKey)
rowKey
-
public abstract java.util.Iterator<T> iterator()
public abstract int getCommonPathLength(TreeRowKey<T> otherRowKey)
otherRowKey
- TreeRowKey
to count common path segments for
public abstract TreeRowKey<T> getParentKey()
public TreeRowKey<T> getSubKey(int fromIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |