Package weka.gui

# Class GenericObjectEditorHistory.HistorySelectionEvent

java.lang.Object
java.util.EventObject
weka.gui.GenericObjectEditorHistory.HistorySelectionEvent

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  GenericObjectEditorHistory

public static class GenericObjectEditorHistory.HistorySelectionEvent extends EventObject
Event that gets sent when a history item gets selected.

Version:
  $Revision: 10216 $
Author:
  fracpete (fracpete at waikato dot ac dot nz)
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HistorySelectionEvent(Object source, Object historyItem)`
  Initializes the event.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getHistoryItem()`
  Returns the selected history item.

  ### Methods inherited from class java.util.EventObject

  `getSource, toString`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### HistorySelectionEvent

    public HistorySelectionEvent(Object source, Object historyItem)
    Initializes the event.
    Parameters:
      `source` - the object that triggered the event
      `historyItem` - the selected history item

- ## Method Details

  - ### getHistoryItem

    public Object getHistoryItem()
    Returns the selected history item.
    Returns:
      the history item