JIDE 3.5.15

com.jidesoft.search
Class FindResult

java.lang.Object
  extended by com.jidesoft.search.FindResult

public class FindResult
extends Object

FindResult represents the text that is found by FindAndReplace. It has a start offset, a end offset and also a FindResultIntepreter which is used to interpret the find result.


Constructor Summary
FindResult(int start, int end, FindResultIntepreter editor)
           
 
Method Summary
 int getEnd()
           
 FindResultIntepreter getIntepreter()
          Gets the interpreter.
 int getStart()
           
 String getStyledText()
           
 boolean isValid()
           
 void setStyledText(String text)
           
 void setValid(boolean valid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindResult

public FindResult(int start,
                  int end,
                  FindResultIntepreter editor)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getStart

public int getStart()

getEnd

public int getEnd()

getIntepreter

public FindResultIntepreter getIntepreter()
Gets the interpreter.

Returns:
theinterpreterr.

isValid

public boolean isValid()

setValid

public void setValid(boolean valid)

getStyledText

public String getStyledText()

setStyledText

public void setStyledText(String text)

JIDE 3.5.15