|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--DataSet
|
+--TabDataSet
TabDataSet implements a dataset for tabular data.
| Fields inherited from class DataSet |
programWindow |
| Constructor Summary | |
TabDataSet()
|
|
| Method Summary | |
java.lang.String |
getAttributeMeasurement(int attrNo)
Method returns the measurement of the given attribute. |
java.lang.String |
getAttributeName(int attrNo)
Method returns the name of the given attribute (column). |
int |
getAttributeType(int attrNo)
Method returns the type of the given attribute: 0=long, 1=double, 2=class. |
int |
getClassValue(int rowNo,
int attrNo)
Method returns the value of the given attribute on the given row. |
TabCursor |
getCursor()
Method returns TabCursor object for browsing of the data. |
boolean |
getData()
Starts to fetch data from the tabular DataSource. |
double |
getDoubleValue(int rowNo,
int attrNo)
Method returns the value of the given attribute on the given row. |
Index |
getIndex(int attrNo)
Method gives index for given attribute (column). |
long |
getLongValue(int rowNo,
int attrNo)
Method returns the value of the given attribute on the given row. |
double |
getMaxDouble(int attrNo)
Method returns the minimum value of the given attribute. |
long |
getMaxLong(int attrNo)
Method returns the maximum value of the given attribute. |
double |
getMinDouble(int attrNo)
Method returns the minimum value of the given attribute. |
long |
getMinLong(int attrNo)
Method returns the minimum value of the given attribute. |
int |
getNumberofAttributes()
Method returns the number of attributes (columns) in the dataset. |
int |
getNumberofClasses(int attrNo)
Method returns the number of class values the class typed attribute contains. |
int |
getNumberofRows()
Method returns the number of rows in the dataset. |
java.lang.String |
getValueofClass(int attrNo,
int classNo)
Method returns the value (string) of the given class of the given attribute. |
void |
removeSelectedRows()
Removes the selection from all the selected rows. |
void |
setSelectedRows(int Attr1No,
double Attr1Min,
double Attr1Max,
int Attr2No,
double Attr2Min,
double Attr2Max)
Sets some of the rows in the set as selected. |
void |
setSelectedRows(int Attr1No,
double Attr1Min,
double Attr1Max,
int Attr2No,
long Attr2Min,
long Attr2Max)
Sets some of the rows in the set as selected. |
void |
setSelectedRows(int Attr1No,
long Attr1Min,
long Attr1Max,
int Attr2No,
double Attr2Min,
double Attr2Max)
Sets some of the rows in the set as selected. |
void |
setSelectedRows(int Attr1No,
long Attr1Min,
long Attr1Max,
int Attr2No,
long Attr2Min,
long Attr2Max)
Sets some of the rows in the set as selected. |
| Methods inherited from class DataSet |
getDataSource,
setDataSource,
setProgramWindow |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TabDataSet()
| Method Detail |
public boolean getData()
throws java.lang.Exception
public TabCursor getCursor()
public Index getIndex(int attrNo)
public long getLongValue(int rowNo,
int attrNo)
rowNo - - The number of row and number of attribute (column).attrNo - - The number of attribute (column).
public double getDoubleValue(int rowNo,
int attrNo)
rowNo - - The number of row and number of attribute (column).attrNo - - The number of attribute (column).
public int getClassValue(int rowNo,
int attrNo)
rowNo - - The number of row and number of attribute (column).attrNo - - The number of attribute (column).
public void setSelectedRows(int Attr1No,
long Attr1Min,
long Attr1Max,
int Attr2No,
long Attr2Min,
long Attr2Max)
public void setSelectedRows(int Attr1No,
long Attr1Min,
long Attr1Max,
int Attr2No,
double Attr2Min,
double Attr2Max)
public void setSelectedRows(int Attr1No,
double Attr1Min,
double Attr1Max,
int Attr2No,
long Attr2Min,
long Attr2Max)
public void setSelectedRows(int Attr1No,
double Attr1Min,
double Attr1Max,
int Attr2No,
double Attr2Min,
double Attr2Max)
public void removeSelectedRows()
public int getNumberofRows()
public int getNumberofAttributes()
public java.lang.String getAttributeName(int attrNo)
attrNo - - Number of the attribute (column).public java.lang.String getAttributeMeasurement(int attrNo)
attrNo - - Number of the attribute (column).public int getAttributeType(int attrNo)
attrNo - - Number of the attribute (column).public int getNumberofClasses(int attrNo)
attrNo - - Number of the attribute (column).
public java.lang.String getValueofClass(int attrNo,
int classNo)
attrNo - - Number of the attribute (column).classNo - - Number of the class.public long getMinLong(int attrNo)
attrNo - - Number of the attribute (column).public long getMaxLong(int attrNo)
attrNo - - Number of the attribute (column).public double getMinDouble(int attrNo)
attrNo - - Number of the attribute (column).public double getMaxDouble(int attrNo)
attrNo - - Number of the attribute (column).
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||