- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 28 of file Images.java.
◆ get12Image()
static String org.turro.elephant.util.Images.get12Image |
( |
String |
image | ) |
|
|
static |
Definition at line 40 of file Images.java.
41 return PATH_TO_12IMAGES + image + IMAGE_EXTENSION;
◆ get64Image()
static String org.turro.elephant.util.Images.get64Image |
( |
String |
image | ) |
|
|
static |
Definition at line 44 of file Images.java.
45 return PATH_TO_64IMAGES + image + IMAGE_EXTENSION;
◆ getBlankImage()
static String org.turro.elephant.util.Images.getBlankImage |
( |
| ) |
|
|
static |
Definition at line 48 of file Images.java.
static final String PATH_TO_IMAGES
◆ getImage()
static String org.turro.elephant.util.Images.getImage |
( |
String |
image | ) |
|
|
static |
◆ getImageOrDefault() [1/2]
static String org.turro.elephant.util.Images.getImageOrDefault |
( |
String |
image | ) |
|
|
static |
Definition at line 52 of file Images.java.
static String getImageOrDefault(String image)
◆ getImageOrDefault() [2/2]
static String org.turro.elephant.util.Images.getImageOrDefault |
( |
String |
image, |
|
|
String |
defaultImage |
|
) |
| |
|
static |
Definition at line 56 of file Images.java.
57 return Files.exists(image) ? image : defaultImage;
◆ getImageOrNull()
static String org.turro.elephant.util.Images.getImageOrNull |
( |
String |
image | ) |
|
|
static |
Definition at line 60 of file Images.java.
61 return Files.exists(image) ? image :
null;
◆ removeAppContext()
static String org.turro.elephant.util.Images.removeAppContext |
( |
String |
path | ) |
|
|
static |
Definition at line 64 of file Images.java.
65 if(path.startsWith(ElephantContext.getRootWebPath())) {
66 path = path.substring(ElephantContext.getRootWebPath().length());
◆ PATH_TO_IMAGES
final String org.turro.elephant.util.Images.PATH_TO_IMAGES = "/_zul/images/" |
|
static |
The documentation for this class was generated from the following file: