Class Subtitle

java.lang.Object
com.independentsoft.office.odf.charts.Subtitle
All Implemented Interfaces:
IContentElement

public class Subtitle extends Object implements IContentElement
Represents a subtitle for a chart.
  • Constructor Details

    • Subtitle

      public Subtitle()
      Initializes a new instance of the Subtitle class.
  • Method Details

    • getContentElements

      public List<IContentElement> getContentElements()
      Returns all content elements.
      Specified by:
      getContentElements in interface IContentElement
      Returns:
      A collection of content elements.
    • getParent

      public IContentElement getParent()
      Returns the parent content element.
      Specified by:
      getParent in interface IContentElement
      Returns:
      the parent
    • setParent

      public void setParent(IContentElement parent)
      Sets the parent content element.
      Specified by:
      setParent in interface IContentElement
      Parameters:
      parent - the new parent
    • clone

      public Subtitle clone()
      Creates a new object that is a deep copy of the current instance.
      Specified by:
      clone in interface IContentElement
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current Subtitle object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getStyle

      public String getStyle()
      Gets name that reference style mechanisms.
      Returns:
      the style
    • setStyle

      public void setStyle(String style)
      Sets name that reference style mechanisms.
      Parameters:
      style - the new style
    • getX

      public Size getX()
      Gets the X coordinate of subtitle.
      Returns:
      the x
    • setX

      public void setX(Size x)
      Sets the X coordinate of subtitle.
      Parameters:
      x - the new x
    • getY

      public Size getY()
      Gets the Y coordinate of subtitle.
      Returns:
      the y
    • setY

      public void setY(Size y)
      Sets the Y coordinate of subtitle.
      Parameters:
      y - the new y
    • getCellRange

      public String getCellRange()
      Gets a list of ranges of cells.
      Returns:
      the cell range
    • setCellRange

      public void setCellRange(String cellRange)
      Sets a list of ranges of cells.
      Parameters:
      cellRange - the new cell range
    • getParagraph

      public Paragraph getParagraph()
      Gets the paragraph.
      Returns:
      the paragraph
    • setParagraph

      public void setParagraph(Paragraph paragraph)
      Sets the paragraph.
      Parameters:
      paragraph - the new paragraph