public class FieldEditorFormController extends FormController
FormController.CloneableFormController<T extends FormController>, FormController.FormBackEvent, FormController.FormControllerEvent, FormController.FormShownEventViewController.DidSetViewEvent, ViewController.DidUnSetViewEvent, ViewController.ViewDecoratorController.CreateObjectRequest<T>, Controller.ObjectFactory| Constructor and Description |
|---|
FieldEditorFormController(Controller parent,
Entity entity,
FieldNode fld) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onStartController()
A lifecycle method that shoudl be used to setup the controller.
|
actionPerformed, back, cloneAndReplace, getCurrentFormController, getFormController, getFormController, getFormController, getPathName, getPathString, getView, hasBackCommand, isAddTitleBar, isTitleSet, refresh, run, setAddTitleBar, setPathName, setTitle, setTitleComponent, setView, setView, setView, show, showBack, tryCloneAndReplaceCurrentFormaddViewDecorator, createViewContext, decorateView, deinitialize, getNearestViewModel, getTitle, getViewController, getViewController, getViewModel, initController, removeViewDecoratoraddAction, addAction, addActionListener, addActions, addActions, addEventListener, addLookup, addLookup, addObjectFactory, createObjectWithFactory, createViewNode, dispatchEvent, extendAction, extendAction, fillSlot, getAction, getActions, getActionsNode, getApplicationController, getFormController, getFormController, getInheritedAction, getInheritedActions, getParent, getSectionController, getSingleActionsNode, getViewController, getViewNode, initControllerActions, isStarted, lookup, lookupEntity, onStopController, parentLookup, parentLookupEntity, removeActionListener, removeEventListener, setParent, start, startController, withLookup, withLookupEntity, withParentLookup, withParentLookupEntitypublic FieldEditorFormController(Controller parent, Entity entity, FieldNode fld)
protected void onStartController()
ControllerA lifecycle method that shoudl be used to setup the controller. Use this instead of
the constructor as this will allow you to work nicely with live content reloading. When
live-content reloading is enabled in the Codename One simulator, it will trigger Controller.refresh()
which stops and starts the controller hierarchy.
When this method is run, you can assume that the parent controller is already in the "started" state.
onStartController in class ControllerCopyright © 2021. All Rights Reserved.