Control Center Panel
A panel for an isolated area of the system UI that provides persistent indicators and controls that are accessible to the user at all times.
Types Constructors Inherited functions Properties Inherited properties Parameters
Indicates what type of contents a control center panel is responsible for.
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.
Whether the panel is partially or fully occluded:
PanelContext given when the panel is attached to the system UI.
The tag to recognise this panel with. Useful in combination with fragment tags to detect which fragment belongs to which panel.
A destination that the information contained by this panel transitions to when this panel closes. By default it is
null, indicating the information does not transition anywhere.
The source of the information contained by this panel when the information transitions from another panel to this one. By default it is
null, indicating the information does not transition from any other particular panel.
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.