Class DataPoint
java.lang.Object
com.independentsoft.office.odf.charts.DataPoint
- All Implemented Interfaces:
IContentElement
The Class DataPoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Returns all content elements.Returns the parent content element.intSpecifies that more than one consecutive data-point has the same style.getStyle()Gets name that reference style mechanisms.voidsetParent(IContentElement parent)Sets the parent content element.voidsetRepeated(int repeated)Specifies that more than one consecutive data-point has the same style.voidSets name that reference style mechanisms.toString()Converts the value of the current DataPoint object to its equivalent string representation.
-
Constructor Details
-
DataPoint
public DataPoint()Initializes a new instance of the DataPoint 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 DataPoint object to its equivalent string representation. -
getRepeated
public int getRepeated()Specifies that more than one consecutive data-point has the same style.- Returns:
- the repeated
-
setRepeated
public void setRepeated(int repeated)Specifies that more than one consecutive data-point has the same style.- Parameters:
repeated- the new repeated
-
getStyle
Gets name that reference style mechanisms.- Returns:
- the style
-
setStyle
Sets name that reference style mechanisms.- Parameters:
style- the new style
-