C# Class FairyGUI.GComboBox

Inheritance: GComponent
显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
dropdown GComponent
visibleItemCount int

Protected Properties

Property Type Description
_iconObject GObject
_icons string[]
_items string[]
_list GList
_popupDirection string
_titleObject GObject
_values string[]

Public Methods

Method Description
ConstructFromXML ( XML cxml ) : void
Dispose ( ) : void
GComboBox ( ) : System
Setup_AfterAdd ( XML cxml ) : void
UpdateDropdownList ( ) : void

Protected Methods

Method Description
HandleGrayedChanged ( ) : void
RenderDropdownList ( ) : void
SetCurrentState ( ) : void
SetState ( string value ) : void
ShowDropdown ( ) : void

Private Methods

Method Description
__clickItem ( EventContext context ) : void
__popupWinClosed ( object obj ) : void
__rollout ( ) : void
__rollover ( ) : void
__touchBegin ( EventContext context ) : void
__touchEnd ( EventContext context ) : void

Method Details

ConstructFromXML() public method

public ConstructFromXML ( XML cxml ) : void
cxml FairyGUI.Utils.XML
return void

Dispose() public method

public Dispose ( ) : void
return void

GComboBox() public method

public GComboBox ( ) : System
return System

HandleGrayedChanged() protected method

protected HandleGrayedChanged ( ) : void
return void

RenderDropdownList() protected method

protected RenderDropdownList ( ) : void
return void

SetCurrentState() protected method

protected SetCurrentState ( ) : void
return void

SetState() protected method

protected SetState ( string value ) : void
value string
return void

Setup_AfterAdd() public method

public Setup_AfterAdd ( XML cxml ) : void
cxml FairyGUI.Utils.XML
return void

ShowDropdown() protected method

protected ShowDropdown ( ) : void
return void

UpdateDropdownList() public method

public UpdateDropdownList ( ) : void
return void

Property Details

_iconObject protected_oe property

protected GObject,FairyGUI _iconObject
return GObject

_icons protected_oe property

protected string[] _icons
return string[]

_items protected_oe property

protected string[] _items
return string[]

_list protected_oe property

protected GList,FairyGUI _list
return GList

_popupDirection protected_oe property

protected string _popupDirection
return string

_titleObject protected_oe property

protected GObject,FairyGUI _titleObject
return GObject

_values protected_oe property

protected string[] _values
return string[]

dropdown public_oe property

public GComponent,FairyGUI dropdown
return GComponent

visibleItemCount public_oe property

Visible item count of the drop down list.
public int visibleItemCount
return int