You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4