com.jxcell
Class FindReplaceInfo

java.lang.Object
  extended byRgn
      extended bycom.jxcell.FindReplaceInfo

public class FindReplaceInfo
extends Rgn

This class provides information about find and replace operations. It is used with the View class findFirst, findNext, and replace methods.

See Also:
Serialized Form

Field Summary
static int kByColumns
          Flag specifying that a search operation search by column
static int kByRows
          Flag specifying that a search operation search by row (default)
static int kInFormulas
          Flag specifying that a search operation look for the string in a formula (default).
static int kInValues
          Flag specifying that a search operation look for the string in a value
static int kMatchCase
          Flag specifying that a search operation match the case
static int kMatchEntireCells
          Flag specifying that a search operation match the entire cell
static int kReplaceAll
          Flag specifying that all found instances be replaced
 
Method Summary
 int getCol()
          Determines the starting column for the search in a Find and Replace operation.
 long getFoundCount()
          Returns the number of items found in a Find operation.
 long getReplacedCount()
          Returns the number of replaced items in a Replace operation.
 int getRow()
          Determines the starting row for the search in a Find and Replace operation.
 int getSheet()
          Returns the number identifying the worksheet in a Find and Replace operation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kMatchCase

public static final int kMatchCase
Flag specifying that a search operation match the case

See Also:
Constant Field Values

kMatchEntireCells

public static final int kMatchEntireCells
Flag specifying that a search operation match the entire cell

See Also:
Constant Field Values

kByRows

public static final int kByRows
Flag specifying that a search operation search by row (default)

See Also:
Constant Field Values

kByColumns

public static final int kByColumns
Flag specifying that a search operation search by column

See Also:
Constant Field Values

kInValues

public static final int kInValues
Flag specifying that a search operation look for the string in a value

See Also:
Constant Field Values

kInFormulas

public static final int kInFormulas
Flag specifying that a search operation look for the string in a formula (default).

See Also:
Constant Field Values

kReplaceAll

public static final int kReplaceAll
Flag specifying that all found instances be replaced

See Also:
Constant Field Values
Method Detail

getCol

public int getCol()
Determines the starting column for the search in a Find and Replace operation.

Returns:
the number identifying the column to begin searching in

getFoundCount

public long getFoundCount()
Returns the number of items found in a Find operation.

Returns:
the number of items found

getReplacedCount

public long getReplacedCount()
Returns the number of replaced items in a Replace operation.

Returns:
the number of items replaced

getRow

public int getRow()
Determines the starting row for the search in a Find and Replace operation.

Returns:
the number identifying the row to begin searching in.

getSheet

public int getSheet()
Returns the number identifying the worksheet in a Find and Replace operation

Returns:
the number identifying the worksheet