public abstract class AbstractPanelMacro extends BaseMacro
| Constructor and Description |
|---|
AbstractPanelMacro() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Writer writer,
org.radeox.macro.parameter.MacroParameter macroParameter) |
protected String |
getBodyContent(org.radeox.macro.parameter.MacroParameter macroParameter)
What should the body content of the panel be? Override in subclasses
|
protected abstract String |
getPanelContentCSSClass() |
protected abstract String |
getPanelCSSClass() |
protected abstract String |
getPanelHeaderCSSClass() |
String[] |
getParamDescription() |
protected String |
getTitle(org.radeox.macro.parameter.MacroParameter macroParameter)
What should the title of the panel be? Override in subclasses
|
protected void |
writeContent(Writer writer,
org.radeox.macro.parameter.MacroParameter macroParameter,
String content,
String backgroundColor) |
protected void |
writeHeader(Writer writer,
String title,
String borderStyle,
String borderColor,
Integer borderWidth,
String titleBackgroundColor) |
getDescription, getResourcePath, setDescription, setResourcePathcompareTo, getName, setInitialContext, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic String[] getParamDescription()
getParamDescription in interface org.radeox.macro.MacrogetParamDescription in class org.radeox.macro.BaseMacroprotected abstract String getPanelCSSClass()
protected abstract String getPanelHeaderCSSClass()
protected abstract String getPanelContentCSSClass()
protected String getTitle(org.radeox.macro.parameter.MacroParameter macroParameter)
macroParameter - the macroParameter context for this macroprotected String getBodyContent(org.radeox.macro.parameter.MacroParameter macroParameter)
macroParameter - the macroParameter context for this macropublic void execute(Writer writer, org.radeox.macro.parameter.MacroParameter macroParameter) throws IllegalArgumentException, IOException
execute in interface org.radeox.macro.Macroexecute in class org.radeox.macro.BaseMacroIllegalArgumentExceptionIOExceptionprotected void writeHeader(Writer writer, String title, String borderStyle, String borderColor, Integer borderWidth, String titleBackgroundColor) throws IOException
IOExceptionprotected void writeContent(Writer writer, org.radeox.macro.parameter.MacroParameter macroParameter, String content, String backgroundColor) throws IOException
IOExceptionCopyright © 2019 Atlassian. All rights reserved.