Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

IList.atEnd

Determines whether a list has reached the last row (at either end) of this list.

Syntax

Description

The atEnd method determines whether a list has reached the last row (at either end) of this list.

atEnd() is only meaningful if hasData() is true for the list.

Returns

The returned boolean value depends on the method of navigation and the value of the "done" state if the move succeeds:

Just After You Do This...
atEnd Returns This...
Create the list.
false
Call moveToRow(IList.first,0)
false
Call moveToRow(IList.last,0)
true
Call moveToRow(IList.prev,0)
true if the current row was 1 before the move; false otherwise.
Call moveToRow(IList.next,0)
true if current row was the last before the move; unchanged otherwise.
Call moveTo(n) or
Call moveToRow(IList.gotorow,n)
false if the IList represents an uncached query object.
Otherwise, if n is the last row, then true, else false.

 

See Also

hasData

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.