|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.pages.thumbnail.Thumbnails
public class Thumbnails
Retrieves or constructs ThumbnailInfo objects for a list of
image Attachments, and determines the maximum height and width of the
thumbnails and images so that the rendered columns and rows can be sized
appropriately.
| Constructor Summary | |
|---|---|
Thumbnails(List<Attachment> attachments,
ImagePathHelper pathHelper,
int columns,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager)
Deprecated. use Thumbnails(List, ImagePathHelper, int, ThumbnailManager) |
|
Thumbnails(List<Attachment> attachments,
ImagePathHelper pathHelper,
int columns,
ThumbnailManager thumbnailManager)
Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments. |
|
Thumbnails(List<Attachment> attachments,
int columns,
ThumbnailManager thumbnailManager)
Construct a Thumbnails object, which contains details of all thumbnailable images in a list of attachments. |
|
Thumbnails(List<Attachment> attachments,
String attachmentsRoot,
int columns,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager)
Deprecated. use Thumbnails(List, ImagePathHelper, int, ThumbnailManager) |
|
| Method Summary | |
|---|---|
int |
getColumns()
|
int |
getMaxHeight()
|
int |
getMaxImageHeight()
|
int |
getMaxImageWidth()
|
int |
getMaxWidth()
|
List<List<Object>> |
getRows()
|
int |
getSize()
|
List<ThumbnailInfo> |
getThumbnails()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public Thumbnails(List<Attachment> attachments,
String attachmentsRoot,
int columns,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager)
Thumbnails(List, ImagePathHelper, int, ThumbnailManager)
attachmentManager - no longer required. Pass null.
@Deprecated
public Thumbnails(List<Attachment> attachments,
ImagePathHelper pathHelper,
int columns,
AttachmentManager attachmentManager,
ThumbnailManager thumbnailManager)
Thumbnails(List, ImagePathHelper, int, ThumbnailManager)
attachmentManager - no longer required. Pass null.
public Thumbnails(List<Attachment> attachments,
int columns,
ThumbnailManager thumbnailManager)
attachments - list of attachmentscolumns - number of columns per row of thumbnails displayed.
public Thumbnails(List<Attachment> attachments,
ImagePathHelper pathHelper,
int columns,
ThumbnailManager thumbnailManager)
attachments - list of attachmentspathHelper - determines the remote path to the attachments, if null is passed then the attachment URLs will
be rooted at the configured context path.columns - number of columns per row of thumbnails displayed.| Method Detail |
|---|
public int getSize()
public List<ThumbnailInfo> getThumbnails()
public List<List<Object>> getRows()
public int getMaxHeight()
public int getMaxWidth()
public int getMaxImageHeight()
public int getMaxImageWidth()
public int getColumns()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||