Package adams.gui.event
Class SqlQueryPanelEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.event.SqlQueryPanelEvent
-
- All Implemented Interfaces:
Serializable
public class SqlQueryPanelEvent extends EventObject
Event that gets sent whenSqlQueryPanelEvent
changes.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlQueryPanelEvent.EventType
The type of event.
-
Field Summary
Fields Modifier and Type Field Description protected SqlQueryPanelEvent.EventType
m_Type
what type of event occurred.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SqlQueryPanelEvent(SqlQueryPanel source, SqlQueryPanelEvent.EventType type)
Initializes the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlQueryPanel
getSqlQueryPanel()
Returns theSqlQueryPanel
that triggered the eventSqlQueryPanelEvent.EventType
getType()
Returns the event type.String
toString()
Returns a short description of the object.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Field Detail
-
m_Type
protected SqlQueryPanelEvent.EventType m_Type
what type of event occurred.
-
-
Constructor Detail
-
SqlQueryPanelEvent
public SqlQueryPanelEvent(SqlQueryPanel source, SqlQueryPanelEvent.EventType type)
Initializes the event.- Parameters:
source
- theSqlQueryPanel
that triggered the eventtype
- the type of event
-
-
Method Detail
-
getSqlQueryPanel
public SqlQueryPanel getSqlQueryPanel()
Returns theSqlQueryPanel
that triggered the event- Returns:
- the panel
-
getType
public SqlQueryPanelEvent.EventType getType()
Returns the event type.- Returns:
- true if the panel was added
-
toString
public String toString()
Returns a short description of the object.- Overrides:
toString
in classEventObject
- Returns:
- the description
-
-