Class SearchEvent

  • All Implemented Interfaces:
    Serializable

    public class SearchEvent
    extends EventObject
    Event gets sent when a search is to be initiated.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    SearchPanel, Serialized Form
    • Field Detail

    • Constructor Detail

      • SearchEvent

        public SearchEvent​(SearchPanel source,
                           String searchText,
                           boolean regExp)
        Initializes the event.
        Parameters:
        source - the search panel that sent the event
        searchText - the actual text to search for
        regExp - whether it is a regular expression search
    • Method Detail

      • getSearchPanel

        public SearchPanel getSearchPanel()
        Returns the search panel that sent the event.
        Returns:
        the panel
      • getParameters

        public SearchParameters getParameters()
        Returns the search parameters.
        Returns:
        the search parameters
      • toString

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