|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.faces.event.FacesEvent
org.apache.myfaces.trinidad.event.RangeChangeEvent
public class RangeChangeEvent
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.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
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). |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class javax.faces.event.FacesEvent |
|---|
getComponent, getPhaseId, queue, setPhaseId |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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,
exclusive| Method Detail |
|---|
public 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 int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||