public abstract class SimplePOJOWeblet extends Weblet
A convenient subclass of Weblet. Serializes the input JavaBean associated with the Weblet using standard GWT serialization and presents it to the Weblet GWT widget as a IsSerializable object.
This class should be subclassed to create a custom editor (Weblet) for a given Tasklet or to create a standalone application. This UI is considered a "design time" UI for customizing the Tasklets input JavaBean.
Weblet.Mode
Constructor and Description |
---|
SimplePOJOWeblet() |
Modifier and Type | Method and Description |
---|---|
void |
buildUI()
Convenient implementation that pulls the input JavaBean from the server
and serializes into a IsSerializable.
|
protected abstract void |
buildUI(com.google.gwt.user.client.rpc.IsSerializable bean)
Method to implement in subclass.
|
com.google.gwt.user.client.ui.Panel |
getMainPanel()
Convenient implementation to return the top level UI container.
|
getContext, getMode, initUI, onModuleLoad, onSaveInputBean
public com.google.gwt.user.client.ui.Panel getMainPanel()
getMainPanel
in class Weblet
public final void buildUI()
protected abstract void buildUI(com.google.gwt.user.client.rpc.IsSerializable bean)
bean
- Input JavaBeanCopyright © Grand Logic, Inc. All Rights Reserved.