Package weka.gui

Class 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 Description
      HistorySelectionEvent​(java.lang.Object source, java.lang.Object historyItem)
      Initializes the event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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

      • HistorySelectionEvent

        public 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