public class RecordCollapseEvent extends BrowserEvent<RecordCollapseHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
RecordCollapseEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel record collapse
|
protected void |
dispatch(RecordCollapseHandler handler) |
static <S extends HasRecordCollapseHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<RecordCollapseHandler> |
getAssociatedType() |
ListGridRecord |
getRecord()
record being collapsed
|
static GwtEvent.Type<RecordCollapseHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RecordCollapseEvent(JavaScriptObject jsObj)
public static <S extends HasRecordCollapseHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<RecordCollapseHandler> getType()
protected void dispatch(RecordCollapseHandler handler)
dispatch
in class GwtEvent<RecordCollapseHandler>
public final GwtEvent.Type<RecordCollapseHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RecordCollapseHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public ListGridRecord getRecord()