IExpandable

Module: TSUI.UI
Extends: IControl
Exported: Yes

Associated source files:

Description

Defines an Expandable control.

Public Properties

ContentPanel: UI.IPanel;
The content panel for the expandable which children should be added to.
MainTitleBar: UI.ITitleBar;
The main title bar for the expandable.
MainToggleIndiciator: UI.IControl;
The main toggle indicator for the expandable.


Public Methods

Collapse(): void
Collapses the expandable or does nothing if it is already closed.
  • Returns: void -
Expand(): void
Expands the expandable or does nothing if it is already open.
  • Returns: void -
Expanded(): boolean
Whether the expandable is expanded or not.
  • Returns: boolean - Whether the expandable is expanded or not.
Title(value?: string): string
Gets or sets the title of the expandable.
  • OPTIONAL value: string - The value to set the title to.
  • Returns: string - The actual value of the expandable's title.
Toggle(): void
Toggles the expandable. If it is open it closes, if it is closed it opens.
  • Returns: void -


Last edited Sep 6, 2013 at 7:00 PM by EdwardNutting, version 1

Comments

No comments yet.