|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectObj
com.jxcell.ChartData
this is chart's datasource
Constructor Summary | |
ChartData()
construct |
|
ChartData(boolean sample)
default sample chart data |
|
ChartData(int row,
int col)
initial values |
Method Summary | |
void |
clear()
clear value |
void |
copy(ChartData chartdata)
|
void |
deleteCol(int colindex)
delete col at index |
void |
deleteRow(int rowindex)
delete row at index |
boolean |
equals(ChartData chartdata)
compare two chartdata |
int |
getColSize()
return col size |
Value[] |
getData(int row)
return rows data |
Value |
getData(int row,
int col)
return value at special rowindex and colindex |
java.lang.String |
getLink(int row,
int col)
return link url at special row and col |
int |
getRowSize()
get row size |
Value |
getValue(int row,
int col)
return value at special row and col |
void |
insertCol(java.lang.String text,
int colindex)
insert col at index and set it's header lable |
void |
insertRow(java.lang.String text,
int rowindex)
insert one row at index and set it's header lable |
void |
setDataSize(int row,
int col)
set the data table's row and col size |
void |
setLink(int row,
int col,
java.lang.String link)
set link url at special row and col |
void |
setNumber(int row,
int col,
double num)
set number value at special row and col |
void |
setText(int row,
int col,
java.lang.String text)
set text at special row and col |
java.lang.String |
toString()
return data with cvs format |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChartData()
public ChartData(boolean sample)
sample
- public ChartData(int row, int col)
row
- row sizecol
- col sizeMethod Detail |
public void clear()
public void copy(ChartData chartdata)
public boolean equals(ChartData chartdata)
chartdata
- data
public int getColSize()
public Value[] getData(int row)
row
- row index
public Value getData(int row, int col)
row
- row indexcol
- col index
public int getRowSize()
public Value getValue(int row, int col)
row
- row indexcol
- col index
public void setDataSize(int row, int col)
row
- rowsizecol
- colsizepublic void setText(int row, int col, java.lang.String text)
row
- row indexcol
- col indextext
- lablepublic void setNumber(int row, int col, double num)
row
- row indexcol
- col indexnum
- number valuepublic void setLink(int row, int col, java.lang.String link)
row
- row indexcol
- col indexlink
- urlpublic java.lang.String getLink(int row, int col)
row
- row indexcol
- col index
public void insertRow(java.lang.String text, int rowindex)
text
- the new insert row's header lablerowindex
- insert row at special indexpublic void insertCol(java.lang.String text, int colindex)
text
- the new insert col's header lablecolindex
- insert col at special colpublic void deleteRow(int rowindex)
rowindex
- the row indexpublic void deleteCol(int colindex)
colindex
- the col indexpublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |