ncsa.hdf.view
Interface ImageView

All Superinterfaces:
DataView
All Known Implementing Classes:
DefaultImageView

public interface ImageView
extends DataView

Title: ncsa.hdf.view.ImageView

The image view interface for displaying image object

Company: National Computational Science Alliance


Method Summary
 java.awt.Image getImage()
          returns the image displayed in this imageView
 byte[] getImageByteData()
          returns the byte array of the image data
 byte[][] getPalette()
          returns the palette of the image
 java.awt.Rectangle getSelectedArea()
          returns the selected area of the image
 java.lang.Object getSelectedData()
          returns array of selected data
 boolean isPlaneInterlace()
           
 boolean isTrueColor()
           
 void setImage(java.awt.Image img)
          sets the image
 void setPalette(byte[][] palette)
          sets the image palette
 
Methods inherited from interface ncsa.hdf.view.DataView
dispose, getDataObject
 

Method Detail

getSelectedArea

public java.awt.Rectangle getSelectedArea()
returns the selected area of the image

Returns:
the rectangle of the selected image area.

isTrueColor

public boolean isTrueColor()
Returns:
true if the image is a truecolor image.

isPlaneInterlace

public boolean isPlaneInterlace()
Returns:
true if the image interlace is plance interlace.

getSelectedData

public java.lang.Object getSelectedData()
returns array of selected data


getImage

public java.awt.Image getImage()
returns the image displayed in this imageView


setImage

public void setImage(java.awt.Image img)
sets the image


getPalette

public byte[][] getPalette()
returns the palette of the image


setPalette

public void setPalette(byte[][] palette)
sets the image palette


getImageByteData

public byte[] getImageByteData()
returns the byte array of the image data