Package adams.gui.core
Class AbstractNamedHistoryPanel.HistoryEntrySelectionEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.core.AbstractNamedHistoryPanel.HistoryEntrySelectionEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractNamedHistoryPanel<T>
public static class AbstractNamedHistoryPanel.HistoryEntrySelectionEvent extends EventObject
Event object that gets sent whenever a history entry gets selected.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
m_Names
the names of the entries.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description HistoryEntrySelectionEvent(AbstractNamedHistoryPanel source, String[] names)
Initializes the even.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getNames()
Returns the names of the entries.AbstractNamedHistoryPanel
getPanel()
Returns the panel that triggered the event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_Names
protected String[] m_Names
the names of the entries.
-
-
Constructor Detail
-
HistoryEntrySelectionEvent
public HistoryEntrySelectionEvent(AbstractNamedHistoryPanel source, String[] names)
Initializes the even.- Parameters:
source
- the panel that triggered the eventnames
- the names of the entries
-
-
Method Detail
-
getPanel
public AbstractNamedHistoryPanel getPanel()
Returns the panel that triggered the event.- Returns:
- the panel
-
getNames
public String[] getNames()
Returns the names of the entries.- Returns:
- the names
-
-