Module org.hdfgroup.hdfview
Package hdf.view.TableView

# Class DefaultTableViewFactory

Object
hdf.view.DataView.DataViewFactory
hdf.view.TableView.TableViewFactory
hdf.view.TableView.DefaultTableViewFactory

public class DefaultTableViewFactory extends TableViewFactory
A simple Factory class which returns concrete instances of the default TableView, based on whether the data object to be viewed is a scalar or compound dataset or is an attribute.

Version:
  1.0 4/18/2018
Author:
  jhenderson

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultTableViewFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TableView`
  `getTableView(DataViewManager viewer, HashMap dataPropertiesMap)`
  Get the TableView for the data object identified by the data properties mapping

  ### Methods inherited from class hdf.view.TableView.TableViewFactory

  `getImageView, getMetaDataView, getPaletteView, getTreeView`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultTableViewFactory

    public DefaultTableViewFactory()

- ## Method Details

  - ### getTableView

    public TableView getTableView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundException
    Get the TableView for the data object identified by the data properties mapping
    Specified by:
      `getTableView` in class `DataViewFactory`
    Parameters:
      `viewer` - the data view manager
      `dataPropertiesMap` - the data properties map
    Returns:
      the TableView instance
    Throws:
      `ClassNotFoundException` - if a failure occurred