sky.monome.event.frame
Class FrameEvent<F extends DynamicFrame<F>>


java.lang.Object

  extended by java.util.EventObject

      extended by sky.monome.event.GenericEvent<F>

          extended by sky.monome.event.frame.FrameEvent<F>

Type Parameters:
F - Type of dynamic frame that triggers frame events.
All Implemented Interfaces:
java.io.Serializable

public class FrameEvent<F extends DynamicFrame<F>>
extends GenericEvent<F>

Frame event's information object. Frame events are triggered by DynamicFrame objects.

Author:
PJ Skyman
See Also:
Serialized Form

Field Summary
 
Fields inherited from class sky.monome.event.GenericEvent
when
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FrameEvent(long when, F source)
          Constructs a frame event with the specified time and source.
 
Method Summary
 
Methods inherited from class sky.monome.event.GenericEvent
getSource2, getWhen
 
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
 

Constructor Detail

FrameEvent


public FrameEvent(long when,

                  F source)
Constructs a frame event with the specified time and source.

Parameters:
when - Time of this event, in milliseconds since the time zero in the Unix world.
source - Source of this event. DynamicFrame objects are sources for frame events.