gr.teicrete.mta.midi.mappings
Class ControllerChannel

java.lang.Object
  extended by gr.teicrete.mta.midi.mappings.ControllerChannel

public class ControllerChannel
extends java.lang.Object

Wrapper class for Controller Channel number

Author:
zavi

Constructor Summary
ControllerChannel(int channel)
          The ControllerChannel constructor
 
Method Summary
 int getChannel()
          Method to obtain the Controller Channel number
 Mappable getMapTarget()
          Method to obtain the ControllerChannel's mapTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerChannel

public ControllerChannel(int channel)
The ControllerChannel constructor

Parameters:
channel - The Controller channel number
Method Detail

getChannel

public int getChannel()
Method to obtain the Controller Channel number

Returns:
The number of the channel

getMapTarget

public Mappable getMapTarget()
Method to obtain the ControllerChannel's mapTarget

Returns:
A Mappable object which is the current mapTarget