org.das2.components.DataPointRecorderNew

DataPointRecorderNew is a GUI for storing data points selected by the user. This is the old recorder but: 1. uses QDataSet to handle the data. No more strange internal object. 2. allows the columns to be declared explicitly by code, and data is merged in by name.


setColumn

setColumn( int i, String name, Units units, Datum deft ) → void

identify the name and unit for each column.

Parameters

i - the column number
name - a Java identifier for the column, e.g. "StartTime"
units - units for the column, or null for dimensionless.
deft - default value to use when data is not provided.

Returns:

void (returns nothing)

search for examples view on GitHub view source


setColumnCount

setColumnCount( int count ) → void

explicitly declare the number of columns. Call this and then setColumn to define each column.

Parameters

count - the number of columns.

Returns:

void (returns nothing)

search for examples view on GitHub view source