sky.monome.event.sequencer
Class SequencerListenerWithArguments<S extends SequencerComponent<S,B>,B extends ButtonManager<B>>


java.lang.Object

  extended by sky.monome.event.GenericListenerWithArguments

      extended by sky.monome.event.sequencer.SequencerListenerWithArguments<S,B>

Type Parameters:
S - Type of sequencer components that work with these sequencer listeners with arguments.
B - Type of button managers that are used by sequencer components that work with these sequencer listeners with arguments.
All Implemented Interfaces:
java.util.EventListener, SequencerListener<S,B>
Direct Known Subclasses:
NotePlayerListener

public abstract class SequencerListenerWithArguments<S extends SequencerComponent<S,B>,B extends ButtonManager<B>>
extends GenericListenerWithArguments
implements SequencerListener<S,B>

Listener that listens to sequencer 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
SequencerListenerWithArguments(java.lang.Object... arguments)
          Constructs a sequencer 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.sequencer.SequencerListener
stepChanged
 

Constructor Detail

SequencerListenerWithArguments


public SequencerListenerWithArguments(java.lang.Object... arguments)
Constructs a sequencer listener with specified arguments.

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