org.eesgmbh.gimv.client.event
Class StateChangeEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
org.eesgmbh.gimv.client.event.FilteredDispatchGwtEvent<StateChangeEventHandler>
org.eesgmbh.gimv.client.event.StateChangeEvent
public class StateChangeEvent
- extends FilteredDispatchGwtEvent<StateChangeEventHandler>
An event that signals global state changes that might affect a number
of components in a gimv application.
States:
- Zoom: the user selected zooming into the image to be used as the effect of mouse dragging
- Move: the user selected move the image to be used as the effect of mouse dragging
TYPE
public static GwtEvent.Type<StateChangeEventHandler> TYPE
createZoom
public static StateChangeEvent createZoom(StateChangeEventHandler... blockedHandlers)
createMove
public static StateChangeEvent createMove(StateChangeEventHandler... blockedHandlers)
isZoom
public boolean isZoom()
isMove
public boolean isMove()
getAssociatedType
public GwtEvent.Type<StateChangeEventHandler> getAssociatedType()
- Specified by:
getAssociatedType in class GwtEvent<StateChangeEventHandler>
onDispatch
protected void onDispatch(StateChangeEventHandler handler)
- Description copied from class:
FilteredDispatchGwtEvent
- Invoked when a handler is contained in the blockedHandlers list
- Specified by:
onDispatch in class FilteredDispatchGwtEvent<StateChangeEventHandler>
Copyright © 2010 - EES GmbH