public class LoginFormController extends FormController
A FormController using LoginView as its view. This wraps
LoginViewController, setting itself as the controller.
FormController.CloneableFormController<T extends FormController>, FormController.FormBackEvent, FormController.FormControllerEvent, FormController.FormShownEventViewController.DidSetViewEvent, ViewController.DidUnSetViewEvent, ViewController.ViewDecoratorController.CreateObjectRequest<T>, Controller.ObjectFactory| Constructor and Description |
|---|
LoginFormController(Controller parent) |
| Modifier and Type | Method and Description |
|---|---|
protected LoginViewController |
createLoginViewController() |
LoginViewDelegate |
getLoginViewDelegate() |
protected void |
onStartController()
A lifecycle method that shoudl be used to setup the controller.
|
void |
setLoginViewDelegate(LoginViewDelegate delegate) |
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 LoginFormController(Controller parent)
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 Controllerprotected LoginViewController createLoginViewController()
public void setLoginViewDelegate(LoginViewDelegate delegate)
public LoginViewDelegate getLoginViewDelegate()
Copyright © 2021. All Rights Reserved.