Skip to main content

CommonObjectLockSettings Class

A base class for lock settings.

Declaration

public abstract class CommonObjectLockSettings extends PresentationObject

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
OfficeObject
PresentationObject
CommonObjectLockSettings

CommonObjectLockSettings()

Initializes a new instance of the CommonObjectLockSettings class.

Declaration

public CommonObjectLockSettings()

Methods

deepClone() Method

Clones the current CommonObjectLockSettings instance.

Declaration

public CommonObjectLockSettings deepClone()

Returns

Type Description
CommonObjectLockSettings

The cloned CommonObjectLockSettings instance.

getDisableAspectRatioChange() Method

Disables aspect ratio changes for the current shape.

Declaration

public boolean getDisableAspectRatioChange()

Returns

Type Description
boolean

true if aspect ratio changes are disabled; otherwise, false.

getDisableGrouping() Method

Disables the ability to combine the current shape with other shapes in a group.

Declaration

public boolean getDisableGrouping()

Returns

Type Description
boolean

true if grouping is disabled; otherwise, false.

getDisableMoving() Method

Disables the ability to move the current shape on the slide.

Declaration

public boolean getDisableMoving()

Returns

Type Description
boolean

true if a user cannot move the shape; otherwise, false.

getDisableSelection() Method

Disables selection for the current shape.

Declaration

public boolean getDisableSelection()

Returns

Type Description
boolean

true if a user cannot select the shape; otherwise, false.

getIsEmpty() Method

Indicates that no lock settings are applied to the object.

Declaration

public boolean getIsEmpty()

Returns

Type Description
boolean

true if no lock settings are applied to the object; otherwise, false.

setDisableAspectRatioChange(boolean value) Method

Disables aspect ratio changes for the current shape.

Declaration

public void setDisableAspectRatioChange(boolean value)

Parameters

Name Type Description
value boolean

true if aspect ratio changes are disabled; otherwise, false.

setDisableGrouping(boolean value) Method

Disables the ability to combine the current shape with other shapes in a group.

Declaration

public void setDisableGrouping(boolean value)

Parameters

Name Type Description
value boolean

true if grouping is disabled; otherwise, false.

setDisableMoving(boolean value) Method

Disables the ability to move the current shape on the slide.

Declaration

public void setDisableMoving(boolean value)

Parameters

Name Type Description
value boolean

true if a user cannot move the shape; otherwise, false.

setDisableSelection(boolean value) Method

Disables selection for the current shape.

Declaration

public void setDisableSelection(boolean value)

Parameters

Name Type Description
value boolean

true if a user cannot select the shape; otherwise, false.