com.jpeterson.x10.event
Class OffEvent

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

public class OffEvent
extends FunctionEvent

Turn the previously addressed units on the same house code off.

See Also:
Serialized Form

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

OffEvent

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