Packagecom.sibirjak.jakute.framework.roles
Classpublic class JCSS_ComponentRoleManager
InheritanceJCSS_ComponentRoleManager Inheritance JCSS_RoleManager



Protected Properties
 PropertyDefined by
 Inherited_descendantStyleRuleTreeNodes : Object
JCSS_RoleManager
 Inherited_styleManager : JCSS_StyleManager
JCSS_RoleManager
Public Methods
 MethodDefined by
  
JCSS_ComponentRoleManager
  
addAncestor(parentStyleManager:JCSS_StyleManager, styleRuleTreeNode:JCSS_StyleRuleTreeNode):void
Since ancestor roles for a certain tree node id can not be multiple, it is not possible to have 2 roles with the same treeNode and the same parent.
JCSS_ComponentRoleManager
  
foreachAncestorComponentStyleManager(callback:Function, styleRuleTreeNode:JCSS_StyleRuleTreeNode):void
Note, the ancestor for the _styleRuleTree of a component is the component itself.
JCSS_ComponentRoleManager
  
JCSS_ComponentRoleManager
 Inherited
foreachDescendantStyleRuleTreeNode(callback:Function, componentKey:String):void
JCSS_RoleManager
  
foreachStyleRule(callback:Function):void
JCSS_ComponentRoleManager
  
hasComponentKey(key:String):Boolean
JCSS_ComponentRoleManager
  
initRoles():void
JCSS_ComponentRoleManager
  
JCSS_ComponentRoleManager
 Inherited
JCSS_RoleManager
  
JCSS_ComponentRoleManager
Protected Methods
 MethodDefined by
 Inherited
addDescendantNode(componentKey:String, descendantNode:JCSS_StyleRuleTreeNode):void
JCSS_RoleManager
  
reset():void
JCSS_ComponentRoleManager
 Inherited
JCSS_RoleManager
Constructor detail
JCSS_ComponentRoleManager()constructor
public function JCSS_ComponentRoleManager(styleManager:JCSS_ComponentStyleManager)Parameters
styleManager:JCSS_ComponentStyleManager
Method detail
addAncestor()method
public function addAncestor(parentStyleManager:JCSS_StyleManager, styleRuleTreeNode:JCSS_StyleRuleTreeNode):void

Since ancestor roles for a certain tree node id can not be multiple, it is not possible to have 2 roles with the same treeNode and the same parent. However, we may have 2 roles with the same treeNode but a different parent. Example Rule: A B Display-List: A1 A2 B C Descendant roles of B: A B (A1), A B (A2) Ancestor roles of B: C Descendant Roles of C: B C (B)

Parameters
parentStyleManager:JCSS_StyleManager
 
styleRuleTreeNode:JCSS_StyleRuleTreeNode
foreachAncestorComponentStyleManager()method 
public function foreachAncestorComponentStyleManager(callback:Function, styleRuleTreeNode:JCSS_StyleRuleTreeNode):void

Note, the ancestor for the _styleRuleTree of a component is the component itself.

Parameters
callback:Function
 
styleRuleTreeNode:JCSS_StyleRuleTreeNode
foreachClassRelatedChildComponentStyleManager()method 
public function foreachClassRelatedChildComponentStyleManager(callback:Function):voidParameters
callback:Function
foreachStyleRule()method 
public function foreachStyleRule(callback:Function):voidParameters
callback:Function
hasComponentKey()method 
public function hasComponentKey(key:String):BooleanParameters
key:String

Returns
Boolean
initRoles()method 
public override function initRoles():void
notifyCSSClassChangesNext()method 
public function notifyCSSClassChangesNext():void
reset()method 
protected override function reset():void
unregisterFromTreeNodes()method 
public function unregisterFromTreeNodes():void