|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.AxisInfo
public class AxisInfo
Contains the information of chart axis in the file.
| Field Summary | |
|---|---|
static byte |
CROSS
The tick type is Cross. |
static byte |
INSIDE
The tick type is Inside. |
static byte |
NONE
The tick mark type is None. |
static byte |
OUTSIDE
The tick type is Outside. |
| Constructor Summary | |
|---|---|
AxisInfo()
|
|
AxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel)
Constructs an AxisInfo class and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
LineFormatInfo |
getAxisLine()
Gets the information of the chart axis. |
FontInfo |
getLabelInfo()
Gets the information of the axis label. |
short |
getNTick()
Gets to show a label every n tick marks. |
boolean |
getShowLabel()
Gets whether to show axis label or not. |
byte |
getTickType()
Gets the type of tick mark. |
void |
setAxisLine(LineFormatInfo axisLine)
Sets the information of the chart axis. |
void |
setLabelInfo(FontInfo labelInfo)
Sets the information of the axis label. |
void |
setNTick(short n)
Sets to show a label every n tick marks. |
void |
setShowLabel(boolean b)
Sets whether to show axis label or not. |
void |
setTickType(byte type)
Sets the type of tick mark. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte NONE
public static final byte INSIDE
public static final byte OUTSIDE
public static final byte CROSS
| Constructor Detail |
|---|
public AxisInfo()
public AxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel)
axisLine - Information of axis linelabelInfo - Information of labeltickType - Type of tick markn - shows a label every n tick marksshowLabel - Shows label or not| Method Detail |
|---|
public void setAxisLine(LineFormatInfo axisLine)
axisLine - the Information of the chart axispublic LineFormatInfo getAxisLine()
public void setLabelInfo(FontInfo labelInfo)
labelInfo - the information of the axis labelpublic FontInfo getLabelInfo()
public void setTickType(byte type)
type - the type of tick markpublic byte getTickType()
public void setNTick(short n)
n - shows a label every n tick markspublic short getNTick()
public void setShowLabel(boolean b)
b - whether to show axis label or notpublic boolean getShowLabel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||