edu.rice.cs.util.swing
Class FindResult

java.lang.Object
  |
  +--edu.rice.cs.util.swing.FindResult

public class FindResult
extends Object

Returned to FindMachineDialog with the location of the found string (or -1 if the string was not found) as well as a flag indicating whether the machine wrapped around the end of the document.

Version:
$Id: FindResult.java,v 1.1 2002/06/07 21:33:55 jhsia Exp $

Field Summary
private  int _foundoffset
           
private  boolean _wrapped
           
 
Constructor Summary
FindResult(int foundoffset, boolean wrapped)
           
 
Method Summary
 int getFoundOffset()
           
 boolean getWrapped()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_foundoffset

private int _foundoffset

_wrapped

private boolean _wrapped
Constructor Detail

FindResult

public FindResult(int foundoffset,
                  boolean wrapped)
Method Detail

getFoundOffset

public int getFoundOffset()

getWrapped

public boolean getWrapped()