Class Undo
java.lang.Object
com.independentsoft.office.spreadsheet.revisions.Undo
The Class Undo.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the cell reference.Gets the defined name.Gets the expression.intgetIndex()Gets the index.getRange()Gets the range.intGets the sheet id.booleanChecks if is array entered.booleanChecks if is cross sheet move.booleanChecks if is defined name formula.booleanChecks if is reference3 d.booleanChecks if is value needed.voidsetArrayEntered(boolean isArrayEntered)Sets the array entered.voidsetCellReference(String cellReference)Sets the cell reference.voidsetCrossSheetMove(boolean isCrossSheetMove)Sets the cross sheet move.voidsetDefinedName(String definedName)Sets the defined name.voidsetDefinedNameFormula(boolean isDefinedNameFormula)Sets the defined name formula.voidsetExpression(FormulaExpressionType expression)Sets the expression.voidsetIndex(int index)Sets the index.voidSets the range.voidsetReference3D(boolean isReference3D)Sets the reference3 d.voidsetSheetID(int sheetID)Sets the sheet id.voidsetValueNeeded(boolean valueNeeded)Sets the value needed.toString()
-
Constructor Details
-
Undo
public Undo()Instantiates a new undo.
-
-
Method Details
-
clone
-
toString
-
isArrayEntered
public boolean isArrayEntered()Checks if is array entered.- Returns:
- true, if is array entered
-
setArrayEntered
public void setArrayEntered(boolean isArrayEntered)Sets the array entered.- Parameters:
isArrayEntered- the new array entered
-
isCrossSheetMove
public boolean isCrossSheetMove()Checks if is cross sheet move.- Returns:
- true, if is cross sheet move
-
setCrossSheetMove
public void setCrossSheetMove(boolean isCrossSheetMove)Sets the cross sheet move.- Parameters:
isCrossSheetMove- the new cross sheet move
-
getDefinedName
Gets the defined name.- Returns:
- the defined name
-
setDefinedName
Sets the defined name.- Parameters:
definedName- the new defined name
-
getRange
Gets the range.- Returns:
- the range
-
setRange
Sets the range.- Parameters:
range- the new range
-
getExpression
Gets the expression.- Returns:
- the expression
-
setExpression
Sets the expression.- Parameters:
expression- the new expression
-
getIndex
public int getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(int index)Sets the index.- Parameters:
index- the new index
-
isDefinedNameFormula
public boolean isDefinedNameFormula()Checks if is defined name formula.- Returns:
- true, if is defined name formula
-
setDefinedNameFormula
public void setDefinedNameFormula(boolean isDefinedNameFormula)Sets the defined name formula.- Parameters:
isDefinedNameFormula- the new defined name formula
-
getCellReference
Gets the cell reference.- Returns:
- the cell reference
-
setCellReference
Sets the cell reference.- Parameters:
cellReference- the new cell reference
-
isReference3D
public boolean isReference3D()Checks if is reference3 d.- Returns:
- true, if is reference3 d
-
setReference3D
public void setReference3D(boolean isReference3D)Sets the reference3 d.- Parameters:
isReference3D- the new reference3 d
-
getSheetID
public int getSheetID()Gets the sheet id.- Returns:
- the sheet id
-
setSheetID
public void setSheetID(int sheetID)Sets the sheet id.- Parameters:
sheetID- the new sheet id
-
isValueNeeded
public boolean isValueNeeded()Checks if is value needed.- Returns:
- true, if is value needed
-
setValueNeeded
public void setValueNeeded(boolean valueNeeded)Sets the value needed.- Parameters:
valueNeeded- the new value needed
-