class Panel

Extends:
ContainerComponent, UIComponent, ShapeContainer

Description:

Panel UI component, rectangular UI component that can be used in many different ways:

Panel class extends ContainerComponent and ShapeContainer, which extend UIComponent

NOTE: Add Panel to Tabs, SplitView, or ScrollPane containers before adding child components to the panel to have expected behavior when setting anchors to child components of the Panel.

Constructor

constructor([text])

Panel constructor. Creates an instance of Panel UI component.

Parameters:

Name Type Description

[text]

string

Text associated with this Panel. It will be used, for example, for a tab name when this panel is added to Tabs component.

Members

Methods

Inherited from ContainerComponent:

Inherited from ShapeContainer:

Inherited from UIComponent: