Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class LoopTo

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

public class LoopTo
extends CueStep

Jumps to given cue list step, and repeats the jump the specified number of times.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
LoopTo()
          Constructs a new cue step.
LoopTo(byte[] bytes)
          Constructs a new cue step.
LoopTo(int cueStepNumber, int loopCount)
          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 getCueStepNumber()
          Gets the number of the cue step to jump to.
 int getId()
          Gets the identifier of the cue step type.
 int getLoopCount()
          Gets the number of times to perform the jump when arriving at this cue step.
 int hashCode()
          
 void setCueStepNumber(int cueStepNumber)
          Sets the number of the cue step to jump to.
 void setLoopCount(int loopCount)
          Sets the number of times to perform the jump when arriving at this cue step.
 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

LoopTo

public LoopTo()
Constructs a new cue step.


LoopTo

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

Parameters:
bytes - the raw cue step buffer

LoopTo

public LoopTo(int cueStepNumber,
              int loopCount)
Constructs a new cue step.

Parameters:
cueStepNumber - the number of the cue step to jump to
loopCount - the number of times to perform the jump when arriving at this cue step
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

getCueStepNumber

public int getCueStepNumber()
Gets the number of the cue step to jump to.

Returns:
the cue step number

getId

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

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

getLoopCount

public int getLoopCount()
Gets the number of times to perform the jump when arriving at this cue step.

Returns:
the loop count

hashCode

public int hashCode()

Overrides:
hashCode in class CueStep

setCueStepNumber

public void setCueStepNumber(int cueStepNumber)
Sets the number of the cue step to jump to.

Parameters:
cueStepNumber - the cue step number to step

setLoopCount

public void setLoopCount(int loopCount)
Sets the number of times to perform the jump when arriving at this cue step.

Parameters:
loopCount - the loop count to set

toString

public java.lang.String toString()

Overrides:
toString in class CueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2