|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.beans.DataWrapper
DataWrapper wraps up string representations of the table data. It is used for the data property in LiveTable.
Field Summary | |
String[][] |
cellValues
|
String[] |
columnLabels
|
int |
columns
|
String |
fileName
|
boolean |
isFile
|
String[] |
rowLabels
|
int |
rows
|
Constructor Summary | |
DataWrapper(int rows,
int columns,
String[] rowLabels,
String[] columnLabels,
String[][] cellValues)
Creates an DataWrapper for the given dimentions and the three arrays representing the labels table data. |
|
DataWrapper(String fileName)
Creates an DataWrapper for the given dimentions and the three arrays representing the labels table data. |
|
DataWrapper(com.klg.jclass.table.TableDataModel model)
Creates a DataWrapper given a general Table Data Model |
Method Summary | |
String |
getJavaInitializationString()
Returns a fragment of Java code representing an initializer for the current value. |
protected String |
makeArrayString(String[] stringArray)
|
protected String |
makeArrayString(String[][] stringArray)
|
protected String |
makeFileName()
|
String |
toString()
Returns a representation of this wrapper values as a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean isFile
public String fileName
public int rows
public int columns
public String[] rowLabels
public String[] columnLabels
public String[][] cellValues
Constructor Detail |
public DataWrapper(int rows, int columns, String[] rowLabels, String[] columnLabels, String[][] cellValues)
rows
- int number of rows in the table data model.columns
- int number of columns in the table data model.rowLabels
- String[] row labels.columnLabels
- String[] column labels.cellValues
- String[][] cell data.public DataWrapper(String fileName)
fileName
- String data source file name.public DataWrapper(com.klg.jclass.table.TableDataModel model)
model
- The Table Data ModelMethod Detail |
public String toString()
toString
in class Object
public String getJavaInitializationString()
protected String makeFileName()
protected String makeArrayString(String[] stringArray)
protected String makeArrayString(String[][] stringArray)
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |