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

java.lang.Object
  extended by sky.monome.event.GenericListenerWithArguments
      extended by sky.monome.event.frame.FrameListenerWithArguments<F>
Type Parameters:
F - Type of dynamic frame that is used with frame listeners.
All Implemented Interfaces:
java.util.EventListener, FrameListener<F>

public abstract class FrameListenerWithArguments<F extends DynamicFrame<F>>
extends GenericListenerWithArguments
implements FrameListener<F>

Listener that listens to frame events. Arguments can be given at the construction time and can be used internally.

Author:
PJ Skyman

Field Summary
 
Fields inherited from class sky.monome.event.GenericListenerWithArguments
arguments
 
Constructor Summary
FrameListenerWithArguments(java.lang.Object... arguments)
          Constructs a frame listener with specified arguments.
 
Method Summary
 
Methods inherited from class sky.monome.event.GenericListenerWithArguments
getArgument, getArgument, getArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sky.monome.event.frame.FrameListener
frameChanged
 

Constructor Detail

FrameListenerWithArguments

public FrameListenerWithArguments(java.lang.Object... arguments)
Constructs a frame listener with specified arguments.

Parameters:
arguments - Arguments to give to this frame listener for future internal use.