Object
hdf.view.TableView.DataProviderFactory
public class DataProviderFactory extends Object
A Factory class to return a concrete class implementing the IDataProvider
interface in order to provide data for a NatTable.
- Version:
- 1.0 2/9/2019
- Author:
- Jordan T. Henderson
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataProviderFactory.HDFDataProviderThe base DataProvider which pulls data from a given Array object using direct indices. -
Constructor Summary
Constructors Constructor Description DataProviderFactory() -
Method Summary
Modifier and Type Method Description static DataProviderFactory.HDFDataProvidergetDataProvider(DataFormat dataObject, Object dataBuf, boolean dataTransposed)Get the Data Display Provider for the supplied data objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DataProviderFactory
public DataProviderFactory()
-
-
Method Details
-
getDataProvider
public static DataProviderFactory.HDFDataProvider getDataProvider(DataFormat dataObject, Object dataBuf, boolean dataTransposed) throws ExceptionGet the Data Display Provider for the supplied data object- Parameters:
dataObject- the data objectdataBuf- the data buffer to usedataTransposed- if the data should be transposed- Returns:
- the provider instance
- Throws:
Exception- if a failure occurred
-