|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jpeterson.x10.module.MacroElement
Constructor Summary | |
protected |
MacroElement()
Provided for proper serialization. |
|
MacroElement(FunctionEvent function)
Create a MacroElement for the provided FunctionEvent. |
Method Summary | |
void |
addDevice(int device)
Add a device to this macro element. |
boolean |
getBrightenFirst()
Determine the functions preference for brightening first before dimming. |
byte[] |
getBytes()
Get the byte array representing this macro element. |
int[] |
getDevices()
Retrieve an array of devices for this macro element. |
FunctionEvent |
getFunction()
Get the function event for this macro element. |
void |
removeDevice(int device)
Remove a device from this macro element. |
void |
setBrightenFirst(boolean brightenFirst)
If this is a dim command, should the device be brought to 100% percent first before applying the dim, or just dim. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected MacroElement()
public MacroElement(FunctionEvent function)
Method Detail |
public FunctionEvent getFunction()
public void setBrightenFirst(boolean brightenFirst)
brightenFirst
- Set to true if the devices should be brought up
to 100% before the dim is performed, false if the devices should
be dimmed from their current brightness.public boolean getBrightenFirst()
public void addDevice(int device)
device
- Device number for this macro element.public void removeDevice(int device)
device
- Device to be removed from this macro element.public int[] getDevices()
public byte[] getBytes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |