|
||||||||||
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(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(FacesListener listener)
|
void |
processListener(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(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,
exclusiveMethod Detail |
---|
public int getOldStart()
public int getOldEnd()
public int getNewStart()
public int getNewEnd()
public void processListener(FacesListener listener)
processListener
in class FacesEvent
public boolean isAppropriateListener(FacesListener listener)
isAppropriateListener
in class FacesEvent
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |