com.jpeterson.x10.event
Class BrightEvent

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

public class BrightEvent
extends FunctionEvent

Brighten the previously addressed units on the same house code by the specified amount.

See Also:
Serialized Form

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

BrightEvent

public BrightEvent(java.lang.Object source,
                   char houseCode,
                   int dims,
                   int dimMax)
Create a new 'Bright' event.
Parameters:
source - The event source.
houseCode - the house code of the event. Valid codes are 'A' through 'P', uppercase.
dims - The number of dims.
dimMax - The maximum number of dims for the event.
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