be.lassi.control.device
Class LevelControl
java.lang.Object
be.lassi.control.device.LevelControl
- All Implemented Interfaces:
- org.jhotdraw.xml.DOMStorable
public class LevelControl
- extends java.lang.Object
- implements org.jhotdraw.xml.DOMStorable
An element on the Midi control device that can be used to change
levels. This can be a motorized fader, or and encoder.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LevelControl
public LevelControl()
LevelControl
public LevelControl(java.lang.String name,
int number)
add
public void add(Listener listener)
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class java.lang.Object
getHolder
public Holder<java.lang.Integer> getHolder()
getLevel
public int getLevel()
getModel
public com.jgoodies.binding.value.ValueModel getModel()
getNumber
public int getNumber()
getSheetGroupId
public int getSheetGroupId()
getText
public java.lang.String getText()
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
read
public void read(org.jhotdraw.xml.DOMInput in)
-
- Specified by:
read
in interface org.jhotdraw.xml.DOMStorable
remove
public void remove(Listener listener)
setLevel
public void setLevel(int level)
setSheetGroupId
public void setSheetGroupId(int sheetGroupId)
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
write
public void write(org.jhotdraw.xml.DOMOutput out)
-
- Specified by:
write
in interface org.jhotdraw.xml.DOMStorable