Class RevisionDefinedName
java.lang.Object
com.independentsoft.office.spreadsheet.revisions.RevisionDefinedName
The Class RevisionDefinedName.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the comment.Gets the custom menu text.Gets the description.Gets the formula.Gets the function group.getHelp()Gets the help.intGets the local sheet id.getName()Gets the name.Gets the old comment.Gets the old custom menu text.Gets the old description.Gets the old formula.Gets the old function group.Gets the old help.intGets the old shortcut key.Gets the old status bar.intGets the revision id.intGets the shortcut key.Gets the status bar.booleanChecks if is custom view.booleanChecks if is function.booleanisHidden()Checks if is hidden.booleanChecks if is old function.booleanChecks if is old hidden.booleanChecks if is revision from rejection.booleanChecks if is revision undo rejected.voidsetComment(String comment)Sets the comment.voidsetCustomMenuText(String customMenuText)Sets the custom menu text.voidsetCustomView(boolean isCustomView)Sets the custom view.voidsetDescription(String description)Sets the description.voidsetFormula(String formula)Sets the formula.voidsetFunction(boolean isFunction)Sets the function.voidsetFunctionGroup(FunctionGroupCategory functionGroup)Sets the function group.voidSets the help.voidsetHidden(boolean isHidden)Sets the hidden.voidsetLocalSheetID(int localSheetID)Sets the local sheet id.voidSets the name.voidsetOldComment(String oldComment)Sets the old comment.voidsetOldCustomMenuText(String oldCustomMenuText)Sets the old custom menu text.voidsetOldDescription(String oldDescription)Sets the old description.voidsetOldFormula(String oldFormula)Sets the old formula.voidsetOldFunction(boolean isOldFunction)Sets the old function.voidsetOldFunctionGroup(FunctionGroupCategory oldFunctionGroup)Sets the old function group.voidsetOldHelp(String oldHelp)Sets the old help.voidsetOldHidden(boolean isOldHidden)Sets the old hidden.voidsetOldShortcutKey(int oldShortcutKey)Sets the old shortcut key.voidsetOldStatusBar(String oldStatusBar)Sets the old status bar.voidsetRevisionFromRejection(boolean revisionFromRejection)Sets the revision from rejection.voidsetRevisionID(int revisionID)Sets the revision id.voidsetRevisionUndoRejected(boolean revisionUndoRejected)Sets the revision undo rejected.voidsetShortcutKey(int shortcutKey)Sets the shortcut key.voidsetStatusBar(String statusBar)Sets the status bar.toString()
-
Constructor Details
-
RevisionDefinedName
public RevisionDefinedName()Instantiates a new revision defined name.
-
-
Method Details
-
clone
-
toString
-
getFormula
Gets the formula.- Returns:
- the formula
-
setFormula
Sets the formula.- Parameters:
formula- the new formula
-
getOldFormula
Gets the old formula.- Returns:
- the old formula
-
setOldFormula
Sets the old formula.- Parameters:
oldFormula- the new old formula
-
getComment
Gets the comment.- Returns:
- the comment
-
setComment
Sets the comment.- Parameters:
comment- the new comment
-
getCustomMenuText
Gets the custom menu text.- Returns:
- the custom menu text
-
setCustomMenuText
Sets the custom menu text.- Parameters:
customMenuText- the new custom menu text
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
isCustomView
public boolean isCustomView()Checks if is custom view.- Returns:
- true, if is custom view
-
setCustomView
public void setCustomView(boolean isCustomView)Sets the custom view.- Parameters:
isCustomView- the new custom view
-
isFunction
public boolean isFunction()Checks if is function.- Returns:
- true, if is function
-
setFunction
public void setFunction(boolean isFunction)Sets the function.- Parameters:
isFunction- the new function
-
getFunctionGroup
Gets the function group.- Returns:
- the function group
-
setFunctionGroup
Sets the function group.- Parameters:
functionGroup- the new function group
-
getHelp
Gets the help.- Returns:
- the help
-
setHelp
Sets the help.- Parameters:
help- the new help
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-
getLocalSheetID
public int getLocalSheetID()Gets the local sheet id.- Returns:
- the local sheet id
-
setLocalSheetID
public void setLocalSheetID(int localSheetID)Sets the local sheet id.- Parameters:
localSheetID- the new local sheet id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getOldComment
Gets the old comment.- Returns:
- the old comment
-
setOldComment
Sets the old comment.- Parameters:
oldComment- the new old comment
-
getOldCustomMenuText
Gets the old custom menu text.- Returns:
- the old custom menu text
-
setOldCustomMenuText
Sets the old custom menu text.- Parameters:
oldCustomMenuText- the new old custom menu text
-
getOldDescription
Gets the old description.- Returns:
- the old description
-
setOldDescription
Sets the old description.- Parameters:
oldDescription- the new old description
-
isOldFunction
public boolean isOldFunction()Checks if is old function.- Returns:
- true, if is old function
-
setOldFunction
public void setOldFunction(boolean isOldFunction)Sets the old function.- Parameters:
isOldFunction- the new old function
-
getOldFunctionGroup
Gets the old function group.- Returns:
- the old function group
-
setOldFunctionGroup
Sets the old function group.- Parameters:
oldFunctionGroup- the new old function group
-
getOldHelp
Gets the old help.- Returns:
- the old help
-
setOldHelp
Sets the old help.- Parameters:
oldHelp- the new old help
-
isOldHidden
public boolean isOldHidden()Checks if is old hidden.- Returns:
- true, if is old hidden
-
setOldHidden
public void setOldHidden(boolean isOldHidden)Sets the old hidden.- Parameters:
isOldHidden- the new old hidden
-
getOldShortcutKey
public int getOldShortcutKey()Gets the old shortcut key.- Returns:
- the old shortcut key
-
setOldShortcutKey
public void setOldShortcutKey(int oldShortcutKey)Sets the old shortcut key.- Parameters:
oldShortcutKey- the new old shortcut key
-
getOldStatusBar
Gets the old status bar.- Returns:
- the old status bar
-
setOldStatusBar
Sets the old status bar.- Parameters:
oldStatusBar- the new old status bar
-
isRevisionUndoRejected
public boolean isRevisionUndoRejected()Checks if is revision undo rejected.- Returns:
- true, if is revision undo rejected
-
setRevisionUndoRejected
public void setRevisionUndoRejected(boolean revisionUndoRejected)Sets the revision undo rejected.- Parameters:
revisionUndoRejected- the new revision undo rejected
-
getRevisionID
public int getRevisionID()Gets the revision id.- Returns:
- the revision id
-
setRevisionID
public void setRevisionID(int revisionID)Sets the revision id.- Parameters:
revisionID- the new revision id
-
getShortcutKey
public int getShortcutKey()Gets the shortcut key.- Returns:
- the shortcut key
-
setShortcutKey
public void setShortcutKey(int shortcutKey)Sets the shortcut key.- Parameters:
shortcutKey- the new shortcut key
-
getStatusBar
Gets the status bar.- Returns:
- the status bar
-
setStatusBar
Sets the status bar.- Parameters:
statusBar- the new status bar
-
isRevisionFromRejection
public boolean isRevisionFromRejection()Checks if is revision from rejection.- Returns:
- true, if is revision from rejection
-
setRevisionFromRejection
public void setRevisionFromRejection(boolean revisionFromRejection)Sets the revision from rejection.- Parameters:
revisionFromRejection- the new revision from rejection
-