Overview  Package   Class  Tree  Index 

be.lassi.lanbox.commands.layer
Class LayerSetChaseMode

java.lang.Object
  extended by be.lassi.lanbox.commands.Command
      extended by be.lassi.lanbox.commands.LanboxCommand
          extended by be.lassi.lanbox.commands.layer.LayerCommand
              extended by be.lassi.lanbox.commands.layer.LayerSetChaseMode

public class LayerSetChaseMode
extends LayerCommand

Lanbox command to determine the way a given layer sequences cue lists.


Field Summary
static java.lang.String ID
          Lanbox command identifier.
 
Constructor Summary
LayerSetChaseMode(byte[] request)
          Constructs command from request buffer.
LayerSetChaseMode(int layerNumber, ChaseMode mode)
          Constructs the command.
 
Method Summary
 void appendCommand(java.lang.StringBuilder b)
          Appends a textual description of the command.
 boolean equals(java.lang.Object object)
          
 int hashCode()
          
 
Methods inherited from class be.lassi.lanbox.commands.layer.LayerCommand
getLayerNumber, toString
 
Methods inherited from class be.lassi.lanbox.commands.LanboxCommand
get, getBoolean, getId, getInt, getInt4, getRequest, getRequestString, getResponse, processResponse, set, set2, set2, set4
 
Methods inherited from class be.lassi.lanbox.commands.Command
add, appendCommandDetail, appendResponse, getCommandString, notifyListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
Lanbox command identifier.

See Also:
Constant Field Values
Constructor Detail

LayerSetChaseMode

public LayerSetChaseMode(byte[] request)
Constructs command from request buffer.

Parameters:
request - the lanbox request buffer

LayerSetChaseMode

public LayerSetChaseMode(int layerNumber,
                         ChaseMode mode)
Constructs the command.

Parameters:
layerNumber - the layer number
mode - the chase mode to set
Method Detail

appendCommand

public void appendCommand(java.lang.StringBuilder b)
Appends a textual description of the command.

Overrides:
appendCommand in class Command
Parameters:
b - the string builder to which to append

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class LayerCommand

hashCode

public int hashCode()

Overrides:
hashCode in class LayerCommand

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2