|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.report.xls.MarkerFormatInfo
public class MarkerFormatInfo
Shows line marker format info.
Field Summary | |
---|---|
static short |
AUTOCOLOR
Auto color. |
static short |
CIRCLE
Circular markers. |
static short |
DEVIATION
Long bar markers. |
static short |
DIAMOND
Diamond-shaped markers. |
static short |
DOWJONES
Short bar markers. |
static short |
NOBACK
No back color. |
static short |
NOFORE
No fore color. |
static short |
NONE
No markers. |
static short |
PLUSSIGN
Square markers with a plus sign. |
static short |
SQUARE
Square markers. |
static short |
STAR
Square markers with an asterisk. |
static short |
TRIANGLE
Triangular markers. |
static short |
X
Square markers with an X. |
Constructor Summary | |
---|---|
MarkerFormatInfo()
Constructs a MarkerFormatInfo with the default parameter. |
|
MarkerFormatInfo(int rgbFore,
int rgbBack,
short type,
short grbit,
int size,
GlobalWorksheet gws)
Constructs a MarkerFormatInfo with these parameters: |
Method Summary | |
---|---|
int |
getBackColor()
Gets the background color of maker. |
int |
getForeColor()
Gets the foreground color of maker. |
int |
getSize()
Gets the size of marker(in points). |
short |
getType()
Gets the type of marker. |
boolean |
isAutoColor()
Gets whether to use automatic color. |
boolean |
isNoback()
Gets whether background = none. |
boolean |
isNofore()
Gets whether foreground = none. |
void |
setAutoColor(boolean b)
Sets whether to use automatic color. |
void |
setBackColor(int color,
GlobalWorksheet gws)
Sets the background color of maker. |
void |
setForeColor(int color,
GlobalWorksheet gws)
Sets the foreground color of maker. |
void |
setNoback(boolean b)
Sets whether background = none. |
void |
setNofore(boolean b)
Sets whether foreground = none. |
void |
setSize(int size)
Sets the size of marker(points). |
void |
setType(byte type)
Sets the type of marker. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short NONE
public static final short SQUARE
public static final short DIAMOND
public static final short TRIANGLE
public static final short X
public static final short STAR
public static final short DOWJONES
public static final short DEVIATION
public static final short CIRCLE
public static final short PLUSSIGN
public static final short AUTOCOLOR
public static final short NOBACK
public static final short NOFORE
Constructor Detail |
---|
public MarkerFormatInfo()
MarkerFormatInfo
with the default parameter.
public MarkerFormatInfo(int rgbFore, int rgbBack, short type, short grbit, int size, GlobalWorksheet gws)
MarkerFormatInfo
with these parameters:
rgbFore
- foreground color:RGB valuergbBack
- background color:RGB valuetype
- type of marker, can be either NONE
, SQUARE
, STAR
, CIRCLE
, DEVIATION
,
DIAMOND
, DOWJONES
, PLUSSIGN
, X
or TRIANGLE
grbit
- format flags AUTOCOLOR, NOBACK, NOFORE or the combined value of themsize
- size of line markers(the unit is point)gws
- instance of GlobalWorksheetMethod Detail |
---|
public void setType(byte type)
type
- the type of markerNONE
,
SQUARE
,
DIAMOND
,
TRIANGLE
,
X
,
STAR
,
DOWJONES
,
DEVIATION
,
CIRCLE
,
PLUSSIGN
public short getType()
NONE
,
SQUARE
,
DIAMOND
,
TRIANGLE
,
X
,
STAR
,
DOWJONES
,
DEVIATION
,
CIRCLE
,
PLUSSIGN
public void setBackColor(int color, GlobalWorksheet gws)
color
- background color of makerpublic int getBackColor()
public void setForeColor(int color, GlobalWorksheet gws)
color
- foreground color of makerpublic int getForeColor()
public boolean isAutoColor()
public void setAutoColor(boolean b)
b
- use automatic color or notpublic boolean isNoback()
public void setNoback(boolean b)
b
- whether background = none or notpublic boolean isNofore()
public void setNofore(boolean b)
b
- whether foreground = none or notpublic int getSize()
public void setSize(int size)
size
- the size of maker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |