x10
Interface UnitListener

All Known Implementing Classes:
ServerDispatchProxy, UnitPanel

public interface UnitListener

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

allUnitsOff

public void allUnitsOff(UnitEvent event)
allUnitsOff is called when an x10 All Units Off event occurs.

Parameters:
event - the UnitEvent that is dispatched.

allLightsOff

public void allLightsOff(UnitEvent event)
allLightsOff is called when an x10 All Lights Off event occurs.

Parameters:
event - the UnitEvent that is dispatched.

allLightsOn

public void allLightsOn(UnitEvent event)
allLightsOn is called when an x10 All Lights On event occurs.

Parameters:
event - the UnitEvent that is dispatched.

unitOn

public void unitOn(UnitEvent event)
unitOn is called when an x10 On event occurs.

Parameters:
event - the UnitEvent that is dispatched.

unitOff

public void unitOff(UnitEvent event)
unitOff is called when an x10 Off event occurs.

Parameters:
event - the UnitEvent that is dispatched.

unitDim

public void unitDim(UnitEvent event)
unitDim is called when an x10 Dim event occurs.

Parameters:
event - the UnitEvent that is dispatched.

unitBright

public void unitBright(UnitEvent event)
unitBright is called when an x10 Bright event occurs.

Parameters:
event - the UnitEvent that is dispatched.


Copyright ©2000-2005 Wade Wassenberg.
On the web: http://x10.homelinux.org.
Send bug reports to x10@wass.homelinux.net.
Last Modified June 1, 2005