Class ExcelChartImpl
java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelChart>
bld.generator.report.excel.annotation.impl.ExcelChartImpl
- All Implemented Interfaces:
Cloneable
The Class ExcelChartImpl.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates 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 TypeMethodDescriptionbooleanEquals.org.apache.poi.xddf.usermodel.PresetColorGets the axis line color.org.apache.poi.xddf.usermodel.chart.AxisPositionGets the category axis.org.apache.poi.xddf.usermodel.chart.ChartTypesGets the chart types.org.apache.poi.xddf.usermodel.chart.AxisCrossBetweenGets the cross between.org.apache.poi.xddf.usermodel.chart.AxisCrossesGets the crosses.Gets the excel chart categories.Gets the excel chart data label.org.apache.poi.xddf.usermodel.PresetColorGets the grid line color.getId()Gets the id.org.apache.poi.xddf.usermodel.chart.LegendPositionGets the legend position.org.apache.poi.xddf.usermodel.PresetColor[]Gets the line color.intGets the size column.intGets the size row.org.apache.poi.ss.SpreadsheetVersionGets the spreadsheet version.getTitle()Gets the title.org.apache.poi.xddf.usermodel.chart.AxisPositionGets the value axis.getxAxis()Gets the x axis.inthashCode()Hash code.booleanisGroup()Checks if is group.booleanChecks if is show leader lines.booleanisSmooth()Checks if is smooth.voidsetAxisLineColor(org.apache.poi.xddf.usermodel.PresetColor axisLineColor) Sets the axis line color.voidsetCategoryAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition categoryAxis) Sets the category axis.voidsetChartTypes(org.apache.poi.xddf.usermodel.chart.ChartTypes chartTypes) Sets the chart types.voidsetCrossBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween) Sets the cross between.voidsetCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses) Sets the crosses.voidsetExcelChartCategories(ExcelChartCategory[] excelChartCategories) Sets the excel chart categories.voidsetExcelChartDataLabel(ExcelChartDataLabel excelChartDataLabel) Sets the excel chart data label.voidsetGridLineColor(org.apache.poi.xddf.usermodel.PresetColor gridLineColor) Sets the grid line color.voidsetGroup(boolean group) Sets the group.voidSets the id.voidsetLegendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition legendPosition) Sets the legend position.voidsetLineColor(org.apache.poi.xddf.usermodel.PresetColor... lineColor) Sets the line color.voidsetShowLeaderLines(boolean showLeaderLines) Sets the show leader lines.voidsetSizeColumn(int sizeColumn) Sets the size column.voidsetSizeRow(int sizeRow) Sets the size row.voidsetSmooth(boolean smooth) Sets the smooth.voidsetSpreadsheetVersion(org.apache.poi.ss.SpreadsheetVersion spreadsheetVersion) Sets the spreadsheet version.voidSets the title.voidsetValueAxis(org.apache.poi.xddf.usermodel.chart.AxisPosition valueAxis) Sets the value axis.voidSets the x axis.Methods inherited from class bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl
clone, getAnnotation, getClassAnnotation
-
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 idexcelChartCategories- the excel chart categorieschartTypes- the chart typessizeRow- the size rowsizeColumn- the size columnlegendPosition- the legend positioncategoryAxis- the category axisvalueAxis- the value axisxAxis- the x axisgroup- the grouptitle- the titlelineColor- the line coloraxisLineColor- the axis line colorgridLineColor- the grid line colorcrosses- the crossescrossBetween- the cross betweenshowLeaderLines- the show leader linesexcelChartDataLabel- the excel chart data labelsmooth- the smoothspreadsheetVersion- 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
Gets the excel chart categories.- Returns:
- the excel chart categories
-
setExcelChartCategories
Sets the excel chart categories.- Parameters:
excelChartCategories- the new excel chart categories
-
getId
Gets the id.- Returns:
- the id
-
setId
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
Gets the x axis.- Returns:
- the x axis
-
setxAxis
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
Gets the title.- Returns:
- the title
-
setTitle
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
Gets the excel chart data label.- Returns:
- the excel chart data label
-
setExcelChartDataLabel
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. -
equals
Equals.
-