|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UnitListener is the interface implemented by objects that wish to recieve UnitEvents. This interface is typically implemented by software-based x10 modules. A registered UnitListener will recieve ALL events for ALL housecodes and unitcodes. It is up to the implementing class to filter out the events for specific housecodes and unitcodes if desired.
Method Summary | |
void |
allLightsOff(UnitEvent event)
allLightsOff is called when an x10 All Lights Off event occurs. |
void |
allLightsOn(UnitEvent event)
allLightsOn is called when an x10 All Lights On event occurs. |
void |
allUnitsOff(UnitEvent event)
allUnitsOff is called when an x10 All Units Off event occurs. |
void |
unitBright(UnitEvent event)
unitBright is called when an x10 Bright event occurs. |
void |
unitDim(UnitEvent event)
unitDim is called when an x10 Dim event occurs. |
void |
unitOff(UnitEvent event)
unitOff is called when an x10 Off event occurs. |
void |
unitOn(UnitEvent event)
unitOn is called when an x10 On event occurs. |
Method Detail |
public void allUnitsOff(UnitEvent event)
event
- the UnitEvent that is dispatched.public void allLightsOff(UnitEvent event)
event
- the UnitEvent that is dispatched.public void allLightsOn(UnitEvent event)
event
- the UnitEvent that is dispatched.public void unitOn(UnitEvent event)
event
- the UnitEvent that is dispatched.public void unitOff(UnitEvent event)
event
- the UnitEvent that is dispatched.public void unitDim(UnitEvent event)
event
- the UnitEvent that is dispatched.public void unitBright(UnitEvent event)
event
- the UnitEvent that is dispatched.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |