com.jpeterson.x10.module.event
Class CM11AEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.jpeterson.x10.ControlEvent
              |
              +--com.jpeterson.x10.module.event.CM11AEvent

public class CM11AEvent
extends ControlEvent

See Also:
Serialized Form

Field Summary
static int MACRO_INITIATED
          The CM11A received a macro initiated event.
static int POWER_FAILURE
          The CM11A received a power failure event.
 
Fields inherited from class com.jpeterson.x10.ControlEvent
id
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CM11AEvent(CM11A source, int id)
          Create a new CM11A Event.
 
Method Summary
 java.lang.String paramString()
          Returns a parameter string identifying the event.
 
Methods inherited from class com.jpeterson.x10.ControlEvent
getId, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POWER_FAILURE

public static final int POWER_FAILURE
The CM11A received a power failure event.

MACRO_INITIATED

public static final int MACRO_INITIATED
The CM11A received a macro initiated event.
Constructor Detail

CM11AEvent

public CM11AEvent(CM11A source,
                  int id)
Create a new CM11A Event.
Parameters:
source - CM11A object that is sending the event.
id - Type of event.
Method Detail

paramString

public java.lang.String paramString()
Returns a parameter string identifying the event. This method is useful for event-logging and for debugging.
Overrides:
paramString in class ControlEvent
Returns:
a string identifying the event