Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.DataOptionDialog
DataOptionDialog is an dialog window used to select display options. Display options include
selection of subset, display type (image, text, or spreadsheet).
- Version:
- 2.4 3/26/2016
- Author:
- Jordan T. Henderson
-
Constructor Summary
ConstructorDescriptionDataOptionDialog
(org.eclipse.swt.widgets.Shell parent, DataFormat dataObject) Constructs a DataOptionDialog with the given HDFView. -
Method Summary
Modifier and TypeMethodDescriptionGet the bitmask valueGet the name of the datatviewboolean
Check if only the bitmask should be appliedboolean
Check if the data selection is cancelledboolean
Check if the data should display as charactersboolean
Check if the display option is imageboolean
Check if the index starts with 0boolean
Check if the data in 2D table is to be transposedvoid
open()
Open the DataOptionDialoDialog used to select display options for an object.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
DataOptionDialog
Constructs a DataOptionDialog with the given HDFView.- Parameters:
parent
- the parent of this dialogdataObject
- the data object associated with this dialog
-
-
Method Details
-
open
Open the DataOptionDialoDialog used to select display options for an object. -
isImageDisplay
Check if the display option is image- Returns:
- true if the display option is image.
-
isIndexBase1
Check if the index starts with 0- Returns:
- true if the index starts with 0.
-
getBitmask
-
getDataViewName
Get the name of the datatview- Returns:
- the name of the selected dataview
-
isDisplayTypeChar
Check if the data should display as characters- Returns:
- true if display the data as characters; otherwise, display as numbers.
-
isApplyBitmaskOnly
Check if only the bitmask should be applied- Returns:
- if it only apply bitmask.
-
isTransposed
Check if the data in 2D table is to be transposed- Returns:
- true if transpose the data in 2D table; otherwise, do not transpose the data.
-
isCancelled
Check if the data selection is cancelled- Returns:
- true if the data selection is cancelled.
-