|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.ChartTypeInfo
jet.report.xls.BoPPoPInfo
public class BoPPoPInfo
contains the information of BoPPoP chart type in the file. The class extends chartTypeInfo
| Field Summary | |
|---|---|
static byte |
BAROFPIE
|
static short |
CUSTOM
|
static byte |
NORMALPIE
|
static short |
PERCENT
|
static byte |
PIEOFPIE
|
static short |
POSITION
|
static short |
VALUE
|
| Fields inherited from class jet.report.xls.ChartTypeInfo |
|---|
AREA, BAR, BAR_AREA, BAR_LINE, BOPPOP, COLUMN, CONE, CYLINDER, DROPBAR, LINE, LINE_LINE, PIE, PYRAMID, RADAR, SCATTER, SHOWBUBBLESIZE, SHOWLABEL, SHOWLABPER, SHOWNONE, SHOWPERCENT, SHOWVALUE, STOCK, SURFACE |
| Constructor Summary | |
|---|---|
BoPPoPInfo(short dataLabel,
boolean is3D,
Info3D info3D,
byte style)
Constructs class BarInfo and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
int |
getChartType()
Get the type of the chart |
short |
getGap()
Get space between the first pie and the second |
short |
getPie2Size()
Get size of second pie as a percent of the first |
short |
getSpit()
Get split type see param POSITION see param VALUE see param PERCENT see param CUSTOM |
short |
getSplitPercent()
Get percent go to the other pie/bar, if spit = PERCENT |
short |
getSplitPos()
Get position go to the other pie/bar, if spit = POSITION |
double |
getSplitValue()
Get value go to the other pie/bar if spit = VALUE |
short |
getStyle()
Get the style of the bar chart see param NORMALPIE see param PIEOFPIE see param BAROFPIE |
boolean |
hasShadow()
get the second bar/pie has a shadow or not |
boolean |
isAutoSplit()
get use default split value or not |
void |
setAutoSplit(boolean b)
set use default split value or not |
void |
setGap(short gap)
Set space between the first pie and the second |
void |
setPie2Size(short pie2Size)
Set size of second pie as a percent of the first |
void |
setShadow(boolean b)
set the second bar/pie has a shadow or not |
void |
setSpit(short spit)
Set split type see param POSITION see param VALUE see param PERCENT see param CUSTOM |
void |
setSplitPercent(short splitPercent)
Set percent go to the other pie/bar, if spit = PERCENT |
void |
setSplitPos(short splitPos)
Set position go to the other pie/bar, if spit = POSITION |
void |
setSplitValue(double splitValue)
Set value go to the other pie/bar |
void |
setStyle(byte style)
Set the style of the bar chart see param NORMALPIE see param PIEOFPIE see param BAROFPIE |
| Methods inherited from class jet.report.xls.ChartTypeInfo |
|---|
addSeries, getCatName, getCatNameRef, getDataLabel, getInfo3D, getIs3D, getSeries, getSeriesSize, insertSeries, removeSeries, replace, setCatName, setCatNameRef, setDataLabel, setInfo3D, setIs3D |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte NORMALPIE
public static final byte PIEOFPIE
public static final byte BAROFPIE
public static final short POSITION
public static final short VALUE
public static final short PERCENT
public static final short CUSTOM
| Constructor Detail |
|---|
public BoPPoPInfo(short dataLabel,
boolean is3D,
Info3D info3D,
byte style)
dataLabel - type of the data label, 0 for none, 1 for show value, 2 for show percent, 22 for show label and percent, 16 for show labelis3D - Is 3D chart or nottype - type of chart, normalpie, pieofpie or barofpie| Method Detail |
|---|
public int getChartType()
getChartType in class ChartTypeInfopublic boolean isAutoSplit()
public void setAutoSplit(boolean b)
b - - use default split value or notpublic boolean hasShadow()
hasShadow in class ChartTypeInfopublic void setShadow(boolean b)
b - - the second bar/pie has a shadow or notpublic short getSpit()
public void setSpit(short spit)
spit - split typepublic short getSplitPos()
public void setSplitPos(short splitPos)
splitPos - position go to the other pie/barpublic short getSplitPercent()
public void setSplitPercent(short splitPercent)
splitPos - percent go to the other pie/barpublic short getPie2Size()
public void setPie2Size(short pie2Size)
pie2Size - size of second pie as a percent of the firstpublic short getGap()
public void setGap(short gap)
gap - space between the first pie and the secondpublic double getSplitValue()
public void setSplitValue(double splitValue)
splitPos - value go to the other pie/bar if spit = VALUEpublic short getStyle()
getStyle in class ChartTypeInfopublic void setStyle(byte style)
style - Style of the bar chart
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||