Object
org.eclipse.swt.widgets.Dialog
hdf.view.PaletteView.DefaultPaletteView
- All Implemented Interfaces:
DataView
,PaletteView
Displays a dialog for viewing and change palettes.
- Version:
- 2.4 2/27/16
- Author:
- Jordan T. Henderson
-
Field Summary
Modifier and TypeFieldDescription(package private) boolean
(package private) byte[][]
Fields inherited from interface hdf.view.DataView.DataView
DATAVIEW_IMAGE, DATAVIEW_TABLE, DATAVIEW_UNKNOWN
-
Constructor Summary
ConstructorDescriptionDefaultPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager theViewer, ImageView theImageView)
DefaultPaletteView(org.eclipse.swt.widgets.Shell parent, ImageView theImageView)
-
Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
palette
byte[][] palette -
isPaletteChanged
boolean isPaletteChanged
-
-
Constructor Details
-
DefaultPaletteView
-
DefaultPaletteView
public DefaultPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager theViewer, ImageView theImageView)
-
-
Method Details
-
createUI
-
getDataObject
- Specified by:
getDataObject
in interfaceDataView
- Returns:
- the data object displayed in this data viewer
-