Overview  Package   Class  Tree  Index 

be.lassi.lanbox.commands.layer
Class LayerCommand

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
Direct Known Subclasses:
LayerClear, LayerGetStatus, LayerGo, LayerNextStep, LayerPause, LayerPreviousCue, LayerPreviousStep, LayerResume, LayerSetChaseMode, LayerSetChaseSpeed, LayerSetFadeTime, LayerSetFadeType, LayerSetFading, LayerSetMixMode, LayerSetOutput, LayerSetSequencing, LayerSetSolo, LayerSetTransparencyDepth

public abstract class LayerCommand
extends LanboxCommand

Lanbox command.


Constructor Summary
protected LayerCommand(byte[] request)
          Constructs command from request buffer.
protected LayerCommand(java.lang.String template, int layerNumber)
          Constructs the command.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int getLayerNumber()
          Gets the layer identifier.
 int hashCode()
          
 java.lang.String 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, appendCommand, appendCommandDetail, appendResponse, getCommandString, notifyListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerCommand

protected LayerCommand(byte[] request)
Constructs command from request buffer.

Parameters:
request - the lanbox request buffer

LayerCommand

protected LayerCommand(java.lang.String template,
                       int layerNumber)
Constructs the command.

Parameters:
template - the command template
layerNumber - the layer identifier
Method Detail

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class LanboxCommand

getLayerNumber

public int getLayerNumber()
Gets the layer identifier.

Returns:
the layer identifier

hashCode

public int hashCode()

Overrides:
hashCode in class Command

toString

public java.lang.String toString()

Overrides:
toString in class Command

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2