Class HistoryChangedEvent

    • Constructor Detail

      • HistoryChangedEvent

        public HistoryChangedEvent​(Object source,
                                   String name,
                                   DefaultListModel history)
        constructs the event
        Parameters:
        name - the name of the history
        history - the model of the history
    • Method Detail

      • getHistoryName

        public String getHistoryName()
        returns the name of the history
      • toString

        public String toString()
        returns the event in a string representation
        Overrides:
        toString in class EventObject
        Returns:
        the event in a string representation