- 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()byte[]byte[][]Returns the selected area of the imagebooleanbooleanvoidSets the imagevoidsetPalette(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()- Returns:
 - true if the image is a truecolor image.
 
 - 
isPlaneInterlace
boolean isPlaneInterlace()- Returns:
 - true if the image interlace is plane interlace.
 
 - 
getSelectedData
- Returns:
 - array of selected data
 
 - 
getImage
- Returns:
 - the image displayed in this imageView
 
 - 
setImage
Sets the image- Parameters:
 img- the image to view
 - 
getPalette
byte[][] getPalette()- Returns:
 - the palette of the image
 
 - 
setPalette
Sets the image palette- Parameters:
 palette- the palette for the image to view
 - 
getImageByteData
byte[] getImageByteData()- Returns:
 - the byte array of the image data
 
 
 -