Overview  Package   Class  Tree  Index 

be.lassi.cues
Class LightCues

java.lang.Object
  extended by be.lassi.base.SaveableObject
      extended by be.lassi.cues.CueCollection
          extended by be.lassi.cues.LightCues
All Implemented Interfaces:
java.lang.Iterable<Cue>

public class LightCues
extends CueCollection

Collection of Cues.


Constructor Summary
LightCues(Dirty dirty, Submasters submasters)
          Create new instance.
LightCues(Submasters submasters)
           
 
Method Summary
 void deactivateChannel(int lightCueIndex, int channelIndex)
           
 void deactivateCueSubmaster(int lightCueIndex, int submasterIndex)
           
 void deactivateSubmasterLevel(int submasterIndex, int channelIndex)
           
 LightCueDetail getDetail(int lightCueIndex)
           
 void insert(int index, Cue cue)
          Add a Cue at given index.
 void remove(int index)
           
 void removeAll()
           
 void resetChannel(int lightCueIndex, int channelIndex)
          Make given channel cell 'derived'.
 void resetSubmaster(int lightCueIndex, int submasterIndex)
          Make given submaster cell 'derived'.
 void setChannel(int cueIndex, int channelIndex, float value)
          Set value of given channel cell.
 void setCueSubmaster(int cueIndex, int submasterIndex, float value)
          Set value of given submaster cell.
 void setSubmasterChannel(int submasterIndex, int channelIndex, float value)
           
 
Methods inherited from class be.lassi.cues.CueCollection
addListener, equals, fireAdded, fireCueNumbersChanged, fireCurrentChanged, fireRemoved, fireSelectionChanged, get, getListeners, hasCurrent, indexOf, insertCue, iterator, removeCue, removeListener, setCueListener, size
 
Methods inherited from class be.lassi.base.SaveableObject
doNotMarkDirty, getDirty, isDirty, markDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightCues

public LightCues(Dirty dirty,
                 Submasters submasters)
Create new instance.

Parameters:
newSubmasters -

LightCues

public LightCues(Submasters submasters)
Method Detail

deactivateChannel

public void deactivateChannel(int lightCueIndex,
                              int channelIndex)

deactivateCueSubmaster

public void deactivateCueSubmaster(int lightCueIndex,
                                   int submasterIndex)

deactivateSubmasterLevel

public void deactivateSubmasterLevel(int submasterIndex,
                                     int channelIndex)

getDetail

public LightCueDetail getDetail(int lightCueIndex)

insert

public void insert(int index,
                   Cue cue)
Add a Cue at given index.


remove

public void remove(int index)

removeAll

public void removeAll()

resetChannel

public void resetChannel(int lightCueIndex,
                         int channelIndex)
Make given channel cell 'derived'. Pick up the value from the previous cue, or set the value to zero if this is the first cue.

Parameters:
cueIndex -
channelIndex -

resetSubmaster

public void resetSubmaster(int lightCueIndex,
                           int submasterIndex)
Make given submaster cell 'derived'. Pick up the value from the previous cue, or set the value to zero if this is the first cue.

Parameters:
cueIndex -
submasterIndex -

setChannel

public void setChannel(int cueIndex,
                       int channelIndex,
                       float value)
Set value of given channel cell.

The cell is set to 'not derived'. Set corresponding levels in subsequent cues to same value until non-derived level is encountered.

Parameters:
cueIndex -
channelIndex -
value -

setCueSubmaster

public void setCueSubmaster(int cueIndex,
                            int submasterIndex,
                            float value)
Set value of given submaster cell.

The cell is set to 'not derived'. Set corresponding levels in subsequent cues to same value until non-derived level is encountered.

Parameters:
cueIndex -
submasterIndex -
value -

setSubmasterChannel

public void setSubmasterChannel(int submasterIndex,
                                int channelIndex,
                                float value)

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2