com.atlassian.renderer.v2.macro.basic
Class PanelMacro

java.lang.Object
  extended by com.atlassian.renderer.v2.macro.BaseMacro
      extended by com.atlassian.renderer.v2.macro.basic.AbstractPanelMacro
          extended by com.atlassian.renderer.v2.macro.basic.PanelMacro
All Implemented Interfaces:
Macro

public class PanelMacro
extends AbstractPanelMacro


Field Summary
 
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro
RAW_PARAMS_KEY
 
Constructor Summary
PanelMacro()
           
PanelMacro(V2SubRenderer subRenderer)
           
 
Method Summary
protected  String getPanelContentCSSClass()
           
protected  String getPanelCSSClass()
           
protected  String getPanelHeaderCSSClass()
           
 boolean suppressMacroRenderingDuringWysiwyg()
          Suppress the rendering of the macro -- the macro's body may still be rendered (depending on the render mode of the macro), but the HTML the macro adds will not be created.
 
Methods inherited from class com.atlassian.renderer.v2.macro.basic.AbstractPanelMacro
execute, getBodyContent, getBodyRenderMode, getSubRenderer, getTitle, hasBody, isInline, setSubRenderer, writeContent, writeHeader
 
Methods inherited from class com.atlassian.renderer.v2.macro.BaseMacro
suppressSurroundingTagDuringWysiwygRendering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelMacro

public PanelMacro()

PanelMacro

public PanelMacro(V2SubRenderer subRenderer)
Method Detail

getPanelCSSClass

protected String getPanelCSSClass()
Specified by:
getPanelCSSClass in class AbstractPanelMacro

getPanelContentCSSClass

protected String getPanelContentCSSClass()
Specified by:
getPanelContentCSSClass in class AbstractPanelMacro

suppressMacroRenderingDuringWysiwyg

public boolean suppressMacroRenderingDuringWysiwyg()
Description copied from interface: Macro
Suppress the rendering of the macro -- the macro's body may still be rendered (depending on the render mode of the macro), but the HTML the macro adds will not be created.

Specified by:
suppressMacroRenderingDuringWysiwyg in interface Macro
Overrides:
suppressMacroRenderingDuringWysiwyg in class BaseMacro
Returns:

getPanelHeaderCSSClass

protected String getPanelHeaderCSSClass()
Specified by:
getPanelHeaderCSSClass in class AbstractPanelMacro


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.