Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class WaitLayer

java.lang.Object
  extended by be.lassi.lanbox.cuesteps.CueStep
      extended by be.lassi.lanbox.cuesteps.WaitLayer

public class WaitLayer
extends CueStep

Waits during a given hold time before stepping to the next cue step in the current cue list.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
WaitLayer()
          Constructs a new cue step.
WaitLayer(byte[] bytes)
          Constructs a new cue step.
WaitLayer(Time holdTime)
          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).
 Time getHoldTime()
          Gets the amount of time during which the layer should wait.
 int getId()
          Gets the identifier of the cue step type.
 int hashCode()
          
 void setHoldTime(Time holdTime)
          Sets the amount of time during which the layer should wait.
 java.lang.String toString()
          
 
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

WaitLayer

public WaitLayer()
Constructs a new cue step.


WaitLayer

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

Parameters:
bytes - the raw cue step buffer

WaitLayer

public WaitLayer(Time holdTime)
Constructs a new cue step.

Parameters:
holdTime - amount of time during which the layer should wait
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 CueStep

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 CueStep
Returns:
the raw buffer

getHoldTime

public Time getHoldTime()
Gets the amount of time during which the layer should wait.

Returns:
the hold 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 CueStep

setHoldTime

public void setHoldTime(Time holdTime)
Sets the amount of time during which the layer should wait.

Parameters:
holdTime - the hold time to set

toString

public java.lang.String toString()

Overrides:
toString in class CueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2