The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
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-1999 The Mozilla Organization.