com.jpeterson.x10.event
Class AllUnitsOffEvent

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

public class AllUnitsOffEvent
extends FunctionEvent

All units on the particular house code are turned off

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AllUnitsOffEvent(java.lang.Object source, char houseCode)
          Create a new 'All Units 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

AllUnitsOffEvent

public AllUnitsOffEvent(java.lang.Object source,
                        char houseCode)
Create a new 'All Units 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