|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.base.YList.ListCursorImpl
Cursor implementation for ylists
Constructor Summary | |
protected |
YList.ListCursorImpl()
|
Method Summary | |
Object |
current()
Returns the Object currently pointed on. |
void |
next()
Moves this cursor one position forward. |
boolean |
ok()
Returns true if the current cursor position is valid. |
void |
prev()
Moves this cursor one position backward (optional) |
int |
size()
Returns the number of elements that can be accessed with this cursor. |
void |
toFirst()
Moves this cursor to the first valid cursor position (optional). |
void |
toLast()
Moves this cursor to the last valid cursor position (optional). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected YList.ListCursorImpl()
Method Detail |
public boolean ok()
YCursor
true
if the current cursor position is valid.
ok
in interface YCursor
public void next()
YCursor
next
in interface YCursor
public void prev()
YCursor
prev
in interface YCursor
public void toFirst()
YCursor
toFirst
in interface YCursor
public void toLast()
YCursor
toLast
in interface YCursor
public int size()
YCursor
size
in interface YCursor
public Object current()
YCursor
current
in interface YCursor
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |