All Packages This Package Class Hierarchy Class Search Index
Class grendel.composition.TestDataSource2
java.lang.Object | +----ATC_SourceAdapter | +----grendel.composition.TestDataSource2
public class TestDataSource2 extends ATC_SourceAdapter { // Fields 3 private int mCurrentIndex; private Vector mSearchResults; String[] stringTable; // Constructors 1 public TestDataSource2(); // Methods 4 public void documentChanged(ATC_Document); private void findAllMatches(String); public String getNext(); public String getPrevious(); }
Fields
stringTable
String[] stringTable
mSearchResults
private Vector mSearchResults
mCurrentIndex
private int mCurrentIndex
Constructors
TestDataSource2
public TestDataSource2()
Methods
getNext
public String getNext()
get the next match from the results vector.
getPrevious
public String getPrevious()
get the previous match from the results vector.
documentChanged
public void documentChanged(ATC_Document doc)
Gives notification the document has changed so perform a new search.
findAllMatches
private void findAllMatches(String subString)
Find all partial matches for a search string. Store the result in the vector mSearchResults.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4