Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo
Class RangeEvent

java.lang.Object
  extended by oracle.adfnmc.util.eventing.EventObject
      extended by oracle.jbo.JboEvent
          extended by oracle.jbo.RangeEvent
Direct Known Subclasses:
RangeRefreshEvent, ScrollEvent

public class RangeEvent
extends JboEvent

Generated by RowSetIterator to inform its listeners when rows in a range are updated or scrolled.

Since:
JDeveloper 3.0

Field Summary
 
Fields inherited from class oracle.adfnmc.util.eventing.EventObject
source
 
Constructor Summary
RangeEvent(RowSetIterator source)
          Creates a range event.
 
Method Summary
 Row[] getAllRowsInRange()
          Extracts the rows in the range.
 int getRangeStart()
          Gets the absolute index of the first row in the row set range.
 int getRowCountInRange()
          Counts the number of rows in the row set range.
 java.lang.String toString(java.lang.String className)
          Internal: For debugging only.
 
Methods inherited from class oracle.adfnmc.util.eventing.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeEvent

public RangeEvent(RowSetIterator source)
Creates a range event.

Parameters:
source - the publisher of the event.
Method Detail

getRangeStart

public int getRangeStart()
Gets the absolute index of the first row in the row set range.

Returns:
the View Object index of the first row of the range.

getRowCountInRange

public int getRowCountInRange()
Counts the number of rows in the row set range.

Returns:
the number of rows.

getAllRowsInRange

public Row[] getAllRowsInRange()
Extracts the rows in the range.

Returns:
an array of rows.

toString

public java.lang.String toString(java.lang.String className)
Internal: For debugging only.

Returns:
a diagnostic string.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.