Package com.independentsoft.office.vml
Class Lock
java.lang.Object
com.independentsoft.office.vml.Lock
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Lock.
-
Constructor Summary
ConstructorsConstructorDescriptionLock()Instantiates a new lock.Lock(InternalXMLStreamReader reader)Instantiates a new lock. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the extension handling behavior.booleanChecks if is aspect ratio.booleanChecks if is auto shape type.booleanChecks if is cropping.booleanChecks if is grouping.booleanChecks if is handles.booleanChecks if is position.booleanChecks if is rotation.booleanChecks if is selection.booleanisText()Checks if is text.booleanChecks if is ungrouping.booleanChecks if is vertices.voidsetAspectRatio(boolean aspectRatio)Sets the aspect ratio.voidsetAutoShapeType(boolean autoShapeType)Sets the auto shape type.voidsetCropping(boolean cropping)Sets the cropping.voidsetExtensionHandlingBehavior(ExtensionHandlingBehavior extensionHandlingBehavior)Sets the extension handling behavior.voidsetGrouping(boolean grouping)Sets the grouping.voidsetHandles(boolean handles)Sets the handles.voidsetPosition(boolean position)Sets the position.voidsetRotation(boolean rotation)Sets the rotation.voidsetSelection(boolean selection)Sets the selection.voidsetText(boolean text)Sets the text.voidsetUngrouping(boolean ungrouping)Sets the ungrouping.voidsetVertices(boolean vertices)Sets the vertices.toString()
-
Constructor Details
-
Lock
public Lock()Instantiates a new lock. -
Lock
Instantiates a new lock.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
isHandles
public boolean isHandles()Checks if is handles.- Returns:
- true, if is handles
-
setHandles
public void setHandles(boolean handles)Sets the handles.- Parameters:
handles- the new handles
-
isAspectRatio
public boolean isAspectRatio()Checks if is aspect ratio.- Returns:
- true, if is aspect ratio
-
setAspectRatio
public void setAspectRatio(boolean aspectRatio)Sets the aspect ratio.- Parameters:
aspectRatio- the new aspect ratio
-
isCropping
public boolean isCropping()Checks if is cropping.- Returns:
- true, if is cropping
-
setCropping
public void setCropping(boolean cropping)Sets the cropping.- Parameters:
cropping- the new cropping
-
getExtensionHandlingBehavior
Gets the extension handling behavior.- Returns:
- the extension handling behavior
-
setExtensionHandlingBehavior
Sets the extension handling behavior.- Parameters:
extensionHandlingBehavior- the new extension handling behavior
-
isGrouping
public boolean isGrouping()Checks if is grouping.- Returns:
- true, if is grouping
-
setGrouping
public void setGrouping(boolean grouping)Sets the grouping.- Parameters:
grouping- the new grouping
-
isPosition
public boolean isPosition()Checks if is position.- Returns:
- true, if is position
-
setPosition
public void setPosition(boolean position)Sets the position.- Parameters:
position- the new position
-
isRotation
public boolean isRotation()Checks if is rotation.- Returns:
- true, if is rotation
-
setRotation
public void setRotation(boolean rotation)Sets the rotation.- Parameters:
rotation- the new rotation
-
isSelection
public boolean isSelection()Checks if is selection.- Returns:
- true, if is selection
-
setSelection
public void setSelection(boolean selection)Sets the selection.- Parameters:
selection- the new selection
-
isAutoShapeType
public boolean isAutoShapeType()Checks if is auto shape type.- Returns:
- true, if is auto shape type
-
setAutoShapeType
public void setAutoShapeType(boolean autoShapeType)Sets the auto shape type.- Parameters:
autoShapeType- the new auto shape type
-
isText
public boolean isText()Checks if is text.- Returns:
- true, if is text
-
setText
public void setText(boolean text)Sets the text.- Parameters:
text- the new text
-
isUngrouping
public boolean isUngrouping()Checks if is ungrouping.- Returns:
- true, if is ungrouping
-
setUngrouping
public void setUngrouping(boolean ungrouping)Sets the ungrouping.- Parameters:
ungrouping- the new ungrouping
-
isVertices
public boolean isVertices()Checks if is vertices.- Returns:
- true, if is vertices
-
setVertices
public void setVertices(boolean vertices)Sets the vertices.- Parameters:
vertices- the new vertices
-