public class HistoryChangedEvent extends EventObject
HistoryChangedListener
,
Serialized FormConstructor 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
|
getSource
public 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 EventObject
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.