Difference between revisions of "GUIDropdownComponent"
From Virtual World Web Wiki
(Documentation for the GUIDropdownComponent class) |
(Documentation for the GUIDropdownComponent class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
*'''Inherits class: [[GUISelectableComponent]]''' | *'''Inherits class: [[GUISelectableComponent]]''' | ||
* This is a JavaScript visible object | * This is a JavaScript visible object | ||
Line 8: | Line 6: | ||
===Properties=== | ===Properties=== | ||
:{{CSharp|float AnimationDelaySeconds {get; set;} }} | :{{CSharp|float AnimationDelaySeconds {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|string DisappearAnimation {get; set;} }} | :{{CSharp|string DisappearAnimation {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|string MenuItemTemplate {get; set;} }} | :{{CSharp|string MenuItemTemplate {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|bool MenuVisible {get; set;} }} | :{{CSharp|bool MenuVisible {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|GUIPanel Panel {get;} }} | :{{CSharp|GUIPanel Panel {get;} }} | ||
− | |||
− | |||
:{{CSharp|GUISprite PanelSprite {get;} }} | :{{CSharp|GUISprite PanelSprite {get;} }} | ||
− | |||
− | |||
:{{CSharp|JSVector2 PopupOffset {get; set;} }} | :{{CSharp|JSVector2 PopupOffset {get; set;} }} | ||
− | |||
− | |||
:{{CSharp|string RevealAnimation {get; set;} }} | :{{CSharp|string RevealAnimation {get; set;} }} | ||
− | |||
− | |||
===Events=== | ===Events=== | ||
:{{CSharp|OnClosing()}} | :{{CSharp|OnClosing()}} | ||
− | |||
− | |||
:{{CSharp|OnDone()}} | :{{CSharp|OnDone()}} | ||
− | |||
− | |||
:{{CSharp|OnOpening()}} | :{{CSharp|OnOpening()}} | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
:{{CSharp|void ClearItems()}} | :{{CSharp|void ClearItems()}} | ||
− | |||
− | |||
:{{CSharp|IEnumerable<GUIComponent> GetDropDownItems()}} | :{{CSharp|IEnumerable<GUIComponent> GetDropDownItems()}} | ||
− | |||
− | |||
:{{CSharp|GUIComponent GetItem(int i)}} | :{{CSharp|GUIComponent GetItem(int i)}} | ||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 14:16, 15 January 2018
- Inherits class: GUISelectableComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- float AnimationDelaySeconds {get; set;}
- string DisappearAnimation {get; set;}
- string MenuItemTemplate {get; set;}
- bool MenuVisible {get; set;}
- GUIPanel Panel {get;}
- GUISprite PanelSprite {get;}
- JSVector2 PopupOffset {get; set;}
- string RevealAnimation {get; set;}
Events
- OnClosing()
- OnDone()
- OnOpening()
Methods
- void ClearItems()
- IEnumerable<GUIComponent> GetDropDownItems()
- GUIComponent GetItem(int i)