@Deprecated public abstract class SimpleJSONOutputViewer extends OutputViewer
A convenient subclass for viewing the Tasklet's runtime output
JavaBean. This class serializes the output JavaBean associated
with the Tasklet using JSON and presents it to the GWT UI as a
JSONObject
.
Use this class if your Tasklet has an output JavaBean and if you intend to have the UI use the output JavaBean.
BaseIOViewer.Mode
Constructor and Description |
---|
SimpleJSONOutputViewer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
buildUI()
Deprecated.
Convenient implementation that pulls the output JavaBean from the server
and wraps it in a JSONObject.
|
protected abstract void |
buildUI(com.google.gwt.json.client.JSONObject jsonBean)
Deprecated.
Method to implement in subclass.
|
com.google.gwt.user.client.ui.Panel |
getMainPanel()
Deprecated.
Convenient implementation to return the top level UI container.
|
getContext, getMode, initUI, onModuleLoad
public com.google.gwt.user.client.ui.Panel getMainPanel()
getMainPanel
in class OutputViewer
public final void buildUI()
buildUI
in class OutputViewer
protected abstract void buildUI(com.google.gwt.json.client.JSONObject jsonBean)
jsonBean
- Output JavaBean serialized to JSON.Copyright © Grand Logic, Inc. All Rights Reserved.