|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.richfaces.component.TreeRowKey
org.richfaces.component.ListRowKey
public class ListRowKey
TreeRowKey
implementation based on ArrayList
Constructor Summary | |
---|---|
|
ListRowKey()
Default constructor |
|
ListRowKey(java.util.List list)
List constructor |
protected |
ListRowKey(ListRowKey parentRowKey)
Copy constructor |
|
ListRowKey(ListRowKey parentRowKey,
java.lang.Object pathElement)
Appending constructor |
|
ListRowKey(java.lang.Object path)
Path object constructor |
|
ListRowKey(java.lang.String path)
Path string constructor |
Method Summary | |
---|---|
int |
depth()
getter for key depth |
boolean |
equals(java.lang.Object obj)
|
int |
getCommonPathLength(TreeRowKey otherRowKey)
returns this row key and otherRowKey argument row key common path segments count |
java.lang.String |
getPath()
getter for path string representation |
java.util.Iterator |
getSubPathIterator(int fromIndex)
getter for subpath iterator |
int |
hashCode()
|
boolean |
isSubKey(TreeRowKey rowKey)
tests if specified rowKey is sub-key of this row key |
java.util.Iterator |
iterator()
getter for path iterator |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListRowKey()
protected ListRowKey(ListRowKey parentRowKey)
parentRowKey
- row key to clonepublic ListRowKey(ListRowKey parentRowKey, java.lang.Object pathElement)
parentRowKey
- base row keypathElement
- path segment to append to base row keypublic ListRowKey(java.util.List list)
list
- List of strings to create corresponding row key frompublic ListRowKey(java.lang.Object path)
path
- first path segmentpublic ListRowKey(java.lang.String path)
path
- path string to create corresponding row key fromMethod Detail |
---|
public java.lang.String toString()
toString
in class TreeRowKey
public int depth()
TreeRowKey
depth
in class TreeRowKey
public java.util.Iterator iterator()
TreeRowKey
iterator
in class TreeRowKey
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.Iterator getSubPathIterator(int fromIndex)
TreeRowKey
getSubPathIterator
in class TreeRowKey
public boolean isSubKey(TreeRowKey rowKey)
TreeRowKey
isSubKey
in class TreeRowKey
public java.lang.String getPath()
TreeRowKey
getPath
in class TreeRowKey
public int getCommonPathLength(TreeRowKey otherRowKey)
TreeRowKey
getCommonPathLength
in class TreeRowKey
otherRowKey
- TreeRowKey
to count common path segments for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |