weka.gui

## Class GenericObjectEditorHistory.HistorySelectionEvent

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

- All Implemented Interfaces:
    java.io.Serializable
  Enclosing class:
    GenericObjectEditorHistory

      public static class GenericObjectEditorHistory.HistorySelectionEvent
      extends java.util.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 and Description
    `GenericObjectEditorHistory.HistorySelectionEvent(java.lang.Object source, java.lang.Object historyItem)` Initializes the event.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.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 Detail

    - #### GenericObjectEditorHistory.HistorySelectionEvent

          public GenericObjectEditorHistory.HistorySelectionEvent(java.lang.Object source,
                                                          java.lang.Object historyItem)

      Initializes the event.
      Parameters:
        `source` - the object that triggered the event
        `historyItem` - the selected history item

  - ### Method Detail

    - #### getHistoryItem

          public java.lang.Object getHistoryItem()

      Returns the selected history item.
      Returns:
        the history item