be.lassi.fixtures
Class DeviceMap
java.lang.Object
be.lassi.fixtures.DeviceMap
public class DeviceMap
- extends java.lang.Object
Maps attribute names to midi level controls.
Method Summary |
LevelControl |
get(java.lang.String attributeName)
Gets the level control that is associated with given attribute name. |
java.util.Collection<java.lang.String> |
getAttributeNames()
Gets the fixture attribute names. |
void |
put(java.lang.String attributeName,
LevelControl levelControl)
Associcates an attribute name to a level control. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceMap
public DeviceMap()
get
public LevelControl get(java.lang.String attributeName)
- Gets the level control that is associated with given attribute name.
- Parameters:
attributeName
- the attribute name
- Returns:
- the level control
getAttributeNames
public java.util.Collection<java.lang.String> getAttributeNames()
- Gets the fixture attribute names.
- Returns:
- the fixture attribute name
put
public void put(java.lang.String attributeName,
LevelControl levelControl)
- Associcates an attribute name to a level control.
- Parameters:
attributeName
- the fixture attribute namelevelControl
- the level control