org.diamondspin
Class DSStrokeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.diamondspin.DSStrokeEvent
All Implemented Interfaces:
Serializable

public class DSStrokeEvent
extends EventObject

Author:
fred
See Also:
Serialized Form

Field Summary
protected  boolean consumed
           
protected  DSStroke stroke
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DSStrokeEvent(Object source, DSStroke stroke)
          Creates a new instance of DSStrokeEvent
 
Method Summary
 void consume()
          Consumes this event, if this event can be consumed.
 DSStroke getStroke()
           
protected  boolean isConsumed()
          Returns whether this event has been consumed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stroke

protected DSStroke stroke

consumed

protected boolean consumed
Constructor Detail

DSStrokeEvent

public DSStrokeEvent(Object source,
                     DSStroke stroke)
Creates a new instance of DSStrokeEvent

Method Detail

getStroke

public DSStroke getStroke()

consume

public void consume()
Consumes this event, if this event can be consumed. Only low-level, system events can be consumed


isConsumed

protected boolean isConsumed()
Returns whether this event has been consumed.



Copyright © 2006 Frederic Vernier(LIMSI) Chia Shen(MERL) Guillaume Besacier(LIMSI). All Rights Reserved.