public static class ApplicationController.StartEvent extends ApplicationController.ApplicationEvent
ActionEvent.Type
Constructor and Description |
---|
StartEvent() |
StartEvent(Form currentForm) |
Modifier and Type | Method and Description |
---|---|
Form |
getCurrentForm()
Gets the current form of the application at the time that the
StartEvent was fired.
|
boolean |
isShowingForm() |
void |
setShowingForm(boolean showing)
A flag to set when showing a form to prevent other event listeners from trying to also show a form.
|
as, as, getApplicationController, getAppSectionController, getAsyncResource, getAsyncResource, getFormController, getViewController, setAsyncResource
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
public StartEvent()
public StartEvent(Form currentForm)
public void setShowingForm(boolean showing)
A flag to set when showing a form to prevent other event listeners from trying to also show a form.
showing
- public boolean isShowingForm()
public Form getCurrentForm()
Gets the current form of the application at the time that the StartEvent was fired. This will help event handlers to distinguish between the first start() call of the app, and subsequent start() calls.
Copyright © 2021. All Rights Reserved.