com.atlassian.confluence.renderer.radeox.macros
Class GalleryMacro

java.lang.Object
  extended byorg.radeox.macro.BaseMacro
      extended bycom.atlassian.renderer.macro.BaseMacro
          extended bycom.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
              extended bycom.atlassian.confluence.renderer.radeox.macros.GalleryMacro
All Implemented Interfaces:
Comparable, Macro, org.radeox.macro.Macro

public class GalleryMacro
extends AbstractHtmlGeneratingMacro

Draw a thumbnail gallery from a page's image attachments. Will not work if thumbnails are globally disabled.


Field Summary
 
Fields inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
log
 
Fields inherited from class org.radeox.macro.BaseMacro
initialContext, paramDescription
 
Constructor Summary
GalleryMacro()
           
 
Method Summary
protected  String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
           
 String getName()
           
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void setThumbnailManager(ThumbnailManager thumbnailManager)
           
 
Methods inherited from class com.atlassian.confluence.renderer.radeox.macros.AbstractHtmlGeneratingMacro
buildBaseUrl, errorContent, execute, getPageContext, getRemoteUser, hasLoneParameter, parseParameterForKey
 
Methods inherited from class com.atlassian.renderer.macro.BaseMacro
getDescription, getResourcePath, setDescription, setResourcePath
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getParamDescription, setInitialContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.radeox.macro.Macro
getParamDescription, setInitialContext
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

GalleryMacro

public GalleryMacro()
Method Detail

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)

setThumbnailManager

public void setThumbnailManager(ThumbnailManager thumbnailManager)

getName

public String getName()

getHtml

protected String getHtml(org.radeox.macro.parameter.MacroParameter macroParameter)
                  throws IllegalArgumentException,
                         IOException
Specified by:
getHtml in class AbstractHtmlGeneratingMacro
Throws:
IllegalArgumentException
IOException


Confluence is developed by Atlassian.