be.lassi.fixtures
Class SetAttribute
java.lang.Object
be.lassi.fixtures.FixtureCommand
be.lassi.fixtures.SetAttribute
public class SetAttribute
- extends FixtureCommand
Command to set a fixture attribute value.
Constructor Summary |
SetAttribute(java.lang.String attributeName,
int dmxValue)
Constructs a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetAttribute
public SetAttribute(java.lang.String attributeName,
int dmxValue)
- Constructs a new instance.
- Parameters:
attributeName
- the name of the attributedmxValue
- the dmx value to be set
execute
public void execute(Fixture fixture,
ChannelChangeProcessor processor)
-
- Specified by:
execute
in class FixtureCommand
getAttributeName
public java.lang.String getAttributeName()
- Gets the attribute name.
- Returns:
- the attribute name
getDmxValue
public int getDmxValue()
- Gets the DMX value.
- Returns:
- the DMX value