org.das2.dataset.test
Class MendelbrotDataSetDescriptor

java.lang.Object
  extended by org.das2.dataset.DataSetDescriptor
      extended by org.das2.dataset.test.MendelbrotDataSetDescriptor
All Implemented Interfaces:
Displayable

public class MendelbrotDataSetDescriptor
extends DataSetDescriptor


Field Summary
 
Fields inherited from class org.das2.dataset.DataSetDescriptor
properties
 
Constructor Summary
MendelbrotDataSetDescriptor(DasAxis yAxis)
          Creates a new instance of MendelbrotDataSetDescriptor
 
Method Summary
protected  DataSet getDataSetImpl(Datum start, Datum end, Datum resolution, ProgressMonitor monitor)
          getDataSetImpl implements the getDataSet for this DataSetDescriptor implementation.
 int getLimit()
           
 int getOverSampleFactor()
          Getter for property overSampleFactor.
 Units getXUnits()
           
 void setLimit(int limit)
           
 void setOverSampleFactor(int overSampleFactor)
          Setter for property overSampleFactor.
 
Methods inherited from class org.das2.dataset.DataSetDescriptor
addDataSetUpdateListener, create, fireDataSetUpdateEvent, getDataSet, getDataSetCache, getDataSetID, getListIcon, getListLabel, getProperty, removeDataSetUpdateListener, requestDataSet, requestDataSet, reset, setDefaultCaching, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MendelbrotDataSetDescriptor

public MendelbrotDataSetDescriptor(DasAxis yAxis)
Creates a new instance of MendelbrotDataSetDescriptor

Method Detail

getDataSetImpl

protected DataSet getDataSetImpl(Datum start,
                                 Datum end,
                                 Datum resolution,
                                 ProgressMonitor monitor)
                          throws DasException
Description copied from class: DataSetDescriptor
getDataSetImpl implements the getDataSet for this DataSetDescriptor implementation. The getDataSet call of the abstract DataSetDescriptor uses this routine to satisfy requests and fill its cache. This caching may be disabled via setDefaultCaching. To satisfy the request, a DataSet should be returned with an x tag range that contains start and end, with a resolution finer than that requested.

Specified by:
getDataSetImpl in class DataSetDescriptor
Parameters:
start - beginning of range for the request.
end - end of the range for the request.
resolution - the resolution requirement for the reqeust. null may be used to request the finest resolution available or intrinic resolution.
Throws:
DasException

getXUnits

public Units getXUnits()
Specified by:
getXUnits in class DataSetDescriptor
Returns:
the x units of the DataSetDescriptor that parameterize the data. This is used to identify dataSet requests.

setLimit

public void setLimit(int limit)

getLimit

public int getLimit()

getOverSampleFactor

public int getOverSampleFactor()
Getter for property overSampleFactor.

Returns:
Value of property overSampleFactor.

setOverSampleFactor

public void setOverSampleFactor(int overSampleFactor)
Setter for property overSampleFactor.

Parameters:
overSampleFactor - New value of property overSampleFactor.