Package weka.gui.sql.event
Class HistoryChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- weka.gui.sql.event.HistoryChangedEvent
-
- All Implemented Interfaces:
Serializable
public class HistoryChangedEvent extends EventObject
An event that is generated when a history is modified.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
HistoryChangedListener, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HistoryChangedEvent(Object source, String name, DefaultListModel history)constructs the event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultListModelgetHistory()returns the history modelStringgetHistoryName()returns the name of the historyStringtoString()returns the event in a string representation-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
HistoryChangedEvent
public HistoryChangedEvent(Object source, String name, DefaultListModel history)
constructs the event- Parameters:
name- the name of the historyhistory- the model of the history
-
-
Method Detail
-
getHistoryName
public String getHistoryName()
returns the name of the history
-
getHistory
public DefaultListModel getHistory()
returns the history model
-
toString
public String toString()
returns the event in a string representation- Overrides:
toStringin classEventObject- Returns:
- the event in a string representation
-
-