|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.Event<H> com.google.gwt.event.shared.GwtEvent<RangeChangeEvent.Handler> com.google.gwt.view.client.RangeChangeEvent
public class RangeChangeEvent
Represents a range change event.
Nested Class Summary | |
---|---|
static interface |
RangeChangeEvent.Handler
Handler interface for RangeChangeEvent events. |
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
RangeChangeEvent(Range range)
Creates a RangeChangeEvent . |
Method Summary | |
---|---|
protected void |
dispatch(RangeChangeEvent.Handler handler)
Should only be called by HandlerManager . |
static void |
fire(HasRows source,
Range range)
Fires a RangeChangeEvent on all registered handlers in the handler
manager. |
GwtEvent.Type<RangeChangeEvent.Handler> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
Range |
getNewRange()
Gets the new range. |
static GwtEvent.Type<RangeChangeEvent.Handler> |
getType()
Gets the type associated with this event. |
java.lang.String |
toDebugString()
This is a method used primarily for debugging. |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected RangeChangeEvent(Range range)
RangeChangeEvent
.
range
- the new rangeMethod Detail |
---|
public static void fire(HasRows source, Range range)
RangeChangeEvent
on all registered handlers in the handler
manager. If no such handlers exist, this method will do nothing.
source
- the source of the handlersrange
- the new rangepublic static GwtEvent.Type<RangeChangeEvent.Handler> getType()
public final GwtEvent.Type<RangeChangeEvent.Handler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.
getAssociatedType
in class GwtEvent<RangeChangeEvent.Handler>
public Range getNewRange()
public java.lang.String toDebugString()
Event
toDebugString
in class Event<RangeChangeEvent.Handler>
protected void dispatch(RangeChangeEvent.Handler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<RangeChangeEvent.Handler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |