|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfable.imageviewer.model.ImageModelFactory
public class ImageModelFactory
This class either uses a loader read from an extension point, or it returns an ImageModel backed by a fabio file. This allows non-fabio loaders to be used with fable.
| Constructor Summary | |
|---|---|
ImageModelFactory()
|
|
| Method Summary | |
|---|---|
static ImageModel |
getImageModel(java.lang.Object path)
Gets ImageModel from path |
static ImageModel |
getImageModel(java.lang.String path)
Gets ImageModel from path |
static ImageModel |
getImageModel(java.lang.String fileName,
int width,
int height,
float[] imageDiffArray)
Gets ImageModel directly from data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageModelFactory()
| Method Detail |
|---|
public static ImageModel getImageModel(java.lang.Object path)
throws java.lang.Throwable
path -
java.lang.Throwable
public static ImageModel getImageModel(java.lang.String path)
throws java.lang.Throwable
path -
java.lang.Throwable
public static ImageModel getImageModel(java.lang.String fileName,
int width,
int height,
float[] imageDiffArray)
fileName - width - height - imageDiffArray -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||