Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class SetLayerChase

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

public class SetLayerChase
extends LayerCueStep

Sets the layer chase parameters.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
SetLayerChase()
          Constructs a new cue step.
SetLayerChase(byte[] bytes)
          Constructs a new cue step.
SetLayerChase(int layerNumber, ChaseMode chaseMode, int chaseSpeedStart, int chaseSpeedEnd, Time fadeTime)
          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).
 ChaseMode getChaseMode()
          Gets the chase mode.
 int getChaseSpeedEnd()
          Gets the chase speed end value.
 int getChaseSpeedStart()
          Gets the chase speed start value.
 Time getFadeTime()
          Gets the fade time.
 int getId()
          Gets the identifier of the cue step type.
 int hashCode()
          
 void setChaseMode(ChaseMode chaseMode)
          Sets the chase mode.
 void setChaseSpeedEnd(int chaseSpeedEnd)
          Sets the chase speed end value.
 void setChaseSpeedStart(int chaseSpeedStart)
          Sets the chase speed start value.
 void setFadeTime(Time fadeTime)
          Sets the fade time.
 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

SetLayerChase

public SetLayerChase()
Constructs a new cue step.


SetLayerChase

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

Parameters:
bytes - the raw cue step buffer

SetLayerChase

public SetLayerChase(int layerNumber,
                     ChaseMode chaseMode,
                     int chaseSpeedStart,
                     int chaseSpeedEnd,
                     Time fadeTime)
Constructs a new instance.

Parameters:
layerNumber - the layer number
chaseMode - the chase mode
chaseSpeedStart - the chase speed start value
chaseSpeedEnd - the chase speed end value
fadeTime - the fade time
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

getChaseMode

public ChaseMode getChaseMode()
Gets the chase mode.

Returns:
the chase mode

getChaseSpeedEnd

public int getChaseSpeedEnd()
Gets the chase speed end value.

Returns:
the chase speed end value

getChaseSpeedStart

public int getChaseSpeedStart()
Gets the chase speed start value.

Returns:
the chase speed start value

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

hashCode

public int hashCode()

Overrides:
hashCode in class LayerCueStep

setChaseMode

public void setChaseMode(ChaseMode chaseMode)
Sets the chase mode.

Parameters:
chaseMode - the chase mode to set

setChaseSpeedEnd

public void setChaseSpeedEnd(int chaseSpeedEnd)
Sets the chase speed end value.

Parameters:
chaseSpeedEnd - the chase speed value to set

setChaseSpeedStart

public void setChaseSpeedStart(int chaseSpeedStart)
Sets the chase speed start value.

Parameters:
chaseSpeedStart - the chase speed value to set

setFadeTime

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

Parameters:
fadeTime - the fade time to set

toString

public java.lang.String toString()

Overrides:
toString in class LayerCueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2