Class PreferencesPanelAbstract Public Self

The base class that preferences panels must extend. Extending from this class is not enough to have the panel be visible on PreferencesWindow and subclasses must also have the PreferencesPanelAttribute.

All subclasses must also have a default constructor that will be called whenever the tab is switched to.

Constructors

Properties

The layout subclasses of the panel must use to add elements to the preferences window.

The preferences window that owns this panel.

Methods

  • Destroys the preferences panel. Destroy any children UI elements created to display the panel.

    Returns void

  • Virtual

    Initializes the panel by attaching it to the given parent layout.

    Parameters

    • parent: UILayout

      The parent layout to which the panel contents should be shown on.

    Returns void

  • Virtual

    A method called whenever the preferences panel is being destroyed. The implementation must use this method to destroy and release any UI elements that it might have created.

    Returns void

  • Virtual

    A method called every frame to update the UI state of the panel. The implementation must use this method to update it's UI due to changes that might have occurred externally.

    Returns void

  • Virtual

    A method called whenever the preferences panel is initialized. The implementation must use this method to perform any UI initialization it needs to display the panel content.

    Returns void

  • Updates the UI state for the preferences panel. Called internally every frame by the preferences window.

    Returns void