|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.report.xls.MarkerFormatInfo
public class MarkerFormatInfo
| Field Summary | |
|---|---|
static short |
AUTOCOLOR
|
static short |
CIRCLE
|
static short |
DEVIATION
|
static short |
DIAMOND
|
static short |
DOWJONES
|
static short |
NOBACK
|
static short |
NOFORE
|
static short |
NONE
|
static short |
PLUSSIGN
|
static short |
SQUARE
|
static short |
STAR
|
static short |
TRIANGLE
|
static short |
X
|
| Constructor Summary | |
|---|---|
MarkerFormatInfo()
Constructs a MarkerFormatInfo record |
|
MarkerFormatInfo(int rgbFore,
int rgbBack,
short type,
short grbit,
int size,
GlobalWorksheet gws)
Constructs a MarkerFormatInfo record and sets its fields appropriately. |
|
| Method Summary | |
|---|---|
int |
getBackColor()
Get the background color of maker |
int |
getForeColor()
Get the foreground color of maker |
int |
getSize()
Get the size of marker(points) |
short |
getType()
get the type of marker |
boolean |
isAutoColor()
get whether to use automatic color |
boolean |
isNoback()
get whether background = none |
boolean |
isNofore()
get whether foreground = none |
void |
setAutoColor(boolean b)
set whether to use automatic color |
void |
setBackColor(int color,
GlobalWorksheet gws)
Set the background color of maker |
void |
setForeColor(int color,
GlobalWorksheet gws)
Set the foreground color of maker |
void |
setNoback(boolean b)
set whether background = none |
void |
setNofore(boolean b)
set whether foreground = none |
void |
setSize(int size)
Set the size of marker(points) |
void |
setType(byte type)
set 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()
public MarkerFormatInfo(int rgbFore,
int rgbBack,
short type,
short grbit,
int size,
GlobalWorksheet gws)
rgbFore - Foreground color:RGB valuergbBack - Background color:RGB valuetype - type of marker(0--9)grbit - format flags AUTOCOLOR, NOBACK, NOFORE or combine of themsize - size of line markers(unit is point)gws - instance of GlobalWorksheet| Method Detail |
|---|
public void setType(byte type)
type - is the type of markerNONE,
SQUARE,
DIAMOND,
TRIANGLE,
X,
STAR,
DOWJONES,
DEVIATION,
CIRCLE,
PLUSSIGNpublic 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||