|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.ChartTypeInfo
public abstract class ChartTypeInfo
contains the information of chart type in the file.
| Field Summary | |
|---|---|
static int |
AREA
|
static int |
BAR
|
static int |
BAR_AREA
|
static int |
BAR_LINE
|
static int |
BOPPOP
|
static int |
COLUMN
|
static int |
CONE
|
static int |
CYLINDER
|
static int |
DROPBAR
|
static int |
LINE
|
static int |
LINE_LINE
|
static int |
PIE
|
static int |
PYRAMID
|
static int |
RADAR
|
static int |
SCATTER
|
static short |
SHOWBUBBLESIZE
|
static short |
SHOWLABEL
|
static short |
SHOWLABPER
|
static short |
SHOWNONE
|
static short |
SHOWPERCENT
|
static short |
SHOWVALUE
|
static int |
STOCK
|
static int |
SURFACE
|
| Constructor Summary | |
|---|---|
ChartTypeInfo()
|
|
ChartTypeInfo(short dataLabel,
boolean is3D,
Info3D info3D)
Constructs class ChartTypeInfo and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
void |
addSeries(SeriesInfo seriesInfo)
Add a SeriesInfo into the ArrayList series |
java.lang.String[] |
getCatName()
Get the category names of chart |
java.lang.String |
getCatNameRef()
Get the category names reference of chart |
abstract int |
getChartType()
Get the type of the chart |
short |
getDataLabel()
Get the type of chart Data label |
Info3D |
getInfo3D()
Get the chart 3D information |
boolean |
getIs3D()
Get the chart is 3D or not |
SeriesInfo |
getSeries(int index)
Get a SeriesInfo from the ArrayList series |
int |
getSeriesSize()
get the size of the ArrayList series |
abstract short |
getStyle()
Get the Style of the chart |
abstract boolean |
hasShadow()
Get the chart has shadow or not |
void |
insertSeries(int index,
SeriesInfo seriesInfo)
Insert a SeriesInfo into the ArrayList series |
SeriesInfo |
removeSeries(int index)
Remove a SeriesInfo from the ArrayList series |
void |
replace(int i,
SeriesInfo seriesInfo)
|
void |
setCatName(java.lang.String[] catName)
Set the category names of chart |
void |
setCatNameRef(java.lang.String catNameRef)
Set the category names reference of chart |
void |
setDataLabel(short dataLabel)
Set the type of chart Data label |
void |
setInfo3D(Info3D info3D)
Set the chart 3D information |
void |
setIs3D(boolean is3D)
Set the chart is 3D or not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PIE
public static final int BAR
public static final int COLUMN
public static final int LINE
public static final int AREA
public static final int RADAR
public static final int SCATTER
public static final int SURFACE
public static final int BOPPOP
public static final int CYLINDER
public static final int CONE
public static final int PYRAMID
public static final int STOCK
public static final int DROPBAR
public static final int BAR_LINE
public static final int LINE_LINE
public static final int BAR_AREA
public static final short SHOWNONE
public static final short SHOWVALUE
public static final short SHOWPERCENT
public static final short SHOWLABPER
public static final short SHOWLABEL
public static final short SHOWBUBBLESIZE
| Constructor Detail |
|---|
public ChartTypeInfo()
public ChartTypeInfo(short dataLabel,
boolean is3D,
Info3D info3D)
dataLabel - type of the data labelis3D - Is 3D chart or not| Method Detail |
|---|
public abstract int getChartType()
public abstract short getStyle()
public boolean getIs3D()
public void setIs3D(boolean is3D)
is3D - the chart is 3D or notpublic Info3D getInfo3D()
public void setInfo3D(Info3D info3D)
info3D - the chart 3D informationpublic short getDataLabel()
public void setDataLabel(short dataLabel)
dataLabel - the type of chart Data labelpublic java.lang.String[] getCatName()
public void setCatName(java.lang.String[] catName)
catName - the category names of chartpublic java.lang.String getCatNameRef()
public void setCatNameRef(java.lang.String catNameRef)
catName - the category names reference of chart such as sheet1!a1:a4 and so onpublic void addSeries(SeriesInfo seriesInfo)
seriesInfo - the SeriesInfo to be added
public void insertSeries(int index,
SeriesInfo seriesInfo)
seriesInfo - the SeriesInfo to be insertedindex - The index of the seriesInfo to be inserted into the Arraylistpublic SeriesInfo removeSeries(int index)
index - The index of the seriesInfo to be removedpublic int getSeriesSize()
public SeriesInfo getSeries(int index)
index - The index of the seriesInfo to be gottenpublic abstract boolean hasShadow()
public void replace(int i,
SeriesInfo seriesInfo)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||