- All Superinterfaces:
DataView
- All Known Implementing Classes:
DefaultImageView
The image view interface for displaying image object
- Version:
- 2.4 9/6/2007
- Author:
- Peter X. Cao
-
Field Summary
Fields inherited from interface hdf.view.DataView.DataView
DATAVIEW_IMAGE, DATAVIEW_TABLE, DATAVIEW_UNKNOWN
-
Method Summary
Modifier and TypeMethodDescriptiongetImage()
Get the image displayed in this imageViewbyte[]
Get the byte array of the image databyte[][]
Get the palette of the imageReturns the selected area of the imageGet the array of selected databoolean
Check if the image interlace is plane interlace.boolean
Check if the image is a truecolor image.void
Sets the imagevoid
setPalette
(byte[][] palette) Sets the image paletteMethods inherited from interface hdf.view.DataView.DataView
getDataObject
-
Method Details
-
getSelectedArea
Returns the selected area of the image- Returns:
- the rectangle of the selected image area.
-
isTrueColor
boolean isTrueColor()Check if the image is a truecolor image.- Returns:
- true if the image is a truecolor image.
-
isPlaneInterlace
boolean isPlaneInterlace()Check if the image interlace is plane interlace.- Returns:
- true if the image interlace is plane interlace.
-
getSelectedData
-
getImage
-
setImage
-
getPalette
-
setPalette
Sets the image palette- Parameters:
palette
- the palette for the image to view
-
getImageByteData
byte[] getImageByteData()Get the byte array of the image data- Returns:
- the byte array of the image data
-