org.vectomatic.svg.edit.client.event
Class RotationEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<RotationHandler>
      extended by org.vectomatic.svg.edit.client.event.RotationEvent

public class RotationEvent
extends com.google.gwt.event.shared.GwtEvent<RotationHandler>

Event emitted when a rotation occurs

Author:
laaglu

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
RotationEvent(float angleDeg)
           
 
Method Summary
protected  void dispatch(RotationHandler handler)
           
 float getAngle()
           
 com.google.gwt.event.shared.GwtEvent.Type<RotationHandler> getAssociatedType()
           
static com.google.gwt.event.shared.GwtEvent.Type<RotationHandler> getType()
          Ensures the existence of the handler hook and then returns it.
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RotationEvent

public RotationEvent(float angleDeg)
Method Detail

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<RotationHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<RotationHandler>

getType

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

Returns:
returns a handler hook

dispatch

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

getAngle

public float getAngle()


Copyright © 2010. All Rights Reserved.