public final class CustomIcon extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
exists(String customIcon)
Checks if a custom icon with the specified name exists in the custom-icons folder.
|
static org.zkoss.zul.Image |
getImage(String customIcon)
Return an
Image containing the custom image. |
static org.zkoss.zul.Image |
updateImage(String customIcon,
org.zkoss.zul.Image image)
Updates the content of the provided image with the specified custom icon.
|
public static boolean exists(String customIcon)
customIcon
- the value contained in SYSCUSTOMICONNAME. Can contain path and extension. Only the base-name
of the file will be used to check if the icon exists.public static org.zkoss.zul.Image getImage(String customIcon)
Image
containing the custom image. If the custom image does not exist,
an empty image is returned.customIcon
- the custom icon to load as imagepublic static org.zkoss.zul.Image updateImage(String customIcon, org.zkoss.zul.Image image)
customIcon
- custom icon to loadimage
- image to updateCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.