com.jpeterson.x10.event
Class PresetDim1Event

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

public class PresetDim1Event
extends FunctionEvent

Preset Dim 1 for addressed units on the same house code on.

See Also:
Serialized Form

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

PresetDim1Event

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