Class Category
java.lang.Object
com.independentsoft.office.odf.charts.Category
- All Implemented Interfaces:
IContentElement
Represents labels that are displayed on a category-axis.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the region from which the category labels are taken.Returns all content elements.Returns the parent content element.voidsetCellRange(String cellRange)Sets the region from which the category labels are taken.voidsetParent(IContentElement parent)Sets the parent content element.toString()Converts the value of the current Category object to its equivalent string representation.
-
Constructor Details
-
Category
public Category()Initializes a new instance of the Category 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 Category object to its equivalent string representation. -
getCellRange
Gets the region from which the category labels are taken.- Returns:
- the cell range
-
setCellRange
Sets the region from which the category labels are taken.- Parameters:
cellRange- the new cell range
-