Class ExcelChartImpl

java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelChart>
bld.generator.report.excel.annotation.impl.ExcelChartImpl
All Implemented Interfaces:
Cloneable

public class ExcelChartImpl extends ExcelAnnotationImpl<ExcelChart>
The Class ExcelChartImpl.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new excel chart impl.
    ExcelChartImpl(String id, ExcelChartCategory[] excelChartCategories, org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes, int sizeRow, int sizeColumn, org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition, org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis, org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis, String xAxis, boolean group, String title, org.apache.poi.xddf.usermodel.PresetColor[] lineColor, org.apache.poi.xddf.usermodel.PresetColor axisLineColor, org.apache.poi.xddf.usermodel.PresetColor gridLineColor, org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses, org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween, boolean showLeaderLines, ExcelChartDataLabel excelChartDataLabel, boolean smooth, org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
    Instantiates a new excel chart impl.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Equals.
    org.apache.poi.xddf.usermodel.PresetColor
    Gets the axis line color.
    org.apache.poi.xddf.usermodel.chart.AxisPosition
    Gets the category axis.
    org.apache.poi.xddf.usermodel.chart.ChartTypes
    Gets the chart types.
    org.apache.poi.xddf.usermodel.chart.AxisCrossBetween
    Gets the cross between.
    org.apache.poi.xddf.usermodel.chart.AxisCrosses
    Gets the crosses.
    Gets the excel chart categories.
    Gets the excel chart data label.
    org.apache.poi.xddf.usermodel.PresetColor
    Gets the grid line color.
    Gets the id.
    org.apache.poi.xddf.usermodel.chart.LegendPosition
    Gets the legend position.
    org.apache.poi.xddf.usermodel.PresetColor[]
    Gets the line color.
    int
    Gets the size column.
    int
    Gets the size row.
    org.apache.poi.ss.SpreadsheetVersion
    Gets the spreadsheet version.
    Gets the title.
    org.apache.poi.xddf.usermodel.chart.AxisPosition
    Gets the value axis.
    Gets the x axis.
    int
    Hash code.
    boolean
    Checks if is group.
    boolean
    Checks if is show leader lines.
    boolean
    Checks if is smooth.
    void
    setAxisLineColor(org.apache.poi.xddf.usermodel.PresetColor axisLineColor)
    Sets the axis line color.
    void
    setCategoryAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis)
    Sets the category axis.
    void
    setChartTypes(org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes)
    Sets the chart types.
    void
    setCrossBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween)
    Sets the cross between.
    void
    setCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses)
    Sets the crosses.
    void
    Sets the excel chart categories.
    void
    Sets the excel chart data label.
    void
    setGridLineColor(org.apache.poi.xddf.usermodel.PresetColor gridLineColor)
    Sets the grid line color.
    void
    setGroup(boolean group)
    Sets the group.
    void
    Sets the id.
    void
    setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
    Sets the legend position.
    void
    setLineColor(org.apache.poi.xddf.usermodel.PresetColor... lineColor)
    Sets the line color.
    void
    setShowLeaderLines(boolean showLeaderLines)
    Sets the show leader lines.
    void
    setSizeColumn(int sizeColumn)
    Sets the size column.
    void
    setSizeRow(int sizeRow)
    Sets the size row.
    void
    setSmooth(boolean smooth)
    Sets the smooth.
    void
    setSpreadsheetVersion(org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
    Sets the spreadsheet version.
    void
    Sets the title.
    void
    setValueAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis)
    Sets the value axis.
    void
    Sets the x axis.

    Methods inherited from class bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl

    clone, getAnnotation, getClassAnnotation

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExcelChartImpl

      public ExcelChartImpl(String id, ExcelChartCategory[] excelChartCategories, org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes, int sizeRow, int sizeColumn, org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition, org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis, org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis, String xAxis, boolean group, String title, org.apache.poi.xddf.usermodel.PresetColor[] lineColor, org.apache.poi.xddf.usermodel.PresetColor axisLineColor, org.apache.poi.xddf.usermodel.PresetColor gridLineColor, org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses, org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween, boolean showLeaderLines, ExcelChartDataLabel excelChartDataLabel, boolean smooth, org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
      Instantiates a new excel chart impl.
      Parameters:
      id - the id
      excelChartCategories - the excel chart categories
      chartTypes - the chart types
      sizeRow - the size row
      sizeColumn - the size column
      legendPosition - the legend position
      categoryAxis - the category axis
      valueAxis - the value axis
      xAxis - the x axis
      group - the group
      title - the title
      lineColor - the line color
      axisLineColor - the axis line color
      gridLineColor - the grid line color
      crosses - the crosses
      crossBetween - the cross between
      showLeaderLines - the show leader lines
      excelChartDataLabel - the excel chart data label
      smooth - the smooth
      spreadsheetVersion - the spreadsheet version
    • ExcelChartImpl

      public ExcelChartImpl()
      Instantiates a new excel chart impl.
  • Method Details

    • getSpreadsheetVersion

      public org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
      Gets the spreadsheet version.
      Returns:
      the spreadsheet version
    • setSpreadsheetVersion

      public void setSpreadsheetVersion(org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion)
      Sets the spreadsheet version.
      Parameters:
      spreadsheetVersion - the new spreadsheet version
    • getExcelChartCategories

      public ExcelChartCategory[] getExcelChartCategories()
      Gets the excel chart categories.
      Returns:
      the excel chart categories
    • setExcelChartCategories

      public void setExcelChartCategories(ExcelChartCategory[] excelChartCategories)
      Sets the excel chart categories.
      Parameters:
      excelChartCategories - the new excel chart categories
    • getId

      public String getId()
      Gets the id.
      Returns:
      the id
    • setId

      public void setId(String id)
      Sets the id.
      Parameters:
      id - the new id
    • getCrosses

      public org.apache.poi.xddf.usermodel.chart.AxisCrosses getCrosses()
      Gets the crosses.
      Returns:
      the crosses
    • setCrosses

      public void setCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses)
      Sets the crosses.
      Parameters:
      crosses - the new crosses
    • getCrossBetween

      public org.apache.poi.xddf.usermodel.chart.AxisCrossBetween getCrossBetween()
      Gets the cross between.
      Returns:
      the cross between
    • setCrossBetween

      public void setCrossBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween)
      Sets the cross between.
      Parameters:
      crossBetween - the new cross between
    • getChartTypes

      public org.apache.poi.xddf.usermodel.chart.ChartTypes getChartTypes()
      Gets the chart types.
      Returns:
      the chart types
    • setChartTypes

      public void setChartTypes(org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes)
      Sets the chart types.
      Parameters:
      chartTypes - the new chart types
    • getSizeRow

      public int getSizeRow()
      Gets the size row.
      Returns:
      the size row
    • setSizeRow

      public void setSizeRow(int sizeRow)
      Sets the size row.
      Parameters:
      sizeRow - the new size row
    • getSizeColumn

      public int getSizeColumn()
      Gets the size column.
      Returns:
      the size column
    • setSizeColumn

      public void setSizeColumn(int sizeColumn)
      Sets the size column.
      Parameters:
      sizeColumn - the new size column
    • getLegendPosition

      public org.apache.poi.xddf.usermodel.chart.LegendPosition getLegendPosition()
      Gets the legend position.
      Returns:
      the legend position
    • setLegendPosition

      public void setLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition)
      Sets the legend position.
      Parameters:
      legendPosition - the new legend position
    • getCategoryAxis

      public org.apache.poi.xddf.usermodel.chart.AxisPosition getCategoryAxis()
      Gets the category axis.
      Returns:
      the category axis
    • setCategoryAxis

      public void setCategoryAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis)
      Sets the category axis.
      Parameters:
      categoryAxis - the new category axis
    • getValueAxis

      public org.apache.poi.xddf.usermodel.chart.AxisPosition getValueAxis()
      Gets the value axis.
      Returns:
      the value axis
    • setValueAxis

      public void setValueAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis)
      Sets the value axis.
      Parameters:
      valueAxis - the new value axis
    • getxAxis

      public String getxAxis()
      Gets the x axis.
      Returns:
      the x axis
    • setxAxis

      public void setxAxis(String xAxis)
      Sets the x axis.
      Parameters:
      xAxis - the new x axis
    • isGroup

      public boolean isGroup()
      Checks if is group.
      Returns:
      the group
    • setGroup

      public void setGroup(boolean group)
      Sets the group.
      Parameters:
      group - the new group
    • getTitle

      public String getTitle()
      Gets the title.
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title.
      Parameters:
      title - the new title
    • getLineColor

      public org.apache.poi.xddf.usermodel.PresetColor[] getLineColor()
      Gets the line color.
      Returns:
      the line color
    • setLineColor

      public void setLineColor(org.apache.poi.xddf.usermodel.PresetColor... lineColor)
      Sets the line color.
      Parameters:
      lineColor - the new line color
    • getAxisLineColor

      public org.apache.poi.xddf.usermodel.PresetColor getAxisLineColor()
      Gets the axis line color.
      Returns:
      the axis line color
    • setAxisLineColor

      public void setAxisLineColor(org.apache.poi.xddf.usermodel.PresetColor axisLineColor)
      Sets the axis line color.
      Parameters:
      axisLineColor - the new axis line color
    • getGridLineColor

      public org.apache.poi.xddf.usermodel.PresetColor getGridLineColor()
      Gets the grid line color.
      Returns:
      the grid line color
    • setGridLineColor

      public void setGridLineColor(org.apache.poi.xddf.usermodel.PresetColor gridLineColor)
      Sets the grid line color.
      Parameters:
      gridLineColor - the new grid line color
    • isShowLeaderLines

      public boolean isShowLeaderLines()
      Checks if is show leader lines.
      Returns:
      true, if is show leader lines
    • setShowLeaderLines

      public void setShowLeaderLines(boolean showLeaderLines)
      Sets the show leader lines.
      Parameters:
      showLeaderLines - the new show leader lines
    • getExcelChartDataLabel

      public ExcelChartDataLabel getExcelChartDataLabel()
      Gets the excel chart data label.
      Returns:
      the excel chart data label
    • setExcelChartDataLabel

      public void setExcelChartDataLabel(ExcelChartDataLabel excelChartDataLabel)
      Sets the excel chart data label.
      Parameters:
      excelChartDataLabel - the new excel chart data label
    • isSmooth

      public boolean isSmooth()
      Checks if is smooth.
      Returns:
      true, if is smooth
    • setSmooth

      public void setSmooth(boolean smooth)
      Sets the smooth.
      Parameters:
      smooth - the new smooth
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful