weka.gui.sql.event
Class HistoryChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- weka.gui.sql.event.HistoryChangedEvent
-
- All Implemented Interfaces:
- java.io.Serializable
public class HistoryChangedEvent extends java.util.EventObjectAn event that is generated when a history is modified.- See Also:
HistoryChangedListener, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description HistoryChangedEvent(java.lang.Object source, java.lang.String name, javax.swing.DefaultListModel history)constructs the event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description javax.swing.DefaultListModelgetHistory()returns the history modeljava.lang.StringgetHistoryName()returns the name of the historyjava.lang.StringtoString()returns the event in a string representation
-
-
-
Constructor Detail
-
HistoryChangedEvent
public HistoryChangedEvent(java.lang.Object source, java.lang.String name, javax.swing.DefaultListModel history)constructs the event- Parameters:
name- the name of the historyhistory- the model of the history
-
-
Method Detail
-
getHistoryName
public java.lang.String getHistoryName()
returns the name of the history
-
getHistory
public javax.swing.DefaultListModel getHistory()
returns the history model
-
toString
public java.lang.String toString()
returns the event in a string representation- Overrides:
toStringin classjava.util.EventObject- Returns:
- the event in a string representation
-
-
DataMelt 3.0 © DataMelt by jWork.ORG