Package adams.gui.goe

Class Favorites.FavoriteSelectionEvent

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Favorites

    public static class Favorites.FavoriteSelectionEvent
    extends EventObject
    Event that gets sent when a favorite gets selected.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • FavoriteSelectionEvent

        public FavoriteSelectionEvent​(Object source,
                                      Favorites.Favorite favorite)
        Initializes the event.
        Parameters:
        source - the object that triggered the event
        favorite - the selected favorite
    • Method Detail

      • getFavorite

        public Favorites.Favorite getFavorite()
        Returns the selected favorite.
        Returns:
        the favorite