public abstract class AbstractWebPanel extends Object implements WebPanel
| Modifier and Type | Field and Description |
|---|---|
protected com.atlassian.plugin.Plugin |
plugin |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWebPanel(com.atlassian.plugin.PluginAccessor pluginAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected WebPanelRenderer |
getRenderer() |
void |
setPlugin(com.atlassian.plugin.Plugin plugin) |
void |
setResourceType(String resourceType) |
void |
writeHtml(Writer writer,
Map<String,Object> context)
Default implementation of
WebPanel.writeHtml(java.io.Writer, java.util.Map) that delegates to
WebPanel.getHtml(java.util.Map). |
protected AbstractWebPanel(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setPlugin(com.atlassian.plugin.Plugin plugin)
public void setResourceType(String resourceType)
public void writeHtml(Writer writer, Map<String,Object> context) throws IOException
WebPanel.writeHtml(java.io.Writer, java.util.Map) that delegates to
WebPanel.getHtml(java.util.Map). This method is provided for backwards compatibility with
pre-2.11 implementations of WebPanel. Panels SHOULD be upgraded to support this method natively
for performance reasons.writeHtml in interface WebPanelwriter - the writer to append the panel output tocontext - the contextual information that can be used during
rendering. Context elements are not standardized and are
application-specific, so refer to your application's documentation to
learn what is available.IOExceptionprotected final WebPanelRenderer getRenderer()
Copyright © 2018 Atlassian. All rights reserved.