|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.pro.datamodel.NFDataModelAdapter
|
+--chartworks.es.plugin.NDSDataModel
Defines a data model that can be used by NDS plugins. Accepts the notion of a column map which allows the user to select which columns to use in a given output.
| Field Summary | |
java.lang.Object[][] |
data
|
int |
dimensions
|
java.lang.String[] |
methods
|
boolean |
orderByRow
|
netcharts.pro.common.NFCDLGenerator |
template
|
| Fields inherited from class netcharts.pro.datamodel.NFDataModelAdapter |
dataObject, hasMoreData, userData |
| Constructor Summary | |
NDSDataModel(java.lang.Object[][] data)
Constructs the data model using the given data. |
|
NDSDataModel(java.lang.Object[][] data,
boolean orderByRow,
int maxDimensions)
Constructs the data model using the given data and orientation |
|
NDSDataModel(java.lang.Object[][] data,
boolean orderByRow,
netcharts.pro.common.NFCDLGenerator template,
java.lang.String method,
int maxDimensions)
Constructs the data model using the given data and orientation |
|
| Method Summary | |
java.lang.Object |
elementAt(int row)
Returns the first element at the given row. |
java.lang.Object |
elementAt(int row,
int col)
Returns the first element at the given row and column. |
boolean |
getConditionalEscapeStrings()
Returns the conditional escape strings property |
int |
getDataDimensions()
Returns the number of columns. |
int |
getNRows()
Returns the number of rows in the dataset. |
boolean |
getUnquoteStrings()
Returns the unquote strings property |
java.lang.Object |
makeObject(java.lang.Object data)
|
void |
setConditionalEscapeStrings(boolean conditionalEscapeStrings)
Sets the conditional escape strings property |
void |
setUnquoteStrings(boolean unquoteStrings)
Sets the unquote strings property |
| Methods inherited from class netcharts.pro.datamodel.NFDataModelAdapter |
hasMoreData |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.Object[][] data
public int dimensions
public boolean orderByRow
public netcharts.pro.common.NFCDLGenerator template
public java.lang.String[] methods
| Constructor Detail |
public NDSDataModel(java.lang.Object[][] data)
data - The 2D data object.
public NDSDataModel(java.lang.Object[][] data,
boolean orderByRow,
int maxDimensions)
data - The 2D data object.orderByRow - if true the number of data rows is equal to data.length.
If false the number of data rows is equal to data[0].length
public NDSDataModel(java.lang.Object[][] data,
boolean orderByRow,
netcharts.pro.common.NFCDLGenerator template,
java.lang.String method,
int maxDimensions)
data - The 2D data object.orderByRow - if true the number of data rows is equal to data.length.
If false the number of data rows is equal to data[0].length| Method Detail |
public int getNRows()
getNRows in class netcharts.pro.datamodel.NFDataModelAdapterpublic int getDataDimensions()
getDataDimensions in class netcharts.pro.datamodel.NFDataModelAdapterpublic java.lang.Object elementAt(int row)
elementAt in class netcharts.pro.datamodel.NFDataModelAdapterrow - The row index.
public java.lang.Object elementAt(int row,
int col)
elementAt in class netcharts.pro.datamodel.NFDataModelAdapterrow - The row index.col - The row index.public java.lang.Object makeObject(java.lang.Object data)
public void setConditionalEscapeStrings(boolean conditionalEscapeStrings)
conditionalEscapeStrings - When set to true the objects
returned from getElement are checked to see if they are strings
and if so quotes inside them are escaped if necessarypublic boolean getConditionalEscapeStrings()
public void setUnquoteStrings(boolean unquoteStrings)
unquoteStrings - When set to true the objects
returned from getElement are checked to see if they are strings
and if so quotes are removed from around the String if presentpublic boolean getUnquoteStrings()
|
NetCharts Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2006 |
Last Modified: Nov 26, 2006 |