GenericDismissablePanel
A panel that can be dismissed, either through user interaction or other events. Dismissing a panel triggers the end of its life; it will be removed from the frontend, preventing it from being shown again.
Parameters
An entry point for this GenericPanel to communicate with the rest of the system.
Constructors
Properties
Inherited properties
Unique identifier of a GenericPanel. Each ID is an increment of the previously created panel's ID, allowing this value to be used for sorting purposes.
The PanelContext given when the panel is attached to the system UI.
Functions
Dismisses the panel, triggering the end of its life. It will be removed from the frontend, causing onRemovedFromFrontend to be called and preventing it from being shown again. May not be called if the panel has not been added to a frontend.
Called when the panel has been dismissed from the system UI, either through user interaction or other events. This triggers the end of the life of a panel; it will be removed from the frontend, causing onRemovedFromFrontend to be called and preventing it from being shown again in the system UI.
Called when the panel is being dismissed from the system UI, either through user interaction or other events. At this point the panel may still be visible due to the panel's exit animation.
Inherited functions
The fragment used when initially showing the panel. The fragment may be recreated by the system UI upon configuration changes.
Called when this panel is added to Frontend.panels, allowing it to be shown in the system UI.
Called when the panel is attached to the system UI. The panel may be detached and attached multiple times, for example on configuration changes. However, a panel will never be attached multiple times at once.
Called when the panel has been detached from the system UI. The panel may be attached again later, for example when the configuration changes.
Called when this panel is removed from Frontend.panels, preventing it from being shown in the system UI.