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 whenSqlQueryPanelEventchanges.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlQueryPanelEvent.EventTypeThe type of event.
-
Field Summary
Fields Modifier and Type Field Description protected SqlQueryPanelEvent.EventTypem_Typewhat 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 SqlQueryPanelgetSqlQueryPanel()Returns theSqlQueryPanelthat triggered the eventSqlQueryPanelEvent.EventTypegetType()Returns the event type.StringtoString()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- theSqlQueryPanelthat triggered the eventtype- the type of event
-
-
Method Detail
-
getSqlQueryPanel
public SqlQueryPanel getSqlQueryPanel()
Returns theSqlQueryPanelthat 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:
toStringin classEventObject- Returns:
- the description
-
-