weka.gui.sql.event

## Class ResultChangedEvent

- java.lang.Object
- - java.util.EventObject
  - - weka.gui.sql.event.ResultChangedEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class ResultChangedEvent
      extends java.util.EventObject

  An event that is generated when a different Result is activated in the ResultPanel.
  Version:
    $Revision: 8034 $
  Author:
    FracPete (fracpete at waikato dot ac dot nz)
  See Also:
    `ResultChangedListener`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResultChangedEvent(java.lang.Object source, java.lang.String url, java.lang.String user, java.lang.String pw, java.lang.String query)` constructs the event

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getPassword()` returns the password that produced the table model
    `java.lang.String` | `getQuery()` returns the query that was executed
    `java.lang.String` | `getURL()` returns the database URL that produced the table model
    `java.lang.String` | `getUser()` returns the user that produced the table model
    `java.lang.String` | `toString()` returns the event in a string representation

    - ### Methods inherited from class java.util.EventObject

      `getSource`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ResultChangedEvent

          public ResultChangedEvent(java.lang.Object source,
                            java.lang.String url,
                            java.lang.String user,
                            java.lang.String pw,
                            java.lang.String query)

      constructs the event
      Parameters:
        `source` - the source that generated this event
        `url` - the current database url
        `user` - the current user
        `pw` - the current password
        `query` - the current query

  - ### Method Detail

    - #### getURL

          public java.lang.String getURL()

      returns the database URL that produced the table model

    - #### getUser

          public java.lang.String getUser()

      returns the user that produced the table model

    - #### getPassword

          public java.lang.String getPassword()

      returns the password that produced the table model

    - #### getQuery

          public java.lang.String getQuery()

      returns the query that was executed

    - #### toString

          public java.lang.String toString()

      returns the event in a string representation
      Overrides:
        `toString` in class `java.util.EventObject`
      Returns:
        the event in a string representation