| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private Exception | |
| private double | |
| private static PlatformLogger | |
| private Image[] | |
| private int | |
| private float | |
| private double |
| Access | Constructor and Description |
|---|---|
| public | PrismImageLoader2(String url, double width, double height, boolean preserveRatio, float pixelScale, boolean smooth)
|
| public | PrismImageLoader2(InputStream stream, double width, double height, boolean preserveRatio, boolean smooth)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Exception | |
| public PlatformImage | |
| public int | |
| public int | |
| public double | |
| private static synchronized PlatformLogger | |
| public int | |
| public double | |
| private void | |
| private void | |
| private void | |
| private void |
| delayTimes | back to summary |
|---|---|
| private int[] delayTimes | |
| exception | back to summary |
|---|---|
| private Exception exception | |
| height | back to summary |
|---|---|
| private double height | |
| imageioLogger | back to summary |
|---|---|
| private static PlatformLogger imageioLogger | |
| images | back to summary |
|---|---|
| private Image[] images | |
| loopCount | back to summary |
|---|---|
| private int loopCount | |
| pixelScale | back to summary |
|---|---|
| private float pixelScale | |
| width | back to summary |
|---|---|
| private double width | |
| PrismImageLoader2 | back to summary |
|---|---|
| public PrismImageLoader2(String url, double width, double height, boolean preserveRatio, float pixelScale, boolean smooth) | |
| PrismImageLoader2 | back to summary |
|---|---|
| public PrismImageLoader2(InputStream stream, double width, double height, boolean preserveRatio, boolean smooth) | |
| convertAll | back to summary |
|---|---|
| private void convertAll(ImageFrame[] imgFrames) | |
| getException | back to summary |
|---|---|
| public Exception getException() Implements com.
| |
| getFrame | back to summary |
|---|---|
| public PlatformImage getFrame(int index) Implements com.
| |
| getFrameCount | back to summary |
|---|---|
| public int getFrameCount() Implements com.
| |
| getFrameDelay | back to summary |
|---|---|
| public int getFrameDelay(int index) Implements com.
| |
| getHeight | back to summary |
|---|---|
| public double getHeight() Implements com.
| |
| getImageioLogger | back to summary |
|---|---|
| private static synchronized PlatformLogger getImageioLogger() Returns the PlatformLogger for logging imageio-related activities. | |
| getLoopCount | back to summary |
|---|---|
| public int getLoopCount() Implements com.
| |
| getWidth | back to summary |
|---|---|
| public double getWidth() Implements com.
| |
| handleException | back to summary |
|---|---|
| private void handleException(final ImageStorageException isException) | |
| handleException | back to summary |
|---|---|
| private void handleException(final Exception exception) | |
| loadAll | back to summary |
|---|---|
| private void loadAll(String url, double w, double h, boolean preserveRatio, float pixelScale, boolean smooth) | |
| loadAll | back to summary |
|---|---|
| private void loadAll(InputStream stream, double w, double h, boolean preserveRatio, boolean smooth) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ExecutorService | |
| pack-priv double | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv double |
| Access | Constructor and Description |
|---|---|
| public | AsyncImageLoader(AsyncOperationListener<PrismImageLoader2> listener, String url, double width, double height, boolean preserveRatio, boolean smooth)
|
| Modifier and Type | Method and Description |
|---|---|
| public PrismImageLoader2 | call()
Overrides com. Implements java. Computes a result, or throws an exception if unable to do so. |
| private static ExecutorService | |
| protected PrismImageLoader2 | processStream(InputStream stream)
Implements abstract com.
|
| public void |
| BG_LOADING_EXECUTOR | back to summary |
|---|---|
| private static final ExecutorService BG_LOADING_EXECUTOR | |
| height | back to summary |
|---|---|
| pack-priv double height | |
| preserveRatio | back to summary |
|---|---|
| pack-priv boolean preserveRatio | |
| smooth | back to summary |
|---|---|
| pack-priv boolean smooth | |
| width | back to summary |
|---|---|
| pack-priv double width | |
| AsyncImageLoader | back to summary |
|---|---|
| public AsyncImageLoader(AsyncOperationListener<PrismImageLoader2> listener, String url, double width, double height, boolean preserveRatio, boolean smooth) | |
| call | back to summary |
|---|---|
| public PrismImageLoader2 call() throws IOException Overrides com. Implements java. Doc from java. Computes a result, or throws an exception if unable to do so.
| |
| createExecutor | back to summary |
|---|---|
| private static ExecutorService createExecutor() | |
| processStream | back to summary |
|---|---|
| protected PrismImageLoader2 processStream(InputStream stream) throws IOException Implements abstract com.
| |
| start | back to summary |
|---|---|
| public void start() Overrides com. Implements com.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | imageLoadMetaData(ImageLoader
the loader, ImageMetadata ImageLoader used to load the image.of the image. metadata)Implements com. Invoked when the meta data of the loading image is ready. |
| public void | imageLoadProgress(ImageLoader
the loader, float ImageLoader used to load the image.the percentage percentageComplete)[0.0,100.0]
of image data loaded.Implements com. Receives updates of progress in image loading. |
| public void | imageLoadWarning(ImageLoader
the loader, String ImageLoader used to load the image.a message indicating the nature of the error. message)Implements com. Invoked if a warning occurs. |
| PrismLoadListener | back to summary |
|---|---|
| private PrismLoadListener() | |
| imageLoadMetaData | back to summary |
|---|---|
| public void imageLoadMetaData(ImageLoader loader, ImageMetadata metadata) Implements com. Doc from com. Invoked when the meta data of the loading image is ready.
| |
| imageLoadProgress | back to summary |
|---|---|
| public void imageLoadProgress(ImageLoader loader, float percentageComplete) Implements com. Doc from com. Receives updates of progress in image loading.
| |
| imageLoadWarning | back to summary |
|---|---|
| public void imageLoadWarning(ImageLoader loader, String message) Implements com. Doc from com. Invoked if a warning occurs.
| |