|
|||||||||
| 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 y axis in the file.
| Field Summary | |
|---|---|
static byte |
CROSS
specifies that the tick mark type is cross. |
static byte |
INSIDE
Specifies that the tick type mark is inside. |
static byte |
NONE
Specifies no tick mark. |
static byte |
OUTSIDE
specifies that the tick mark type is outside. |
| Constructor Summary | |
|---|---|
YAxisInfo()
|
|
YAxisInfo(LineFormatInfo axisLine,
FontInfo labelInfo,
byte tickType,
short n,
boolean showLabel,
double maxValue,
double minValue,
double crossValue)
Constructs an AxisInfo class and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
double |
getCrossValue()
Gets the cross value of y axis. |
double |
getIncrement()
Gets increment y axis. |
double |
getMaxValue()
Gets the maximum value of y axis. |
double |
getMinValue()
Gets the minimum value of y axis. |
boolean |
isAutoCross()
Gets whether to select the automatic cross value. |
boolean |
isAutoMajor()
Gets whether to select the automatic major unit. |
boolean |
isAutoMax()
Gets whether to select the automatic maximum. |
boolean |
isAutoMin()
Gets whether to select the automatic minimum. |
boolean |
isAutoMinor()
Gets whether to select the automatic minor unit. |
void |
setAutoCross(boolean b)
Sets whether to select the automatic cross value. |
void |
setAutoMajor(boolean b)
Sets whether to select the automatic major unit. |
void |
setAutoMax(boolean b)
Sets whether to select the automatic maximum. |
void |
setAutoMin(boolean b)
Sets whether to select the automatic minimum. |
void |
setAutoMinor(boolean b)
Sets whether to select the automatic minor unit. |
void |
setCrossValue(double value)
Sets the cross value of y axis. |
void |
setIncrement(double inc)
Sets increment y axis. |
void |
setMaxValue(double max)
Sets the maximum value of y axis. |
void |
setMinValue(double min)
Sets the 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
| 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 - Shows a label every n tick marks.showLabel - shows 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 - the maximum value of y axispublic double getMaxValue()
public void setMinValue(double min)
min - the 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 - - whether to select the automatic minimum or notpublic boolean isAutoMax()
public void setAutoMax(boolean b)
b - - whether to select the automatic maximum or notpublic boolean isAutoMajor()
public void setAutoMajor(boolean b)
b - - select the automatic major unit or notpublic boolean isAutoMinor()
public void setAutoMinor(boolean b)
b - - whether to select the automatic minor unit or notpublic boolean isAutoCross()
public void setAutoCross(boolean b)
b - - whether to select the automatic cross value or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||