public class DefaultImagePlaceholder extends Object implements ImagePlaceholder
| Constructor and Description |
|---|
DefaultImagePlaceholder(String url,
boolean applyPlaceholderChrome,
ImageDimensions imageDimensions) |
DefaultImagePlaceholder(String url,
Dimensions dimensions,
boolean applyPlaceholderChrome)
Deprecated.
since 5.3. Use
DefaultImagePlaceholder(String, boolean, ImageDimensions) instead. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPlaceholderChrome()
Returns true if the image should have the macro placeholder chrome applied to it.
|
Dimensions |
getDimensions()
Deprecated.
since 7.2. Use
getImageDimensions() instead. |
ImageDimensions |
getImageDimensions()
Returns the dimensions that the image is to be rendered as.
|
String |
getUrl()
Returns the url to the image to render, relative to the Confluence base url.
|
@Deprecated public DefaultImagePlaceholder(String url, Dimensions dimensions, boolean applyPlaceholderChrome)
DefaultImagePlaceholder(String, boolean, ImageDimensions) instead.public DefaultImagePlaceholder(String url, boolean applyPlaceholderChrome, ImageDimensions imageDimensions)
public String getUrl()
ImagePlaceholdergetUrl in interface ImagePlaceholder@Deprecated public Dimensions getDimensions()
getImageDimensions() instead.ImagePlaceholdergetDimensions in interface ImagePlaceholderDimensions representing the image dimensions.public ImageDimensions getImageDimensions()
ImagePlaceholdergetImageDimensions in interface ImagePlaceholderImageDimensions representing the image dimensions.public boolean applyPlaceholderChrome()
ImagePlaceholderapplyPlaceholderChrome in interface ImagePlaceholderCopyright © 2003–2022 Atlassian. All rights reserved.