|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebPanel
The module that is responsive for providing the raw content for a Web Panel.
Whatever is returned by getHtml(java.util.Map) is inserted into the
host application's page, so it has to be valid HTML.
DefaultWebPanelModuleDescriptor.getModule()| Method Summary | |
|---|---|
String |
getHtml(Map<String,Object> context)
Returns the HTML that will be placed in the host application's page. |
void |
writeHtml(Writer writer,
Map<String,Object> context)
Writes the HTML for this panel into the supplied writer. |
| Method Detail |
|---|
String getHtml(Map<String,Object> context)
context - 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.
void writeHtml(Writer writer,
Map<String,Object> context)
throws IOException
getHtml(java.util.Map) for large panels or for applications that make
frequent use of panels, to avoid creating a lot of large garbage buffer strings.
writer - 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.
IOException - if there is some problem writing to the supplied writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||