Package 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: 1.2 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
ResultChangedListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPassword()
returns the password that produced the table modeljava.lang.String
getQuery()
returns the query that was executedjava.lang.String
getURL()
returns the database URL that produced the table modeljava.lang.String
getUser()
returns the user that produced the table modeljava.lang.String
toString()
returns the event in a string representation
-
-
-
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 eventurl
- the current database urluser
- the current userpw
- the current passwordquery
- 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 classjava.util.EventObject
- Returns:
- the event in a string representation
-
-