Package | menu3.basic |
Class | public dynamic class CategoryElementBase |
Inheritance | CategoryElementBase ![]() ![]() ![]() ![]() ![]() |
Implements | ICategoryElement |
Subclasses | CategoryElement, SubCategoryElement |
Property | Defined By | ||
---|---|---|---|
![]() | m_container : Sprite | BaseContainer | |
![]() | m_direction : String | ListContainer | |
![]() | m_emptyView : Sprite | BaseContainer | |
m_isCategorySelected : Boolean = false | CategoryElementBase | ||
![]() | m_isChildSelected : Boolean = false | BaseContainer | |
![]() | m_isGroupSelected : Boolean = false | BaseContainer | |
![]() | m_isSelected : Boolean = false | BaseContainer | |
![]() | m_loading : Boolean = false | CollapsableListContainer | |
![]() | m_mouseMode : int = 0 | MenuElementBase | |
![]() | m_mouseModeCollapsed : int = 1 | CollapsableListContainer | |
![]() | m_mouseModeUncollapsed : int = 3 | CollapsableListContainer | |
![]() | m_mouseWheelMode : int = 0 | MenuElementBase | |
![]() | m_sendEvent : Function = null | BaseContainer | |
![]() | m_sendEventWithValue : Function = null | BaseContainer | |
![]() | m_xOffset : Number = 0 | ListContainer | |
![]() | m_yOffset : Number = 0 | ListContainer |
Method | Defined By | ||
---|---|---|---|
![]() | handleChildSelectionChange():void | BaseContainer | |
handleSelectionChange():void [override] | CategoryElementBase | ||
![]() | setPopOutScale(viewElement:Object, active:Boolean, animate:Boolean = true):void | MenuElementBase | |
setSelectedAnimationState(_arg_1:int):void | CategoryElementBase |
Constant | Defined By | ||
---|---|---|---|
STATE_DEFAULT : int = 0 | CategoryElementBase | ||
STATE_HOVER : int = 2 | CategoryElementBase | ||
STATE_SELECTED : int = 1 | CategoryElementBase |
m_isCategorySelected | property |
protected var m_isCategorySelected:Boolean = false
CategoryElementBase | () | Constructor |
public function CategoryElementBase(_arg_1:Object)
_arg_1:Object |
addChild2 | () | method |
override public function addChild2(_arg_1:Sprite, _arg_2:int = -1):void
Parameters
_arg_1:Sprite | |
_arg_2:int (default = -1 )
|
disableSpacer | () | method |
public function disableSpacer():void
enableSpacer | () | method |
public function enableSpacer():void
handleSelectionChange | () | method |
override protected function handleSelectionChange():void
setCategorySelected | () | method |
public function setCategorySelected(_arg_1:Boolean):void
Parameters
_arg_1:Boolean |
setItemHover | () | method |
public function setItemHover(_arg_1:Boolean):void
Parameters
_arg_1:Boolean |
setItemSelected | () | method |
override public function setItemSelected(_arg_1:Boolean):void
Parameters
_arg_1:Boolean |
setSelectedAnimationState | () | method |
protected function setSelectedAnimationState(_arg_1:int):void
Parameters
_arg_1:int |
STATE_DEFAULT | Constant |
protected const STATE_DEFAULT:int = 0
STATE_HOVER | Constant |
protected const STATE_HOVER:int = 2
STATE_SELECTED | Constant |
protected const STATE_SELECTED:int = 1