Class ChartSheetProtection
java.lang.Object
com.independentsoft.office.spreadsheet.ChartSheetProtection
The Class ChartSheetProtection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the password.booleanChecks if is content locked.booleanChecks if is objects locked.voidsetContentLocked(boolean contentLocked)Sets the content locked.voidsetObjectsLocked(boolean objectsLocked)Sets the objects locked.voidsetPassword(String password)Sets the password.toString()
-
Constructor Details
-
ChartSheetProtection
public ChartSheetProtection()Instantiates a new chart sheet protection.
-
-
Method Details
-
clone
-
toString
-
isContentLocked
public boolean isContentLocked()Checks if is content locked.- Returns:
- true, if is content locked
-
setContentLocked
public void setContentLocked(boolean contentLocked)Sets the content locked.- Parameters:
contentLocked- the new content locked
-
isObjectsLocked
public boolean isObjectsLocked()Checks if is objects locked.- Returns:
- true, if is objects locked
-
setObjectsLocked
public void setObjectsLocked(boolean objectsLocked)Sets the objects locked.- Parameters:
objectsLocked- the new objects locked
-
getPassword
Gets the password.- Returns:
- the password
-
setPassword
Sets the password.- Parameters:
password- the new password
-