com.day.cq.dam.api.thumbnail
Interface ThumbnailConfig

All Known Implementing Classes:
ThumbnailConfigImpl

public interface ThumbnailConfig

This interface specifies the accessors for a thumbnail configuration.

Since:
CQ 5.4.0
Author:
djaeggi

Field Summary
static String PN_DOCENTER
          Name of the configuration property for whether the thumbnail shall be rendered centered or not.
static String PN_HEIGHT
          Name of the configuration property for the thumbnail's height.
static String PN_WIDTH
          Name of the configuration property for the thumbnail's width.
 
Method Summary
 boolean doCenter()
          Returns whether this thumbnail is rendered centered.
 int getHeight()
          Retrieves the height in pixels for a thumbnail.
 int getWidth()
          Retrieves the width in pixels for a thumbnail.
 

Field Detail

PN_WIDTH

static final String PN_WIDTH
Name of the configuration property for the thumbnail's width.

See Also:
Constant Field Values

PN_HEIGHT

static final String PN_HEIGHT
Name of the configuration property for the thumbnail's height.

See Also:
Constant Field Values

PN_DOCENTER

static final String PN_DOCENTER
Name of the configuration property for whether the thumbnail shall be rendered centered or not.

See Also:
Constant Field Values
Method Detail

getWidth

int getWidth()
Retrieves the width in pixels for a thumbnail.

Returns:
The width of the thumbnail.

getHeight

int getHeight()
Retrieves the height in pixels for a thumbnail.

Returns:
The height of the thumbnail.

doCenter

boolean doCenter()
Returns whether this thumbnail is rendered centered.

Returns:
true if the thumbnail is rendered centered.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.