Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.amx.event
Class RangeChangeEvent

java.lang.Object
  extended by oracle.adfmf.amx.event.AMXEvent
      extended by oracle.adfmf.amx.event.RangeChangeEvent


public class RangeChangeEvent
extends AMXEvent

A RangeChangeEvent is a notification that the range of the source component has been changed as a result of user interface activity. It contains the old start and end values and the new start and end values.


Constructor Summary
RangeChangeEvent(int oldStart, int oldEnd, int newStart, int newEnd)
          Construct a new event object from the specified old start (inclusive), old end (exclusive), new start (inclusive) and new end (exclusive).

 

Method Summary
 int getNewEnd()
          Returns the new end, exclusive.
 int getNewStart()
          Returns the new start, inclusive.
 int getOldEnd()
          Returns the old end of the range, exclusive.
 int getOldStart()
          Returns the old start of the range, inclusive.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RangeChangeEvent

public RangeChangeEvent(int oldStart,
                        int oldEnd,
                        int newStart,
                        int newEnd)
Construct a new event object from the specified old start (inclusive), old end (exclusive), new start (inclusive) and new end (exclusive).
Parameters:
oldStart - - The previous start of this component's selected range, inclusive
oldEnd - - The previous end of this component's selected range, exclusive
newStart - - The new start of this component's selected range, inclusive
newEnd - - The new end of this component's selected range, exclusive

Method Detail

getOldStart

public int getOldStart()
Returns the old start of the range, inclusive. E.g., if the old range was for the first 5 items, oldStart would be 0.

getOldEnd

public int getOldEnd()
Returns the old end of the range, exclusive. E.g., if the old range was for the first 5 items, oldEnd would be 5.

getNewStart

public int getNewStart()
Returns the new start, inclusive. E.g., if the new range is for the second 5 items, newStart would be 5.

getNewEnd

public int getNewEnd()
Returns the new end, exclusive. E.g., if the new range is for the second 5 items, newEnd would be 10.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.