Overview  Package   Class  Tree  Index 

be.lassi.domain
Class Controlable

java.lang.Object
  extended by be.lassi.base.SaveableObject
      extended by be.lassi.base.NamedObject
          extended by be.lassi.domain.LevelObject
              extended by be.lassi.domain.Controlable
Direct Known Subclasses:
Channel, Submaster

public abstract class Controlable
extends LevelObject


Field Summary
protected  LevelControl levelControl
          The level control (fader or encoder) on the midi input control device that is assigned to this submaster, null if no level control is assigned to this submaster.
 
Constructor Summary
protected Controlable(Dirty dirty, int id, java.lang.String name)
           
 
Method Summary
abstract  java.lang.String getLabel()
          Gets the text to be shown on the Sheet table row.
 LevelControl getLevelControl()
          Gets the fader that is controlling this channel.
 int getSheetGroupId()
           
 boolean isControlled()
          Indicates whether this channel is controlled through a fader.
 void setLevelControl(LevelControl levelControl)
          Sets the level control that will control this channel.
 
Methods inherited from class be.lassi.domain.LevelObject
equals, getIntValue, getLevel, getValue, hashCode, setIntValue, setValue
 
Methods inherited from class be.lassi.base.NamedObject
addNameListener, getId, getName, removeNameListener, setName
 
Methods inherited from class be.lassi.base.SaveableObject
doNotMarkDirty, getDirty, isDirty, markDirty, setDirty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

levelControl

protected LevelControl levelControl
The level control (fader or encoder) on the midi input control device that is assigned to this submaster, null if no level control is assigned to this submaster.

Constructor Detail

Controlable

protected Controlable(Dirty dirty,
                      int id,
                      java.lang.String name)
Method Detail

getLabel

public abstract java.lang.String getLabel()
Gets the text to be shown on the Sheet table row.

Returns:
the Sheet row text

getLevelControl

public LevelControl getLevelControl()
Gets the fader that is controlling this channel.

Returns:
the level control that is controlling this channel, null if no level control is controlling this channel

getSheetGroupId

public int getSheetGroupId()

isControlled

public boolean isControlled()
Indicates whether this channel is controlled through a fader.

Returns:
true if controlled through a fader

setLevelControl

public void setLevelControl(LevelControl levelControl)
Sets the level control that will control this channel.

Parameters:
levelControl - the level control that will control this channel

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2