com.dexterind.gopigo.events
Class StatusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.dexterind.gopigo.events.StatusEvent
All Implemented Interfaces:
java.io.Serializable

public class StatusEvent
extends java.util.EventObject

A status event is fired at every change to the GoPiGo status.

Author:
marcello
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 int status
          The status of the event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StatusEvent(java.lang.Object source)
           
StatusEvent(java.lang.Object source, int status)
           
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

status

public int status
The status of the event. All the status are referenced into the Statuses static class.

Constructor Detail

StatusEvent

public StatusEvent(java.lang.Object source)

StatusEvent

public StatusEvent(java.lang.Object source,
                   int status)