Class Shape
java.lang.Object
com.independentsoft.office.spreadsheet.drawing.Shape
- All Implemented Interfaces:
IAnchorElement,IGroupElement
The Class Shape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the description.getID()Gets the id.Gets the locking.getMacro()Gets the macro.getName()Gets the name.Gets the shape properties.getStyle()Gets the style.Gets the text body.Gets the text link.booleanisHidden()Checks if is hidden.booleanChecks if is lock text.booleanChecks if is publish.booleanChecks if is text box.voidsetDescription(String description)Sets the description.voidsetHidden(boolean isHidden)Sets the hidden.voidSets the id.voidsetLocking(ShapeLocking locking)Sets the locking.voidsetLockText(boolean lockText)Sets the lock text.voidSets the macro.voidSets the name.voidsetPublish(boolean publish)Sets the publish.voidsetStyle(ShapeStyle style)Sets the style.voidsetTextBody(ShapeTextBody textBody)Sets the text body.voidsetTextBox(boolean isTextBox)Sets the text box.voidsetTextLink(String textLink)Sets the text link.toString()
-
Constructor Details
-
Shape
public Shape()Instantiates a new shape.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIAnchorElement- Specified by:
clonein interfaceIGroupElement- Overrides:
clonein classObject
-
toString
-
getShapeProperties
Gets the shape properties.- Returns:
- the shape properties
-
getTextBody
Gets the text body.- Returns:
- the text body
-
setTextBody
Sets the text body.- Parameters:
textBody- the new text body
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
isLockText
public boolean isLockText()Checks if is lock text.- Returns:
- true, if is lock text
-
setLockText
public void setLockText(boolean lockText)Sets the lock text.- Parameters:
lockText- the new lock text
-
isPublish
public boolean isPublish()Checks if is publish.- Returns:
- true, if is publish
-
setPublish
public void setPublish(boolean publish)Sets the publish.- Parameters:
publish- the new publish
-
getMacro
Gets the macro.- Returns:
- the macro
-
setMacro
Sets the macro.- Parameters:
macro- the new macro
-
getTextLink
Gets the text link.- Returns:
- the text link
-
setTextLink
Sets the text link.- Parameters:
textLink- the new text link
-
isTextBox
public boolean isTextBox()Checks if is text box.- Returns:
- true, if is text box
-
setTextBox
public void setTextBox(boolean isTextBox)Sets the text box.- Parameters:
isTextBox- the new text box
-
getLocking
Gets the locking.- Returns:
- the locking
-
setLocking
Sets the locking.- Parameters:
locking- the new locking
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-