be.lassi.domain
Class Controlable
java.lang.Object
be.lassi.base.SaveableObject
be.lassi.base.NamedObject
be.lassi.domain.LevelObject
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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.
Controlable
protected Controlable(Dirty dirty,
int id,
java.lang.String name)
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