public interface

PlaceholderImageFactory

com.atlassian.confluence.tinymceplugin.placeholder.PlaceholderImageFactory
Known Indirect Subclasses

Class Overview

Generates placeholder images.

Summary

Public Methods
abstract 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.
abstract BufferedImage getPlaceholderImage(InputStream iconStream, int sizeInPixels)
abstract BufferedImage getPlaceholderImage(List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)
Generate placeholder image.
abstract BufferedImage getPlaceholderImage(StyledString styledString, InputStream iconStream, Color backgroundColor)
Generate placeholder image.

Public Methods

public abstract 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.

Parameters
styledStrings an ordered list of styled strings
iconStream stream of placeholder icon
backgroundColor background color
Returns
  • a placeholder image

public abstract BufferedImage getPlaceholderImage (InputStream iconStream, int sizeInPixels)

public abstract BufferedImage getPlaceholderImage (List<StyledString> styledStrings, InputStream iconStream, Color backgroundColor)

Generate placeholder image.

Parameters
styledStrings an ordered list of styled strings
iconStream stream of placeholder icon
backgroundColor background color
Returns
  • a placeholder image

public abstract BufferedImage getPlaceholderImage (StyledString styledString, InputStream iconStream, Color backgroundColor)

Generate placeholder image.

Parameters
styledString a styled string
iconStream stream of placeholder icon
backgroundColor background color
Returns
  • a placeholder image