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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPlaceholderChrome()
Returns true if the image should have the macro placeholder chrome applied to it.
|
Dimensions |
getDimensions()
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)
public DefaultImagePlaceholder(String url, boolean applyPlaceholderChrome, ImageDimensions imageDimensions)
public String getUrl()
ImagePlaceholdergetUrl in interface ImagePlaceholderpublic Dimensions getDimensions()
ImagePlaceholdergetDimensions in interface ImagePlaceholderDimensions representing the image dimensions.public boolean applyPlaceholderChrome()
ImagePlaceholderapplyPlaceholderChrome in interface ImagePlaceholderCopyright © 2003–2018 Atlassian. All rights reserved.