Class Subtitle
java.lang.Object
com.independentsoft.office.odf.charts.Subtitle
- All Implemented Interfaces:
IContentElement
Represents a subtitle for a chart.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets a list of ranges of cells.Returns all content elements.Gets the paragraph.Returns the parent content element.getStyle()Gets name that reference style mechanisms.getX()Gets the X coordinate of subtitle.getY()Gets the Y coordinate of subtitle.voidsetCellRange(String cellRange)Sets a list of ranges of cells.voidsetParagraph(Paragraph paragraph)Sets the paragraph.voidsetParent(IContentElement parent)Sets the parent content element.voidSets name that reference style mechanisms.voidSets the X coordinate of subtitle.voidSets the Y coordinate of subtitle.toString()Converts the value of the current Subtitle object to its equivalent string representation.
-
Constructor Details
-
Subtitle
public Subtitle()Initializes a new instance of the Subtitle class.
-
-
Method Details
-
getContentElements
Returns all content elements.- Specified by:
getContentElementsin interfaceIContentElement- Returns:
- A collection of content elements.
-
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
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current Subtitle object to its equivalent string representation. -
getStyle
Gets name that reference style mechanisms.- Returns:
- the style
-
setStyle
Sets name that reference style mechanisms.- Parameters:
style- the new style
-
getX
Gets the X coordinate of subtitle.- Returns:
- the x
-
setX
Sets the X coordinate of subtitle.- Parameters:
x- the new x
-
getY
Gets the Y coordinate of subtitle.- Returns:
- the y
-
setY
Sets the Y coordinate of subtitle.- Parameters:
y- the new y
-
getCellRange
Gets a list of ranges of cells.- Returns:
- the cell range
-
setCellRange
Sets a list of ranges of cells.- Parameters:
cellRange- the new cell range
-
getParagraph
Gets the paragraph.- Returns:
- the paragraph
-
setParagraph
Sets the paragraph.- Parameters:
paragraph- the new paragraph
-