public class

RangeChangeEvent

extends GwtEvent<H extends EventHandler>
java.lang.Object
   ↳ com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler>
     ↳ com.google.gwt.view.client.RangeChangeEvent

Class Overview

Represents a range change event.

Summary

Nested Classes
interface RangeChangeEvent.Handler Handler interface for RangeChangeEvent events. 
Protected Constructors
RangeChangeEvent(Range range)
Creates a RangeChangeEvent.
Public Methods
static void fire(HasRows source, Range range)
Fires a RangeChangeEvent on all registered handlers in the handler manager.
final Type<RangeChangeEvent.Handler> getAssociatedType()
Returns the type used to register this event.
Range getNewRange()
Gets the new range.
static Type<RangeChangeEvent.Handler> getType()
Gets the type associated with this event.
String toDebugString()
This is a method used primarily for debugging.
Protected Methods
void dispatch(RangeChangeEvent.Handler handler)
Should only be called by HandlerManager.
[Expand]
Inherited Methods
From class com.google.gwt.event.shared.GwtEvent
From class java.lang.Object

Protected Constructors

protected RangeChangeEvent (Range range)

Creates a RangeChangeEvent.

Parameters
range the new range

Public Methods

public static void fire (HasRows source, Range range)

Fires a RangeChangeEvent on all registered handlers in the handler manager. If no such handlers exist, this method will do nothing.

Parameters
source the source of the handlers
range the new range

public final Type<RangeChangeEvent.Handler> getAssociatedType ()

Returns the type used to register this event. Used by handler manager to dispatch events to the correct handlers.

Returns
  • the type

public Range getNewRange ()

Gets the new range.

Returns
  • the new range

public static Type<RangeChangeEvent.Handler> getType ()

Gets the type associated with this event.

Returns
  • returns the handler type

public String toDebugString ()

This is a method used primarily for debugging. It gives a string representation of the event details. This does not override the toString method because the compiler cannot always optimize toString out correctly. Event types should override as desired.

Returns
  • a string representing the event's specifics.

Protected Methods

protected void dispatch (RangeChangeEvent.Handler handler)

Should only be called by HandlerManager. In other words, do not use or call.

Parameters
handler handler