ProtectedRange
Inheritance: java.lang.Object
public class ProtectedRange
A specified range to be allowed to edit when the sheet protection is ON.
Methods
Method | Description |
---|---|
addArea(int startRow, int startColumn, int endRow, int endColumn) | Adds a referred area to this |
equals(Object arg0) | |
getAreas() | Gets all referred areas. |
getCellArea() | Gets the CellArea object represents the cell area to be protected. |
getClass() | |
getName() | Gets the Range title. |
getPassword() | Represents the password to protect the range. |
getSecurityDescriptor() | The security descriptor defines user accounts who may edit this range without providing a password to access the range. |
hashCode() | |
isProtectedWithPassword() | Indicates whether the worksheets is protected with password. |
notify() | |
notifyAll() | |
setName(String value) | Gets the Range title. |
setPassword(String value) | Represents the password to protect the range. |
setSecurityDescriptor(String value) | The security descriptor defines user accounts who may edit this range without providing a password to access the range. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
addArea(int startRow, int startColumn, int endRow, int endColumn)
public void addArea(int startRow, int startColumn, int endRow, int endColumn)
Adds a referred area to this
Parameters:
Parameter | Type | Description |
---|---|---|
startRow | int | The start row. |
startColumn | int | The start column. |
endRow | int | The end row. |
endColumn | int | The end column. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAreas()
public CellArea[] getAreas()
Gets all referred areas.
Returns: com.aspose.cells.CellArea[] - Returns all referred areas.
getCellArea()
public CellArea getCellArea()
Gets the CellArea object represents the cell area to be protected.
Returns: CellArea
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Gets the Range title. This is used as a descriptor, not as a named range definition.
Returns: java.lang.String
getPassword()
public String getPassword()
Represents the password to protect the range.
Returns: java.lang.String
getSecurityDescriptor()
public String getSecurityDescriptor()
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
isProtectedWithPassword()
public boolean isProtectedWithPassword()
Indicates whether the worksheets is protected with password.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setName(String value)
public void setName(String value)
Gets the Range title. This is used as a descriptor, not as a named range definition.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPassword(String value)
public void setPassword(String value)
Represents the password to protect the range.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setSecurityDescriptor(String value)
public void setSecurityDescriptor(String value)
The security descriptor defines user accounts who may edit this range without providing a password to access the range.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |