Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.phidgets.event
Class ErrorEvent

    java.lang.Object
      com.phidgets.event.ErrorEvent

    public class ErrorEvent

extends java.lang.Object

This class represents the data for a ErrorEvent.

Constructor Summary
`ErrorEvent(Phidget source)` Class constructor.

Method Summary
`Phidget` | `getSource()` Returns the source Phidget of this event.
`java.lang.String` | `toString()` Returns a string containing information about the event.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ErrorEvent

    public ErrorEvent(Phidget source)

  Class constructor. This is called internally by the phidget library when creating this event.

  Parameters:
    `source` - the Phidget object from which this event originated

Method Detail

### getSource

    public Phidget getSource()

  Returns the source Phidget of this event. This is a reference to the Phidget object from which this event was called. This object can be cast into a specific type of Phidget object to call specific device calls on it.

  Returns:
    the event caller

### toString

    public java.lang.String toString()

  Returns a string containing information about the event.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    an informative event string

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD