com.pepper.guiutils.browser
Class FindConfig

java.lang.Object
  extended by com.pepper.guiutils.browser.FindConfig

public class FindConfig
extends Object

Wrapper class that encapsulates find operations in the browser


Constructor Summary
FindConfig(String searchString)
          Constructor to create config for search operation.
FindConfig(String searchString, boolean findBackwards, boolean wrapFind, boolean entireWord, boolean matchCase, boolean searchFrames)
          Constructor to create config for search operation.
 
Method Summary
 String getSearchString()
          Returns Search String for the config.
 boolean isEntireWord()
          Returns true if search try's to match only complete word.
 boolean isFindBackwards()
          Returns true search direction will be backward.
 boolean isMatchCase()
          Returns true if search is case sensitive.
 boolean isSearchFrames()
          Returns true if frames are searched.
 boolean isWrapFind()
          Returns true if continues after end/begin(in case of backward search) of page.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindConfig

public FindConfig(String searchString)
Constructor to create config for search operation.

Parameters:
searchString - the string to search. Note:- rest of the find parameteres are all set to false.
See Also:
FindConfig.FindConfig(String,boolean,boolean,boolean,boolean,boolean)

FindConfig

public FindConfig(String searchString,
                  boolean findBackwards,
                  boolean wrapFind,
                  boolean entireWord,
                  boolean matchCase,
                  boolean searchFrames)
Constructor to create config for search operation.

Parameters:
searchString - the string to search.
findBackwards - If true search direction will be backward.
wrapFind - If true search continues after end/begin(in case of backward search) of page.
entireWord - If true search try's to match only complete word.
matchCase - If true search is case sensitive.
searchFrames - If true frames are searched.
Method Detail

getSearchString

public String getSearchString()
Returns Search String for the config.


isFindBackwards

public boolean isFindBackwards()
Returns true search direction will be backward.


isWrapFind

public boolean isWrapFind()
Returns true if continues after end/begin(in case of backward search) of page.


isEntireWord

public boolean isEntireWord()
Returns true if search try's to match only complete word.


isMatchCase

public boolean isMatchCase()
Returns true if search is case sensitive.


isSearchFrames

public boolean isSearchFrames()
Returns true if frames are searched.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.