public class RangeChangeEvent
extends javax.faces.event.FacesEvent
source| Constructor and Description |
|---|
RangeChangeEvent(javax.faces.component.UIComponent source,
int oldStart,
int oldEnd,
int newStart,
int newEnd)
Construct a new event object from the specified source component,
old start (inclusive), old end (exclusive), new start (inclusive)
and new end (exclusive).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getNewEnd()
Returns the new end, exclusive.
|
int |
getNewStart()
Returns the new start, inclusive.
|
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.
|
int |
getOldStart()
Returns the old start of the range, inclusive.
|
int |
hashCode() |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
String |
toString() |
getComponent, getPhaseId, queue, setPhaseIdgetSourcepublic RangeChangeEvent(javax.faces.component.UIComponent source,
int oldStart,
int oldEnd,
int newStart,
int newEnd)
source - - Source UIComponent for this eventoldStart - - The previous start of this UIComponent's selected range,
inclusiveoldEnd - - The previous end of this UIComponent's selected range,
exclusivenewStart - - The new start of this UIComponent's selected range,
inclusivenewEnd - - The new end of this UIComponent's selected range,
exclusivepublic int getOldStart()
public int getOldEnd()
public int getNewStart()
public int getNewEnd()
public void processListener(javax.faces.event.FacesListener listener)
processListener in class javax.faces.event.FacesEventpublic boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener in class javax.faces.event.FacesEventpublic String toString()
toString in class EventObjectCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.