Overview  Package   Class  Tree  Index 

be.lassi.lanbox.cuesteps
Class Comment

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

public class Comment
extends CueStep

Cue step with comment string.


Field Summary
static int ID
          Cue step type identifier.
 
Constructor Summary
Comment()
          Constructs a new cue step.
Comment(byte[] bytes)
          Constructs a new cue step.
Comment(java.lang.String comment)
          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).
 java.lang.String getComment()
          Gets the comment string.
 int getId()
          Gets the identifier of the cue step type.
 int hashCode()
          
 void setComment(java.lang.String comment)
          Sets the comment string.
 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

Comment

public Comment()
Constructs a new cue step.


Comment

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

Parameters:
bytes - the raw cue step buffer

Comment

public Comment(java.lang.String comment)
Constructs a new cue step.

Parameters:
comment - the comment string
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

getComment

public java.lang.String getComment()
Gets the comment string.

Returns:
the comment string

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

setComment

public void setComment(java.lang.String comment)
Sets the comment string.

Parameters:
comment - the comment string to set

toString

public java.lang.String toString()

Overrides:
toString in class CueStep

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2