com.sage.swt.client.widget.grouppanel
Class GroupFieldChangedEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<GroupFieldChangedHandler>
          extended by com.sage.swt.client.widget.grouppanel.GroupFieldChangedEvent

public class GroupFieldChangedEvent
extends com.google.gwt.event.shared.GwtEvent<GroupFieldChangedHandler>

Fired when the group field has changed.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
protected GroupFieldChangedEvent(GroupField groupField, boolean isPreferenceStoreChange)
          Construct a new ResizeEvent.
 
Method Summary
protected  void dispatch(GroupFieldChangedHandler handler)
           
static
<S extends HasGroupFieldChangedHandlers & com.google.gwt.event.shared.HasHandlers>
void
fire(S source, GroupField groupField, boolean isPreferenceStoreChange)
          Fires a group field changed event on all registered handlers in the handler source.
 com.google.gwt.event.shared.GwtEvent.Type<GroupFieldChangedHandler> getAssociatedType()
           
 GroupField getGroupField()
          Returns the newly selected group field, or null if the user has selected "Select group"
static com.google.gwt.event.shared.GwtEvent.Type<GroupFieldChangedHandler> getType()
          Ensures the existence of the handler hook and then returns it.
 boolean isPreferenceStoreChange()
          Returns true if a preference store triggered this change
 
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, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupFieldChangedEvent

protected GroupFieldChangedEvent(GroupField groupField,
                                 boolean isPreferenceStoreChange)
Construct a new ResizeEvent.

Parameters:
groupField - The newly selected group field, or null if the user has changed the selection to "Select group".
isPreferenceStoreChange - If true a preferenceStore triggered this change
Method Detail

fire

public static <S extends HasGroupFieldChangedHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source,
                                                                                                          GroupField groupField,
                                                                                                          boolean isPreferenceStoreChange)
Fires a group field changed event on all registered handlers in the handler source.

Type Parameters:
S - The handler source
Parameters:
source - the source of the handlers
groupField - The newly selected group field, or null if the user has changed the selection to "Select group".
isPreferenceStoreChange - If true a preferenceStore triggered this change

getType

public static com.google.gwt.event.shared.GwtEvent.Type<GroupFieldChangedHandler> getType()
Ensures the existence of the handler hook and then returns it.

Returns:
returns a handler hook

getAssociatedType

public final com.google.gwt.event.shared.GwtEvent.Type<GroupFieldChangedHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<GroupFieldChangedHandler>

getGroupField

public GroupField getGroupField()
Returns the newly selected group field, or null if the user has selected "Select group"

Returns:
the newly selected group field, or null if the user has selected "Select group"

isPreferenceStoreChange

public boolean isPreferenceStoreChange()
Returns true if a preference store triggered this change

Returns:
true if a preference store triggered this change

dispatch

protected void dispatch(GroupFieldChangedHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<GroupFieldChangedHandler>


Copyright © 2011 Sage Software, Inc. All rights reserved.