Interface Cursor
public interface Cursor
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSibling
(Node node) void
cancel()
void
<T> T
findAnnotation
(Class<T> type) <T> T
findAnnotation
(Class<T> type, Object key) int
index()
boolean
isFirst()
boolean
isLast()
boolean
isRoot()
void
next()
node()
void
onEnd
(Cursor.OnEnd onEnd) parent()
void
remove()
void
repeat()
void
root()
rootNode()
setUserState
(Object userState) sibling
(int offset)
-
Method Details
-
parent
Cursor parent() -
root
Cursor root() -
isRoot
boolean isRoot() -
sibling
-
firstSibling
Node firstSibling() -
lastSibling
Node lastSibling() -
cancel
void cancel() -
cancelAll
void cancelAll() -
repeat
void repeat() -
next
void next() -
remove
void remove() -
replace
-
addSibling
-
rootNode
Node rootNode() -
node
Node node() -
index
int index() -
isFirst
boolean isFirst() -
isLast
boolean isLast() -
onEnd
-
setUserState
-
userState
Object userState() -
findUserState
Object findUserState() -
findAnnotation
-
findAnnotation
-