public class NavigationEvent extends JboEvent
RowSet
to inform its listeners
when the iterator position in a View Object changes.Constructor and Description |
---|
NavigationEvent(NavigatableRowIterator source,
Row previousRow,
Row currentRow)
Creates a navagation event when a new row becomes current.
|
Modifier and Type | Method and Description |
---|---|
Row |
getPreviousRow()
Identifies the row that was previously the current row.
|
int |
getPreviousRowIndex()
Identifies the row that was previously the current row.
|
Row |
getRow()
Identifies the row that is to become the current row.
|
int |
getRowIndex()
Gets the index of the row that is to become the current row.
|
java.lang.String |
toString()
Internal: For debugging only.
|
public NavigationEvent(NavigatableRowIterator source, Row previousRow, Row currentRow)
source
- an accessor to a set of rows.previousRow
- the row that was the current row.currentRow
- the row that is to become the current row.public final Row getRow()
public final int getRowIndex()
public final Row getPreviousRow()
public final int getPreviousRowIndex()
-1
is returned.public java.lang.String toString()
toString
in class java.util.EventObject