Class SortSetupEvent

  • All Implemented Interfaces:
    Serializable

    public class SortSetupEvent
    extends EventObject
    Event that gets sent when the SortPanel setup changes.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SortSetupEvent

        public SortSetupEvent​(SortPanel source,
                              SortDefinitionPanel definition,
                              SortSetupEvent.EventType type)
        Initializes the event.
        Parameters:
        source - the SortPanel that triggered the event
        definition - the definition panel that was added or removed, null if reset
        type - the type of event
    • Method Detail

      • getSortPanel

        public SortPanel getSortPanel()
        Returns the SortPanel that triggered the event
        Returns:
        the panel
      • toString

        public String toString()
        Returns a short description of the object.
        Overrides:
        toString in class EventObject
        Returns:
        the description