public interface ImageSource
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<String> |
getImageSource()
Get the image source for the default image (named "image") for this node.
|
com.google.common.base.Optional<String> |
getImageSource(int width)
Get the image source for the default image (named "image") for this node for the given width.
|
com.google.common.base.Optional<String> |
getImageSource(String name)
Get the image source for this node for the named image.
|
com.google.common.base.Optional<String> |
getImageSource(String name,
int width)
Get the image source for this node for the named image and given width.
|
boolean |
isHasImage()
Check if the current resource has a default image.
|
boolean |
isHasImage(String name)
Check if the current resource has a named image.
|
com.google.common.base.Optional<String> getImageSource()
com.google.common.base.Optional<String> getImageSource(int width)
width
- image widthcom.google.common.base.Optional<String> getImageSource(String name)
name
- image name (name of image as defined in dialog)com.google.common.base.Optional<String> getImageSource(String name, int width)
name
- image name (name of image as defined in dialog)width
- image widthboolean isHasImage()
boolean isHasImage(String name)
name
- image name (name of image as defined in dialog)Copyright © 2019 ICF Next. All rights reserved.