org.netbeans.spi.quicksearch 1.6.1

org.netbeans.spi.quicksearch
Class SearchRequest

java.lang.Object
  extended by org.netbeans.spi.quicksearch.SearchRequest

public final class SearchRequest
extends Object

Description of quick search request. Implementors of SearchProvider are expected to get information from SearchRequest instance and perform search appropriately in SearchProvider.evaluate(org.netbeans.spi.quicksearch.SearchRequest, org.netbeans.spi.quicksearch.SearchResponse) method.


Method Summary
 List<? extends KeyStroke> getShortcut()
          Access to shortcut used for searching.
 String getText()
          Access to text used for searching.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getText

public String getText()
Access to text used for searching. Can be null if shortcut was entered by user instead of plain text.

Returns:
Text entered by user into Quick Search UI or null.

getShortcut

public List<? extends KeyStroke> getShortcut()
Access to shortcut used for searching. Can be null if plain text was entered by user instead of shortcut.

Returns:
Shortcut entered by user into Quick Search UI or null.

org.netbeans.spi.quicksearch 1.6.1

Built on February 9 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.