|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
be.lassi.cues
Class LightCueDetail
java.lang.Object be.lassi.cues.CueDetail be.lassi.cues.LightCueDetail
public class LightCueDetail
- extends CueDetail
A Cue represents a state of lighting on the stage.
The lighting state is determined by the lighting levels for individual channels and levels per submaster.
Cues can be 'selected' to perform actions such as cut and copy.
A cue is 'current' when it is the cue that will be used for the next lighting action (GO). There should be only one cue that is the current cue at anyone time. It is the responsibility of the CueList class to make sure that is true.
Implementers of CueListener can listen for changes. To get notified of changes to the cue Timing, a TimingListener has to be registered with the Timing object itself.
Constructor Summary | |
---|---|
LightCueDetail(Timing timing,
int numberOfChannels,
int numberOfSubmasters)
Constructs new cue detail. |
Method Summary | |
---|---|
void |
append(java.lang.StringBuilder b)
Appends the cue details to given string builder. |
LightCueDetail |
copy()
Returns a deep copy of these cue details. |
boolean |
equals(java.lang.Object object)
|
ChannelChanges |
getChannelChanges()
|
CueChannelLevel |
getChannelLevel(int channelIndex)
Return the level in this cue for the channel at given index. |
java.util.List<CueStep> |
getCueSteps()
Gets the cue steps of this cue. |
int |
getNumberOfChannels()
|
int |
getNumberOfSubmasters()
|
CueSubmasterLevel |
getSubmasterLevel(int submasterIndex)
Return the level in this cue for the submaster at given index. |
Timing |
getTiming()
Return the cue fade and delay timing. |
java.lang.String |
getType()
Gets a textual description of the cue type. |
boolean |
isTimingSelected()
|
void |
setTiming(CueListener from,
Timing timing)
|
void |
setTiming(Timing timing)
|
void |
setTimingSelected(boolean selected)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
LightCueDetail
public LightCueDetail(Timing timing, int numberOfChannels, int numberOfSubmasters)
- Constructs new cue detail.
- Parameters:
number
-prompt
-numberOfChannels
-numberOfSubmasters
-
Method Detail |
---|
append
public void append(java.lang.StringBuilder b)
- Appends the cue details to given string builder.
- Parameters:
b
- the string builder to append to
copy
public LightCueDetail copy()
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in classjava.lang.Object
getChannelChanges
public ChannelChanges getChannelChanges()
getChannelLevel
public CueChannelLevel getChannelLevel(int channelIndex)
- Return the level in this cue for the channel at given index.
- Parameters:
channelIndex
-- Returns:
- CueChannelLevel
getCueSteps
public java.util.List<CueStep> getCueSteps()
- Gets the cue steps of this cue.
- Overrides:
getCueSteps
in classCueDetail
- Returns:
- the cue steps
getNumberOfChannels
public int getNumberOfChannels()
- Returns:
getNumberOfSubmasters
public int getNumberOfSubmasters()
- Returns:
getSubmasterLevel
public CueSubmasterLevel getSubmasterLevel(int submasterIndex)
- Return the level in this cue for the submaster at given index.
- Parameters:
submasterIndex
-- Returns:
- CueSubmasterLevel
getTiming
public Timing getTiming()
- Return the cue fade and delay timing.
- Returns:
- Timing
getType
public java.lang.String getType()
- Gets a textual description of the cue type.
- Returns:
- the cue type
isTimingSelected
public boolean isTimingSelected()
setTiming
public void setTiming(CueListener from, Timing timing)
- Parameters:
from
-timing
-
setTiming
public void setTiming(Timing timing)
- Parameters:
timing
-
setTimingSelected
public void setTimingSelected(boolean selected)
toString
public java.lang.String toString()
-
- Overrides:
toString
in classjava.lang.Object
|
Lighting Assistant 1.2 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |