The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.composition.TestDataSource2
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.