Package | com.yworks.yfiles.base |
Interface | public interface YCursor |
Implementors | YList_ListCursorImpl |
Method | Defined By | ||
---|---|---|---|
current():Object
Returns the object currently pointed on. | YCursor | ||
next():void
Moves this cursor one position forward. | YCursor | ||
ok():Boolean
Returns true if the current cursor position is valid. | YCursor | ||
prev():void
Moves this cursor one position backward (optional). | YCursor | ||
size():int
Returns the number of elements that can be accessed with this cursor. | YCursor | ||
toFirst():void
Moves this cursor to the first valid cursor position (optional). | YCursor | ||
toLast():void
Moves this cursor to the last valid cursor position (optional). | YCursor |
current | () | method |
public function current():Object
Returns the object currently pointed on.
ReturnsObject |
next | () | method |
public function next():void
Moves this cursor one position forward.
ok | () | method |
public function ok():Boolean
Returns true
if the current cursor position is valid.
Boolean |
prev | () | method |
public function prev():void
Moves this cursor one position backward (optional).
size | () | method |
public function size():int
Returns the number of elements that can be accessed with this cursor.
Returnsint |
toFirst | () | method |
public function toFirst():void
Moves this cursor to the first valid cursor position (optional).
toLast | () | method |
public function toLast():void
Moves this cursor to the last valid cursor position (optional).