Class Shape
java.lang.Object
com.independentsoft.office.odf.drawing.Shape
- All Implemented Interfaces:
ICellContent,IContentElement,IIndexContent,IParagraphContent,ITextContent
- Direct Known Subclasses:
Caption,Circle,Connector,Control,Ellipse,Frame,Group,Line,Measure,PageThumbnail,Path,Polygon,Polyline,Rectangle,RegularPolygon
The Class Shape.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Shapeclone()abstract List<IContentElement>Gets the height.getID()Gets the id.getLayer()Gets the layer.getName()Gets the name.Returns the parent content element.getStyle()Gets the style.Gets the text style.Gets the transform.getWidth()Gets the width.getX()Gets the x.getY()Gets the y.intGets the z index.voidSets the height.voidSets the id.voidSets the layer.voidSets the name.voidsetParent(IContentElement parent)Sets the parent content element.voidSets the style.voidsetTextStyle(String textStyle)Sets the text style.voidsetTransform(String transform)Sets the transform.voidSets the width.voidSets the x.voidSets the y.voidsetZIndex(int zIndex)Sets the z index.
-
Field Details
-
zIndex
protected int zIndex -
id
-
layer
-
style
-
textStyle
-
transform
-
name
-
x
-
y
-
width
-
height
-
parent
-
-
Constructor Details
-
Shape
public Shape()
-
-
Method Details
-
clone
- Specified by:
clonein interfaceICellContent- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIIndexContent- Specified by:
clonein interfaceIParagraphContent- Specified by:
clonein interfaceITextContent- Overrides:
clonein classObject
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
getParent
Returns the parent content element.- Specified by:
getParentin interfaceIContentElement- Returns:
- the parent
-
setParent
Sets the parent content element.- Specified by:
setParentin interfaceIContentElement- Parameters:
parent- the new parent
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getLayer
Gets the layer.- Returns:
- the layer
-
setLayer
Sets the layer.- Parameters:
layer- the new layer
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getTextStyle
Gets the text style.- Returns:
- the text style
-
setTextStyle
Sets the text style.- Parameters:
textStyle- the new text style
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getZIndex
public int getZIndex()Gets the z index.- Returns:
- the z index
-
setZIndex
public void setZIndex(int zIndex)Sets the z index.- Parameters:
zIndex- the new z index
-
getTransform
Gets the transform.- Returns:
- the transform
-
setTransform
Sets the transform.- Parameters:
transform- the new transform
-
getX
Gets the x.- Returns:
- the x
-
setX
Sets the x.- Parameters:
x- the new x
-
getY
Gets the y.- Returns:
- the y
-
setY
Sets the y.- Parameters:
y- the new y
-
getWidth
Gets the width.- Returns:
- the width
-
setWidth
Sets the width.- Parameters:
width- the new width
-
getHeight
Gets the height.- Returns:
- the height
-
setHeight
Sets the height.- Parameters:
height- the new height
-