http://www.jpicedt.org

jpicedt.graphic.event
Class RotateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jpicedt.graphic.event.RotateEvent
All Implemented Interfaces:
Serializable

public class RotateEvent
extends EventObject

Class for notifications of rotation changes sourced by a PECanvas.

Since:
jpicedt 1.5
Version:
$Id: RotateEvent.java,v 1.3 2013/03/27 07:06:12 vincentb1 Exp $
Author:
Stephan Schulte, Benjamin Poniatowski
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RotateEvent(PECanvas source, double angle)
          a new RotateEvent sourced from the given PECanvas
 
Method Summary
 double getAngleValue()
          return the current angle
 String toString()
          a textual representation of this event
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RotateEvent

public RotateEvent(PECanvas source,
                   double angle)
a new RotateEvent sourced from the given PECanvas

Parameters:
source - the originator of the event
angle - the current angle
Method Detail

getAngleValue

public double getAngleValue()
return the current angle


toString

public String toString()
a textual representation of this event

Overrides:
toString in class EventObject

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org