GraphicalObjectLock

Inheritance: java.lang.Object, com.aspose.slides.BaseShapeLock

All Implemented Interfaces: com.aspose.slides.IGraphicalObjectLock

public class GraphicalObjectLock extends BaseShapeLock implements IGraphicalObjectLock

Determines which operations are disabled on the parent GraphicalObject.

Methods

MethodDescription
getGroupingLocked()Determines whether adding this shape to a group is forbidden.
setGroupingLocked(boolean value)Determines whether adding this shape to a group is forbidden.
getDrilldownLocked()Determines whether selecting subshapes of this object is forbidden.
setDrilldownLocked(boolean value)Determines whether selecting subshapes of this object is forbidden.
getSelectLocked()Determines whether selecting this shape is forbidden.
setSelectLocked(boolean value)Determines whether selecting this shape is forbidden.
getAspectRatioLocked()Determines whether shape have to preserve aspect ratio on resizing.
setAspectRatioLocked(boolean value)Determines whether shape have to preserve aspect ratio on resizing.
getPositionLocked()Determines whether moving this shape is forbidden.
setPositionLocked(boolean value)Determines whether moving this shape is forbidden.
getSizeLocked()Determines whether resizing this shape is forbidden.
setSizeLocked(boolean value)Determines whether resizing this shape is forbidden.

getGroupingLocked()

public boolean getGroupingLocked()

Determines whether adding this shape to a group is forbidden. Read/write boolean.

Returns: boolean

setGroupingLocked(boolean value)

public void setGroupingLocked(boolean value)

Determines whether adding this shape to a group is forbidden. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getDrilldownLocked()

public boolean getDrilldownLocked()

Determines whether selecting subshapes of this object is forbidden. Read/write boolean.

Returns: boolean

setDrilldownLocked(boolean value)

public void setDrilldownLocked(boolean value)

Determines whether selecting subshapes of this object is forbidden. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getSelectLocked()

public boolean getSelectLocked()

Determines whether selecting this shape is forbidden. Read/write boolean.

Returns: boolean

setSelectLocked(boolean value)

public void setSelectLocked(boolean value)

Determines whether selecting this shape is forbidden. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getAspectRatioLocked()

public boolean getAspectRatioLocked()

Determines whether shape have to preserve aspect ratio on resizing. Read/write boolean.

Returns: boolean

setAspectRatioLocked(boolean value)

public void setAspectRatioLocked(boolean value)

Determines whether shape have to preserve aspect ratio on resizing. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getPositionLocked()

public boolean getPositionLocked()

Determines whether moving this shape is forbidden. Read/write boolean.

Returns: boolean

setPositionLocked(boolean value)

public void setPositionLocked(boolean value)

Determines whether moving this shape is forbidden. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getSizeLocked()

public boolean getSizeLocked()

Determines whether resizing this shape is forbidden. Read/write boolean.

Returns: boolean

setSizeLocked(boolean value)

public void setSizeLocked(boolean value)

Determines whether resizing this shape is forbidden. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean