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

# Class DefaultPaletteViewFactory

Object
hdf.view.DataView.DataViewFactory
hdf.view.PaletteView.PaletteViewFactory
hdf.view.PaletteView.DefaultPaletteViewFactory

public class DefaultPaletteViewFactory extends PaletteViewFactory
A simple Factory class which returns concrete instances of the default PaletteView.

Version:
  1.0 4/18/2018
Author:
  jhenderson

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultPaletteViewFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PaletteView`
  `getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView)`
  Get an instance of PaletteView given the appropriate constructor parameters

  ### Methods inherited from class hdf.view.PaletteView.PaletteViewFactory

  `getImageView, getMetaDataView, getTableView, getTreeView`

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

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

- ## Constructor Details

  - ### DefaultPaletteViewFactory

    public DefaultPaletteViewFactory()

- ## Method Details

  - ### getPaletteView

    public PaletteView getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) throws ClassNotFoundException
    Description copied from class: `DataViewFactory`
    Get an instance of PaletteView given the appropriate constructor parameters
    Specified by:
      `getPaletteView` in class `DataViewFactory`
    Parameters:
      `parent` - The parent shell for the palette view
      `viewer` - The data view manager
      `theImageView` - The image view for the palette view
    Returns:
      the palette view.
    Throws:
      `ClassNotFoundException` - If there is an error getting the class for a palette view.