org.dawb.fable.extensions
Class FableImageWrapper

java.lang.Object
  extended by org.dawb.fable.extensions.FableImageWrapper
All Implemented Interfaces:
IFableImage

public class FableImageWrapper
extends java.lang.Object
implements IFableImage


Constructor Summary
FableImageWrapper(java.lang.String fileName, uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset data, java.util.List<uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset> axes, long time)
           
FableImageWrapper(java.lang.String fileName, uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset set, long time)
           
 
Method Summary
 java.lang.String getFileName()
          The name not the full path of the file.
 int getHeight()
          The secpnd dimension of the image
 float[] getImage()
          The image data.
 long getLoadTime()
          Time to load image, or -1 if not calculated.
 int getWidth()
          The first dimension of the image
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FableImageWrapper

public FableImageWrapper(java.lang.String fileName,
                         uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset set,
                         long time)

FableImageWrapper

public FableImageWrapper(java.lang.String fileName,
                         uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset data,
                         java.util.List<uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset> axes,
                         long time)
Method Detail

getFileName

public java.lang.String getFileName()
Description copied from interface: IFableImage
The name not the full path of the file.

Specified by:
getFileName in interface IFableImage
Returns:

getWidth

public int getWidth()
Description copied from interface: IFableImage
The first dimension of the image

Specified by:
getWidth in interface IFableImage
Returns:

getHeight

public int getHeight()
Description copied from interface: IFableImage
The secpnd dimension of the image

Specified by:
getHeight in interface IFableImage
Returns:

getImage

public float[] getImage()
Description copied from interface: IFableImage
The image data.

Specified by:
getImage in interface IFableImage
Returns:

getLoadTime

public long getLoadTime()
Description copied from interface: IFableImage
Time to load image, or -1 if not calculated.

Specified by:
getLoadTime in interface IFableImage
Returns: