com.jpeterson.x10.event
Class AllLightsOffEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.jpeterson.x10.event.X10Event
              |
              +--com.jpeterson.x10.event.FunctionEvent
                    |
                    +--com.jpeterson.x10.event.AllLightsOffEvent

public class AllLightsOffEvent
extends FunctionEvent

All lights on the particular house code are turned off.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AllLightsOffEvent(java.lang.Object source, char houseCode)
          Create a new 'All Lights Off' event.
 
Method Summary
 java.lang.String toString()
          Create a string that represents the X10 event.
 
Methods inherited from class com.jpeterson.x10.event.FunctionEvent
getFunction, getHouseCode
 
Methods inherited from class com.jpeterson.x10.event.X10Event
equals, getChecksum, getDimMax, getDims, getHiNibble, getLoNibble, getPacket, hashCode, isExtended, isFunction
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllLightsOffEvent

public AllLightsOffEvent(java.lang.Object source,
                         char houseCode)
Create a new 'All Lights Off' event.
Parameters:
source - The event source.
houseCode - the house code of the event. Valid codes are 'A' through 'P', uppercase.
Method Detail

toString

public java.lang.String toString()
Create a string that represents the X10 event.
Overrides:
toString in class FunctionEvent
Returns:
string representation of the X10 event