public class HistoryChangedEvent extends EventObject
HistoryChangedListener,
Serialized Form| Constructor and Description |
|---|
HistoryChangedEvent(Object source,
String name,
DefaultListModel history)
constructs the event
|
| Modifier and Type | Method and Description |
|---|---|
DefaultListModel |
getHistory()
returns the history model
|
String |
getHistoryName()
returns the name of the history
|
String |
toString()
returns the event in a string representation
|
getSourcepublic HistoryChangedEvent(Object source, String name, DefaultListModel history)
name - the name of the historyhistory - the model of the historypublic String getHistoryName()
public DefaultListModel getHistory()
public String toString()
toString in class EventObjectCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.