Class SortState
java.lang.Object
com.independentsoft.office.spreadsheet.SortState
The Class SortState.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new sort state.SortState(InternalXMLStreamReader reader)Instantiates a new sort state. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the condition.Gets the method.Gets the sort range.booleanChecks if is case sensitive.booleanChecks if is column sort.voidsetCaseSensitive(boolean caseSensitive)Sets the case sensitive.voidsetColumnSort(boolean columnSort)Sets the column sort.voidsetCondition(SortCondition condition)Sets the condition.voidsetMethod(SortMethod method)Sets the method.voidsetSortRange(String sortRange)Sets the sort range.toString()
-
Constructor Details
-
SortState
public SortState()Instantiates a new sort state. -
SortState
Instantiates a new sort state.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getCondition
Gets the condition.- Returns:
- the condition
-
setCondition
Sets the condition.- Parameters:
condition- the new condition
-
isCaseSensitive
public boolean isCaseSensitive()Checks if is case sensitive.- Returns:
- true, if is case sensitive
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)Sets the case sensitive.- Parameters:
caseSensitive- the new case sensitive
-
isColumnSort
public boolean isColumnSort()Checks if is column sort.- Returns:
- true, if is column sort
-
setColumnSort
public void setColumnSort(boolean columnSort)Sets the column sort.- Parameters:
columnSort- the new column sort
-
getSortRange
Gets the sort range.- Returns:
- the sort range
-
setSortRange
Sets the sort range.- Parameters:
sortRange- the new sort range
-
getMethod
Gets the method.- Returns:
- the method
-
setMethod
Sets the method.- Parameters:
method- the new method
-