bitmovin-player-ui
    Preparing search index...

    Class DynamicSettingsPanelItem

    A dynamic settings panel item which can build a sub page with the items of a ListSelector. The page will be dynamically added and removed from the SettingsPanel.

    Hierarchy

    Index

    Constructors

    Accessors

    • get onClick(): Event<InteractiveSettingsPanelItem<Config>, NoArgs>

      Gets the event that is fired when the SettingsPanelItem is clicked.

      Returns Event<InteractiveSettingsPanelItem<Config>, NoArgs>

    • get onDisabled(): Event<Component<Config>, NoArgs>

      Gets the event that is fired when the component is disabling. See the detailed explanation on event architecture on the #componentEvents events list.

      Returns Event<Component<Config>, NoArgs>

    • get onEnabled(): Event<Component<Config>, NoArgs>

      Gets the event that is fired when the component is enabling. See the detailed explanation on event architecture on the #componentEvents events list.

      Returns Event<Component<Config>, NoArgs>

    • get onHide(): Event<Component<Config>, NoArgs>

      Gets the event that is fired when the component is hiding. See the detailed explanation on event architecture on the #componentEvents events list.

      Returns Event<Component<Config>, NoArgs>

    • get onShow(): Event<Component<Config>, NoArgs>

      Gets the event that is fired when the component is showing. See the detailed explanation on event architecture on the #componentEvents events list.

      Returns Event<Component<Config>, NoArgs>

    Methods

    • Disables the component. This method basically transfers the component into the disabled state. Actual disabling is done via CSS or child components. (e.g. Button needs to unsubscribe click listeners)

      Returns void

    • Enables the component. This method basically transfers the component into the enabled state. Actual enabling is done via CSS or child components. (e.g. Button needs to subscribe click listeners)

      Returns void

    • Returns the DOM element of this component. Creates the DOM element if it does not yet exist.

      Should not be overwritten by subclasses.

      Returns DOM

    • Checks if this component has a DOM element.

      Returns boolean

    • Hides the component if shown. This method basically transfers the component into the hidden state. Actual hiding is done via CSS.

      Returns void

    • Initializes the component, e.g. by applying config settings. This method must not be called from outside the UI framework.

      This method is automatically called by the UIInstanceManager. If the component is an inner component of some component, and thus encapsulated abd managed internally and never directly exposed to the UIManager, this method must be called from the managing component's #initialize method.

      Returns void

    • Checks if this settings panel item is active, i.e. visible and enabled and a user can interact with it.

      Returns boolean

      true if the panel is active, else false

    • Determines if the component is disabled.

      Returns boolean

      true if the component is disabled, else false

    • Determines if the component is enabled.

      Returns boolean

      true if the component is enabled, else false

    • Determines if the component is hidden.

      Returns boolean

      true if the component is hidden, else false

    • Determines if the component is currently hovered.

      Returns boolean

      true if the component is hovered, else false

    • Determines if the component is shown.

      Returns boolean

      true if the component is visible, else false

    • Releases all resources and dependencies that the component holds. Player, DOM, and UIManager events are automatically removed during release and do not explicitly need to be removed here. This method is called by the UIManager when it releases the UI.

      Subclasses that need to release resources should override this method and call super.release().

      Returns void

    • Removes all child components from the container.

      Returns void

    • Parameters

      • name: string
      • value: string

      Returns void

    • Toggles the hidden state by hiding the component if it is shown, or showing it if hidden.

      Returns void

    • Updates the DOM of the container with the current components.

      This is called automatically after construction. However, when you dynamically add or remove components at runtime, you must call updateComponents() to re-render the container’s children.

      Returns void