com.sage.swt.client.widget.grouppanel
Class TotalFieldChangedEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<TotalFieldChangedHandler>
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 classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
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 |
TotalFieldChangedEvent
protected TotalFieldChangedEvent(boolean total)
- Construct a new
TotalFieldChangedEvent
.
- Parameters:
total
- the new status of the total checkbox
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 handlerstotal
- 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.