org.das2.dataset.ConstantDataSetDescriptor

This class wraps a DataSet to use where DataSetDescriptors are required. This trivially returns the wrapped DataSet regardless of the getDataSet parameters. Originally this class was used with Renderers, which needed a DataSetDescriptor for their operation. Now that they interact only with DataSets, and this class should not be used with them, use Renderer.setDataSet instead.

ConstantDataSetDescriptor( org.das2.dataset.DataSet ds )

Creates a new instance of ConstantDataSetDescriptor


getDataSet

getDataSet( Datum start, Datum end, Datum resolution, ProgressMonitor monitor ) → DataSet

Parameters

start - a Datum
end - a Datum
resolution - a Datum
monitor - a ProgressMonitor

Returns:

org.das2.dataset.DataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDataSetImpl

getDataSetImpl( Datum start, Datum end, Datum resolution, ProgressMonitor monitor ) → DataSet

Parameters

start - a Datum
end - a Datum
resolution - a Datum
monitor - a ProgressMonitor

Returns:

org.das2.dataset.DataSet

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXUnits

getXUnits( ) → Units

Returns:

org.das2.datum.Units

[search for examples] [view on GitHub] [view on old javadoc] [view source]


requestDataSet

requestDataSet( Datum start, Datum end, Datum resolution, ProgressMonitor monitor, Object lockObject ) → void

Parameters

start - a Datum
end - a Datum
resolution - a Datum
monitor - a ProgressMonitor
lockObject - an Object

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]