Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class FindOptions

java.lang.Object
  extended by com.aspose.cells.FindOptions

public class FindOptions
extends java.lang.Object

Represents find options.


Field Summary
static byte LOOKIN_FORMULAS
          Represents searching input string in formulas.
static byte LOOKIN_VALUES
          Represents searching input string in values.
static byte MATCH_CONTAINS
          Represents the cell value contains the input string.
static byte MATCH_END_WITH
          Represents the cell value ends with the input string.
static byte MATCH_ENTIRE
          Represents the cell value equals with the input string.
static byte MATCH_START_WITH
          Represents the cell value starts with the input string.
static byte SEARCH_BY_COLUMNS
          Represents searching input string column by column.
static byte SEARCH_BY_ROWS
          Represents searching input string row by row.
 
Constructor Summary
FindOptions()
          Initializes a newly created FindOptions object This parameter can be set to null if seaching from the start.
 
Method Summary
 byte getLookinType()
          Gets the lookin type.
 byte getMatchType()
          Gets the match type.
 byte getSearchType()
          Gets the search type.
 boolean isMatchCase()
          Indicates whether is match case.
 void setLookinType(byte lookinType)
          Sets the lookin type.
 void setMatchCase(boolean isMatchCase)
          Sets whether is match case.
 void setMatchType(byte matchType)
          Sets the match type.
 void setSearchType(byte searchType)
          Sets the search type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_BY_ROWS

public static final byte SEARCH_BY_ROWS
Represents searching input string row by row.

See Also:
Constant Field Values

SEARCH_BY_COLUMNS

public static final byte SEARCH_BY_COLUMNS
Represents searching input string column by column.

See Also:
Constant Field Values

LOOKIN_FORMULAS

public static final byte LOOKIN_FORMULAS
Represents searching input string in formulas.

See Also:
Constant Field Values

LOOKIN_VALUES

public static final byte LOOKIN_VALUES
Represents searching input string in values.

See Also:
Constant Field Values

MATCH_CONTAINS

public static final byte MATCH_CONTAINS
Represents the cell value contains the input string.

See Also:
Constant Field Values

MATCH_START_WITH

public static final byte MATCH_START_WITH
Represents the cell value starts with the input string.

See Also:
Constant Field Values

MATCH_END_WITH

public static final byte MATCH_END_WITH
Represents the cell value ends with the input string.

See Also:
Constant Field Values

MATCH_ENTIRE

public static final byte MATCH_ENTIRE
Represents the cell value equals with the input string.

See Also:
Constant Field Values
Constructor Detail

FindOptions

public FindOptions()
Initializes a newly created FindOptions object This parameter can be set to null if seaching from the start.

Method Detail

setMatchCase

public void setMatchCase(boolean isMatchCase)
Sets whether is match case.

Parameters:
isMatchCase - whether is match case.

isMatchCase

public boolean isMatchCase()
Indicates whether is match case.

Returns:
whether is match case.

setLookinType

public void setLookinType(byte lookinType)
Sets the lookin type.

Parameters:
lookinType - The lookin type.It could be one of the following values:
FindOptions.LOOKIN_FORMULAS
FindOptions.LOOKIN_VALUES

getLookinType

public byte getLookinType()
Gets the lookin type.

Returns:
the lookin type.
See Also:
setLookinType(byte)

setSearchType

public void setSearchType(byte searchType)
Sets the search type.

Parameters:
searchType - The search type. It could be one of the following values:
FindOptions.SEARCH_BY_COLUMNS
FindOptions.SEARCH_BY_COLUMNS

getSearchType

public byte getSearchType()
Gets the search type.

Returns:
The search type.
See Also:
setSearchType(byte)

setMatchType

public void setMatchType(byte matchType)
Sets the match type.

Parameters:
matchType - the match type.It could be one of the following values:
FindOptions.MATCH_CONTAINS
FindOptions.MATCH_END_WITH
FindOptions.MATCH_ENTIRE
FindOptions.MATCH_START_WITH

getMatchType

public byte getMatchType()
Gets the match type.

Returns:
the match type.
See Also:
setMatchType(byte)