com.sage.swt.client.widget.querypanel
Class OperatorChangedEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<FilterPanelHandler>
com.sage.swt.client.widget.querypanel.FilterPanelEvent
com.sage.swt.client.widget.querypanel.OperatorChangedEvent
public class OperatorChangedEvent
- extends FilterPanelEvent
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 |
OperatorChangedEvent
protected OperatorChangedEvent(SwtFilterPanel filterPanel,
SwtFilterPanel.FilterOperator filterOperator,
boolean isPreferenceStoreChange)
- The constructor
- Parameters:
filterPanel
- the filter panel that is the source of the eventfilterOperator
- the newly selected filter operatorisPreferenceStoreChange
- true is a Preference Store triggered this change
fire
public static <S extends HasFilterPanelHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source,
SwtFilterPanel filterPanel,
SwtFilterPanel.FilterOperator filterOperator,
boolean isPreferenceStoreChange)
- Fires a operator changed changed event on all registered handlers in the handler source.
- Type Parameters:
S
- The handler source- Parameters:
source
- the source of the handlersfilterPanel
- the filter panel that is the source of the eventfilterOperator
- the newly selected filter operatorisPreferenceStoreChange
- true is a Preference Store triggered this change
getFilterPanel
public SwtFilterPanel getFilterPanel()
- Returns the filter panel that was the source of the event
- Returns:
- the filter panel that was the source of the event
getFilterOperator
public SwtFilterPanel.FilterOperator getFilterOperator()
- Returns the newly selected filter operator
- Returns:
- the newly selected filter operator
isPreferenceStoreChange
public boolean isPreferenceStoreChange()
- Returns true if a preference store triggered the change
- Returns:
- true if a preference store triggered the change
dispatch
protected void dispatch(FilterPanelHandler handler)
-
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<FilterPanelHandler>
Copyright © 2011 Sage Software, Inc. All rights reserved.