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()
ImagePlaceholder
getUrl
in interface ImagePlaceholder
@Deprecated public Dimensions getDimensions()
getImageDimensions()
instead.ImagePlaceholder
getDimensions
in interface ImagePlaceholder
Dimensions
representing the image dimensions.public ImageDimensions getImageDimensions()
ImagePlaceholder
getImageDimensions
in interface ImagePlaceholder
ImageDimensions
representing the image dimensions.public boolean applyPlaceholderChrome()
ImagePlaceholder
applyPlaceholderChrome
in interface ImagePlaceholder
Copyright © 2003–2020 Atlassian. All rights reserved.