|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smartgwt.client.util.FileLoader
public class FileLoader
Helper class to preload skin images.
| Constructor Summary | |
|---|---|
FileLoader()
|
|
| Method Summary | |
|---|---|
static void |
cacheEdgeImages(String skinImgDir,
String baseURL)
Caches a set of edge images derived from a base image. |
static void |
cacheEdgeImages(String skinImgDir,
String[] baseURLs,
String[] edges)
Caches a set of edge images derived from a base image. |
static void |
cacheEdgeImages(String skinImgDir,
String baseURL,
String edges)
Caches a set of edge images derived from a base image. |
static void |
cacheEdgeImages(String skinImgDir,
String baseURL,
String[] edges)
Caches a set of edge images derived from a base image. |
static void |
cacheImg(String skinImgDir,
String baseImageURL)
Cache a list of images |
static void |
cacheImgs(String skinImgDir,
List<String> baseImageURLs)
Cache a list of images |
static void |
cacheImgStates(String skinImgDir,
String[] baseImageURLs,
String[] states)
Caches a set of state images derived from a base image. |
static void |
cacheImgStates(String skinImgDir,
String baseImageURL,
String states)
Caches a set of state images derived from a base image. |
static void |
cacheStretchImgStates(String skinImgDir,
String[] baseURLs,
String[] states)
Caches a set of state stretch images derived from a base image. |
static void |
cacheStretchImgStates(String skinImgDir,
String baseURL,
String states)
Caches a set of state stretch images derived from a base image. |
static void |
cacheStretchImgStates(String skinImgDir,
String baseURL,
String[] states)
Caches a set of state stretch images derived from a base image. |
static String |
getSkinDir()
Return the skin dir. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileLoader()
| Method Detail |
|---|
public static String getSkinDir()
public static void cacheImgs(String skinImgDir,
List<String> baseImageURLs)
skinImgDir - the skinImgDirbaseImageURLs - a list of base urls
public static void cacheImg(String skinImgDir,
String baseImageURL)
skinImgDir - the skinImgDirbaseImageURL - the base urls
public static void cacheImgStates(String skinImgDir,
String baseImageURL,
String states)
skinImgDir - the skinImgDirbaseImageURL - the base image pathstates - a list of states to load.
public static void cacheImgStates(String skinImgDir,
String[] baseImageURLs,
String[] states)
skinImgDir - the skinImgDirbaseImageURLs - the base image pathsstates - a list of states to load.
public static void cacheEdgeImages(String skinImgDir,
String baseURL)
skinImgDir - the skinImgDirbaseURL - the base url
public static void cacheEdgeImages(String skinImgDir,
String baseURL,
String edges)
skinImgDir - the skinImgDirbaseURL - the base urledges - List of edges to load.
public static void cacheEdgeImages(String skinImgDir,
String baseURL,
String[] edges)
skinImgDir - the skinImgDirbaseURL - the base urledges - List of edges to load.
public static void cacheEdgeImages(String skinImgDir,
String[] baseURLs,
String[] edges)
skinImgDir - the skinImgDirbaseURLs - list of base urlsedges - List of edges to load.
public static void cacheStretchImgStates(String skinImgDir,
String baseURL,
String states)
skinImgDir - the skinImgDirbaseURL - base image URL from which stateful names are to be derivedstates - List of states to load.
public static void cacheStretchImgStates(String skinImgDir,
String baseURL,
String[] states)
skinImgDir - the skinImgDirbaseURL - base image URL from which stateful names are to be derivedstates - List of states to load.
public static void cacheStretchImgStates(String skinImgDir,
String[] baseURLs,
String[] states)
skinImgDir - the skinImgDirbaseURLs - List of base image URLs from which stateful names are to be derivedstates - List of states to load.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||