|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.tinymceplugin.placeholder.DefaultPlaceholderImageFactory
public class DefaultPlaceholderImageFactory
Constructor Summary | |
---|---|
DefaultPlaceholderImageFactory(FontProvider fontProvider)
|
Method Summary | |
---|---|
BufferedImage |
getPlaceholderHeading(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor)
Generate a placeholder image that is suitable for use as a header in a body macro. |
BufferedImage |
getPlaceholderImage(InputStream iconStream,
int sizeInPixels)
|
BufferedImage |
getPlaceholderImage(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(List<StyledString> styledStrings,
InputStream iconStream,
Color backgroundColor,
Color borderColor,
boolean roundedCorner)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(StyledString styledString,
InputStream iconStream,
Color backgroundColor)
Generate placeholder image. |
BufferedImage |
getPlaceholderImage(StyledString styledString,
InputStream iconStream,
Color backgroundColor,
Color borderColor,
boolean roundedCorner)
Generate placeholder image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPlaceholderImageFactory(FontProvider fontProvider)
Method Detail |
---|
public BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor)
PlaceholderImageFactory
getPlaceholderImage
in interface PlaceholderImageFactory
styledString
- a styled stringiconStream
- stream of placeholder iconbackgroundColor
- background color
public BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor, Color borderColor, boolean roundedCorner)
PlaceholderImageFactory
getPlaceholderImage
in interface PlaceholderImageFactory
styledString
- a styled stringiconStream
- stream of placeholder iconbackgroundColor
- background colorborderColor
- border colorroundedCorner
- true if image should have rounded corner
public BufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
PlaceholderImageFactory
getPlaceholderImage
in interface PlaceholderImageFactory
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background color
public BufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor, Color borderColor, boolean roundedCorner)
PlaceholderImageFactory
getPlaceholderImage
in interface PlaceholderImageFactory
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background colorborderColor
- border colorroundedCorner
- true if image should have rounded corner
public BufferedImage getPlaceholderImage(InputStream iconStream, int sizeInPixels)
getPlaceholderImage
in interface PlaceholderImageFactory
public BufferedImage getPlaceholderHeading(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
PlaceholderImageFactory
getPlaceholderHeading
in interface PlaceholderImageFactory
styledStrings
- an ordered list of styled stringsiconStream
- stream of placeholder iconbackgroundColor
- background color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |