Overview  Package   Class  Tree  Index 

be.lassi.lanbox.domain
Class ChannelChange

java.lang.Object
  extended by be.lassi.lanbox.domain.ChannelChange

public class ChannelChange
extends java.lang.Object

A channel change request. Whenever the application thinks a dmx output channel level should be changed it can create a ChannelChange and put it on the ChannelChangeQueue.

See Also:
ChannelChangeQueue, LanboxEngine

Constructor Summary
ChannelChange(int channelId, int dmxValue)
          Constructs a new channel change request.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int getChannelId()
          Gets the dmx channel number.
 int getDmxValue()
          Gets the new dmx value.
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelChange

public ChannelChange(int channelId,
                     int dmxValue)
Constructs a new channel change request.

Parameters:
channelId - the dmx channel number
dmxValue - the new dmx level value
Method Detail

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class java.lang.Object

getChannelId

public int getChannelId()
Gets the dmx channel number.

Returns:
the dmx channel number

getDmxValue

public int getDmxValue()
Gets the new dmx value.

Returns:
the new dmx value

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2