|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.AxisInfo
jet.report.xls.YAxisInfo
public class YAxisInfo
contains the information of chart axis in the file.
| Field Summary | |
|---|---|
static short |
AUTOCROSS
|
static short |
AUTOMAJOR
|
static short |
AUTOMAX
|
static short |
AUTOMIN
|
static short |
AUTOMINOR
|
static byte |
CROSS
|
static byte |
INSIDE
|
static short |
LOGSCALE
|
static short |
MAXCROSS
|
static byte |
NONE
|
static byte |
OUTSIDE
|
static short |
REVERSE
|
| Constructor Summary | |
|---|---|
YAxisInfo()
|
|
YAxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel,
double maxValue,
double minValue,
double crossValue)
Constructs a AxisInfo class and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
double |
getCrossValue()
gets cross value of y axis |
double |
getIncrement()
gets increment y axis |
double |
getMaxValue()
gets maximum value of y axis |
double |
getMinValue()
gets minimum value of y axis |
boolean |
isAutoCross()
get whether to selected automatic cross value |
boolean |
isAutoMajor()
get whether to selected automatic major unit |
boolean |
isAutoMax()
get whether to selected automatic maximum |
boolean |
isAutoMin()
get whether to selected automatic minimum |
boolean |
isAutoMinor()
get whether to selected automatic minor unit |
void |
setAutoCross(boolean b)
set whether to selected automatic cross value |
void |
setAutoMajor(boolean b)
set whether to selected automatic major unit |
void |
setAutoMax(boolean b)
set whether to selected automatic maximum |
void |
setAutoMin(boolean b)
set whether to selected automatic minimum |
void |
setAutoMinor(boolean b)
set whether to selected automatic minor unit |
void |
setCrossValue(double value)
sets cross value of y axis |
void |
setIncrement(double inc)
sets increment y axis |
void |
setMaxValue(double max)
sets maximum value of y axis |
void |
setMinValue(double min)
sets minimum value of y axis |
| Methods inherited from class jet.report.xls.AxisInfo |
|---|
getAxisLine, getLabelInfo, getNTick, getShowLabel, getTickType, setAxisLine, setLabelInfo, setNTick, setShowLabel, setTickType |
| 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
public static final short AUTOMIN
public static final short AUTOMAX
public static final short AUTOMAJOR
public static final short AUTOMINOR
public static final short AUTOCROSS
public static final short LOGSCALE
public static final short REVERSE
public static final short MAXCROSS
| Constructor Detail |
|---|
public YAxisInfo()
public YAxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel,
double maxValue,
double minValue,
double crossValue)
axisLine - Information of axis linelabelInfo - Information of labeltickType - Type of tick markn - Show a label every n tick markshowLabel - Show label or notmaxValue - Max value of the axisminValue - Min value of the axiscrossValue - The value of cross axis| Method Detail |
|---|
public void setMaxValue(double max)
max - Maximum value of y axispublic double getMaxValue()
public void setMinValue(double min)
min - Minimum value of y axispublic double getMinValue()
public void setIncrement(double inc)
inc - increment y axispublic double getIncrement()
public void setCrossValue(double value)
value - Cross value of y axispublic double getCrossValue()
public boolean isAutoMin()
public void setAutoMin(boolean b)
b - - selected automatic minimum or notpublic boolean isAutoMax()
public void setAutoMax(boolean b)
b - - selected automatic maximum or notpublic boolean isAutoMajor()
public void setAutoMajor(boolean b)
b - - selected automatic major unit or notpublic boolean isAutoMinor()
public void setAutoMinor(boolean b)
b - - selected automatic minor unit or notpublic boolean isAutoCross()
public void setAutoCross(boolean b)
b - - selected automatic cross value or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||