Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class SetLayerMixMode

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

public class SetLayerMixMode
extends LayerCueStep

Sets the layer mix mode. If the mix mode is TRANSPARENT and the fade time is not 0S, then the transparency depth will fade from transparencyStart to transparencyStop in the fade time. If the fade time is zero, then the transparency depth will be set transparencyEnd immediately. If the layer number if zero, then the target is the current layer executing this cue step.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
SetLayerMixMode()
          Constructs a new cue step.
SetLayerMixMode(byte[] bytes)
          Constructs a new cue step.
SetLayerMixMode(int layerNumber, MixMode mixMode)
          Constructs a new instance.
 
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).
 Time getFadeTime()
          Gets the fade time.
 int getId()
          Gets the identifier of the cue step type.
 MixMode getMixMode()
          Gets the mix mode.
 int getTransparencyEnd()
          Gets the transparancy end value.
 int getTransparencyStart()
          Gets the transparancy start value.
 int hashCode()
          
 void setFadeTime(Time fadeTime)
          Sets the fade time.
 void setMixMode(MixMode mixMode)
          Sets the mix mode.
 void setTransparencyEnd(int transparencyEnd)
          Sets the transparancy end value.
 void setTransparencyStart(int transparencyStart)
          Sets the transparancy start value.
 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

SetLayerMixMode

public SetLayerMixMode()
Constructs a new cue step.


SetLayerMixMode

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

Parameters:
bytes - the raw cue step buffer

SetLayerMixMode

public SetLayerMixMode(int layerNumber,
                       MixMode mixMode)
Constructs a new instance.

Parameters:
layerNumber - the layer number
mixMode - the mix mode
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

getFadeTime

public Time getFadeTime()
Gets the fade time.

Returns:
the fade time

getId

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

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

getMixMode

public MixMode getMixMode()
Gets the mix mode.

Returns:
the mix mode

getTransparencyEnd

public int getTransparencyEnd()
Gets the transparancy end value.

Returns:
the transparancy end value

getTransparencyStart

public int getTransparencyStart()
Gets the transparancy start value.

Returns:
the transparancy start value

hashCode

public int hashCode()

Overrides:
hashCode in class LayerCueStep

setFadeTime

public void setFadeTime(Time fadeTime)
Sets the fade time.

Parameters:
fadeTime - the fade time to set

setMixMode

public void setMixMode(MixMode mixMode)
Sets the mix mode.

Parameters:
mixMode - the mix mode to set

setTransparencyEnd

public void setTransparencyEnd(int transparencyEnd)
Sets the transparancy end value.

Parameters:
transparencyEnd - the transparancy value to set

setTransparencyStart

public void setTransparencyStart(int transparencyStart)
Sets the transparancy start value.

Parameters:
transparencyStart - the transparancy value to set

toString

public java.lang.String toString()

Overrides:
toString in class LayerCueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2