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

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

public class TotalFieldChangedEvent
extends com.google.gwt.event.shared.GwtEvent<TotalFieldChangedHandler>

Fired when the total checkbox 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 TotalFieldChangedEvent(boolean total)
          Construct a new TotalFieldChangedEvent.
 
Method Summary
protected  void dispatch(TotalFieldChangedHandler handler)
           
static
<S extends HasTotalFieldChangedHandlers & com.google.gwt.event.shared.HasHandlers>
void
fire(S source, boolean total)
          Fires a total field changed event on all registered handlers in the handler source.
 com.google.gwt.event.shared.GwtEvent.Type<TotalFieldChangedHandler> getAssociatedType()
           
static com.google.gwt.event.shared.GwtEvent.Type<TotalFieldChangedHandler> getType()
          Ensures the existence of the handler hook and then returns it.
 boolean isTotalChecked()
          Returns true if the total checkbox is checked
 
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

TotalFieldChangedEvent

protected TotalFieldChangedEvent(boolean total)
Construct a new TotalFieldChangedEvent.

Parameters:
total - the new status of the total checkbox
Method Detail

fire

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

Type Parameters:
S - The handler source
Parameters:
source - the source of the handlers
total - the new status of the total checkbox

getType

public static com.google.gwt.event.shared.GwtEvent.Type<TotalFieldChangedHandler> 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<TotalFieldChangedHandler> getAssociatedType()
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<TotalFieldChangedHandler>

isTotalChecked

public boolean isTotalChecked()
Returns true if the total checkbox is checked

Returns:
true if the total checkbox is checked

dispatch

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


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