FairyGUI.PopupMenu
class FairyGUI.PopupMenu
Fields and Properties:
int visibleItemCount
bool hideOnClickItem
bool autoSize
FairyGUI.EventListener onPopup
FairyGUI.EventListener onClose
int itemCount
- Description:
FairyGUI.GComponent contentPane
- Description:
FairyGUI.GList list
- Description:
Constructors:
FairyGUI.PopupMenu.New()
FairyGUI.PopupMenu.New(string)
- Description:
- Parameter resourceURL:
Methods:
FairyGUI.GButton AddItem(string, FairyGUI.EventCallback0)
- Description:
- Parameter caption:
- Parameter callback:
- Return:
FairyGUI.GButton AddItem(string, FairyGUI.EventCallback1)
- Description:
- Parameter caption:
- Parameter callback:
- Return:
FairyGUI.GButton AddItemAt(string, int, FairyGUI.EventCallback1)
- Description:
- Parameter caption:
- Parameter index:
- Parameter callback:
- Return:
FairyGUI.GButton AddItemAt(string, int, FairyGUI.EventCallback0)
- Description:
- Parameter caption:
- Parameter index:
- Parameter callback:
- Return:
void AddSeperator()
- Description:
void AddSeperator(int)
- Description:
string GetItemName(int)
- Description:
- Parameter index:
- Return:
void SetItemText(string, string)
- Description:
- Parameter name:
- Parameter caption:
void SetItemVisible(string, bool)
- Description:
- Parameter name:
- Parameter visible:
void SetItemGrayed(string, bool)
- Description:
- Parameter name:
- Parameter grayed:
void SetItemCheckable(string, bool)
- Description:
- Parameter name:
- Parameter checkable:
void SetItemChecked(string, bool)
- Description:
- Parameter name:
- Parameter check:
bool isItemChecked(string)
bool IsItemChecked(string)
- Description:
- Parameter name:
- Return:
void RemoveItem(string)
- Description:
- Parameter name:
void ClearItems()
- Description:
void Dispose()
void Show()
- Description:
void Show(FairyGUI.GObject)
- Description:
- Parameter target:
void Show(FairyGUI.GObject, object)
void Show(FairyGUI.GObject, FairyGUI.PopupDirection)
- Description:
- Parameter target:
- Parameter dir:
void Show(FairyGUI.GObject, FairyGUI.PopupDirection, FairyGUI.PopupMenu)
- Description:
- Parameter target:
- Parameter dir:
- Parameter parentMenu:
void Hide()