com.borland.primetime.editor
Class SearchManager.SearchListener

java.lang.Object
  |
  +--com.borland.primetime.editor.SearchManager.SearchListener
Enclosing class:
SearchManager

public static class SearchManager.SearchListener
extends java.lang.Object
implements SearchResultsListener


Constructor Summary
SearchManager.SearchListener(EditorPane editor, java.lang.String searchText)
           
 
Method Summary
 void matchFound(EditorPane editor, int line, int column, int length, java.lang.String searchText, java.lang.String matchLine)
          Invoked when a search match is found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchManager.SearchListener

public SearchManager.SearchListener(EditorPane editor,
                                    java.lang.String searchText)
Method Detail

matchFound

public void matchFound(EditorPane editor,
                       int line,
                       int column,
                       int length,
                       java.lang.String searchText,
                       java.lang.String matchLine)
Description copied from interface: SearchResultsListener
Invoked when a search match is found.
Specified by:
matchFound in interface SearchResultsListener
Tags copied from interface: SearchResultsListener
Parameters:
line - The line on which the start of the match was found.
column - The column on which the start of the match was found.
length - The length of the match (important for regular expressions).
searchText - The text that was searched for.
matchLine - The line containing the start of the text which was matched.