|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageSource
Definition for items with associated images, such as pages and components.
| Method Summary | |
|---|---|
Optional<String> |
getImageSource()
Get the image source for the default image (named "image") for this node. |
Optional<String> |
getImageSource(int width)
Get the image source for the default image (named "image") for this node for the given width. |
Optional<String> |
getImageSource(String name)
Get the image source for this node for the named image. |
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. |
| Method Detail |
|---|
Optional<String> getImageSource()
Optional<String> getImageSource(int width)
width - image width
Optional<String> getImageSource(String name)
name - image name (name of image as defined in dialog)
Optional<String> getImageSource(String name,
int width)
name - image name (name of image as defined in dialog)width - image width
boolean isHasImage()
boolean isHasImage(String name)
name - image name (name of image as defined in dialog)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||