|
|||||||||
| 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
|
static byte |
INSIDE
|
static byte |
NONE
|
static byte |
OUTSIDE
|
| Constructor Summary | |
|---|---|
AxisInfo()
|
|
AxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel)
Constructs a AxisInfo class and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
LineFormatInfo |
getAxisLine()
Get the Information of axis |
FontInfo |
getLabelInfo()
Get the Information of axis label |
short |
getNTick()
gets show a label every n tick mark |
boolean |
getShowLabel()
gets show axis label or not |
byte |
getTickType()
gets the type of tick mark |
void |
setAxisLine(LineFormatInfo axisLine)
Set the Information of axis |
void |
setLabelInfo(FontInfo labelInfo)
Set the Information of axis label |
void |
setNTick(short n)
sets show a label every n tick mark |
void |
setShowLabel(boolean b)
sets 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 - show a label every n tick markshowLabel - Show label or not| Method Detail |
|---|
public void setAxisLine(LineFormatInfo axisLine)
axisLine - the Information of axispublic LineFormatInfo getAxisLine()
public void setLabelInfo(FontInfo labelInfo)
axisLine - the Information of axis labelpublic FontInfo getLabelInfo()
public void setTickType(byte type)
type - type of tick markpublic byte getTickType()
public void setNTick(short n)
n - show a label every n tick markpublic short getNTick()
public void setShowLabel(boolean b)
b - show axis label or notpublic boolean getShowLabel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||