Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class SetLayerAttributes

java.lang.Object
  extended by be.lassi.lanbox.cuesteps.CueStep
      extended by be.lassi.lanbox.cuesteps.LayerCueStep
          extended by be.lassi.lanbox.cuesteps.SetLayerAttributes

public class SetLayerAttributes
extends LayerCueStep

Sets layer attributes.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
SetLayerAttributes()
          Constructs a new cue step.
SetLayerAttributes(byte[] bytes)
          Constructs a new cue step.
SetLayerAttributes(int layerNumber, boolean fading, boolean outputEnabled, boolean solo)
          Constructs a new cue step.
 
Method Summary
 void append(java.lang.StringBuilder b)
          Appends description of this cue step to given buffer.
 boolean equals(java.lang.Object object)
          
 byte[] getBytes()
          Gets the raw buffer representation of the cue step (for use in messages that are exchanged with the lanbox).
 int getId()
          Gets the identifier of the cue step type.
 int hashCode()
          
 boolean isFading()
          Indicates whether fading is enabled in the layer.
 boolean isOutputEnabled()
          Indicates whether the outputs are enabled in the layer.
 boolean isSolo()
          Indicates whether the solo attribute is set in the layer.
 void setFading(boolean fading)
          Sets the indicator that shows whether fading is enabled in the layer.
 void setOutputEnabled(boolean outputEnabled)
          Sets the indicator that shows whether the outputs are enabled in the layer.
 void setSolo(boolean solo)
          Sets the indicator that shows whether the solo attribute is set in the layer.
 java.lang.String toString()
          
 
Methods inherited from class be.lassi.lanbox.cuesteps.LayerCueStep
getLayerName, getLayerNumber, setLayerNumber
 
Methods inherited from class be.lassi.lanbox.cuesteps.CueStep
getString, isWaitOnStep, setWaitOnStep
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final int ID
Cue step type identifier.

See Also:
Constant Field Values
Constructor Detail

SetLayerAttributes

public SetLayerAttributes()
Constructs a new cue step.


SetLayerAttributes

public SetLayerAttributes(byte[] bytes)
Constructs a new cue step.

Parameters:
bytes - the raw cue step buffer

SetLayerAttributes

public SetLayerAttributes(int layerNumber,
                          boolean fading,
                          boolean outputEnabled,
                          boolean solo)
Constructs a new cue step.

Parameters:
layerNumber - the number of the layer of which to set the attributes
fading - true if fading should be enabled
outputEnabled - true if outputs should be enabled
solo - true if solo should be enabled
Method Detail

append

public void append(java.lang.StringBuilder b)
Appends description of this cue step to given buffer.

Overrides:
append in class CueStep
Parameters:
b - the string buffer to append to

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class LayerCueStep

getBytes

public byte[] getBytes()
Gets the raw buffer representation of the cue step (for use in messages that are exchanged with the lanbox).

Overrides:
getBytes in class LayerCueStep
Returns:
the raw buffer

getId

public int getId()
Gets the identifier of the cue step type.

Specified by:
getId in class CueStep
Returns:
the cue step type

hashCode

public int hashCode()

Overrides:
hashCode in class LayerCueStep

isFading

public boolean isFading()
Indicates whether fading is enabled in the layer.

Returns:
the fading state

isOutputEnabled

public boolean isOutputEnabled()
Indicates whether the outputs are enabled in the layer.

Returns:
the outputs enabled state

isSolo

public boolean isSolo()
Indicates whether the solo attribute is set in the layer.

Returns:
the solo attribute

setFading

public void setFading(boolean fading)
Sets the indicator that shows whether fading is enabled in the layer.

Parameters:
fading - the fading state to set

setOutputEnabled

public void setOutputEnabled(boolean outputEnabled)
Sets the indicator that shows whether the outputs are enabled in the layer.

Parameters:
outputEnabled - the outputs enabled state to set

setSolo

public void setSolo(boolean solo)
Sets the indicator that shows whether the solo attribute is set in the layer.

Parameters:
solo - the solo attribute to set

toString

public java.lang.String toString()

Overrides:
toString in class LayerCueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2