Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class CueScene

java.lang.Object
  extended by be.lassi.lanbox.cuesteps.CueStep
      extended by be.lassi.lanbox.cuesteps.CueScene
Direct Known Subclasses:
CuePreviousScene, CueReferenceScene

public class CueScene
extends CueStep

Sets cue scene channels values the layer in which the cue list is executed, and enables all channels used in the scene. Uses fading if enabled.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
CueScene()
          Constructs a new cue step.
CueScene(byte[] bytes)
          Constructs a new cue step.
CueScene(FadeType fadeType, Time fadeTime, Time holdTime)
           
CueScene(FadeType fadeType, Time fadeTime, Time holdTime, ChannelChanges changes)
          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).
 ChannelChanges getChanges()
           
 Time getFadeTime()
          Gets the time used for the fading operation.
 FadeType getFadeType()
          Gets the type of fading to be used to set the channel values.
 Time getHoldTime()
          Gets the time to wait before stepping to the next cue list step.
 int getId()
          Gets the identifier of the cue step type.
protected  java.lang.String getSceneString()
          Gets a string representation of the scene to be shown.
 int hashCode()
          
 void setFadeTime(Time fadeTime)
          Sets the time used for the fading operation.
 void setFadeType(FadeType fadeType)
          Sets the type of fading to be used to set the channel values.
 void setHoldTime(Time holdTime)
          Sets the time to wait before stepping to the next cue list 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

CueScene

public CueScene()
Constructs a new cue step.


CueScene

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

Parameters:
bytes - the raw cue step buffer

CueScene

public CueScene(FadeType fadeType,
                Time fadeTime,
                Time holdTime)

CueScene

public CueScene(FadeType fadeType,
                Time fadeTime,
                Time holdTime,
                ChannelChanges changes)
Constructs a new cue step.

Parameters:
fadeType - the type of fading to be used to set the channel values
fadeTime - the time used for the fading operation
holdTime - the time to wait before stepping to the next cue list 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

getChanges

public ChannelChanges getChanges()

getFadeTime

public Time getFadeTime()
Gets the time used for the fading operation.

Returns:
the fade time

getFadeType

public FadeType getFadeType()
Gets the type of fading to be used to set the channel values.

Returns:
the fade type

getHoldTime

public Time getHoldTime()
Gets the time to wait before stepping to the next cue list step.

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

getSceneString

protected java.lang.String getSceneString()
Gets a string representation of the scene to be shown.

Returns:
the scene to be shown

hashCode

public int hashCode()

Overrides:
hashCode in class CueStep

setFadeTime

public void setFadeTime(Time fadeTime)
Sets the time used for the fading operation.

Parameters:
fadeTime - the fade time to set

setFadeType

public void setFadeType(FadeType fadeType)
Sets the type of fading to be used to set the channel values.

Parameters:
fadeType - the fade type to set

setHoldTime

public void setHoldTime(Time holdTime)
Sets the time to wait before stepping to the next cue list step.

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