public class ImageRepository extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORTED |
static int |
COMPLETE |
protected static Component |
component |
static boolean |
DEBUG |
static int |
ERRORED |
protected static Hashtable |
ids |
protected static Hashtable |
images |
static int |
LOADING |
protected static MediaTracker |
tracker |
| Constructor and Description |
|---|
ImageRepository() |
| Modifier and Type | Method and Description |
|---|---|
static Image |
getImage(URL imageURL)
Gets an image loading it from the specified URL.
|
static Image |
getImage(URL imageURL,
ImageObserver observer) |
static Image |
getImageAndWait(URL imageURL)
Gets an image loading it from the specified URL.
|
static int |
getLoadingState(URL imageURL) |
public static boolean DEBUG
protected static final Component component
protected static Hashtable images
protected static MediaTracker tracker
protected static Hashtable ids
public static int COMPLETE
public static int ERRORED
public static int ABORTED
public static int LOADING
public static Image getImage(URL imageURL)
ImageObserverimageURL - public static Image getImage(URL imageURL, ImageObserver observer)
public static Image getImageAndWait(URL imageURL)
imageURL - public static int getLoadingState(URL imageURL)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.