Class MsaaTreeItemFlavorElement
public class MsaaTreeItemFlavorElement : MsaaFlavorElement
- Inheritance
-
MsaaTreeItemFlavorElement
- Inherited Members
Constructors
MsaaTreeItemFlavorElement(int, IAccessible, int, BucketInfo)
public MsaaTreeItemFlavorElement(int level, IAccessible acc, int childId, BucketInfo bucketInfo)
Parameters
levelintaccIAccessiblechildIdintbucketInfoBucketInfo
Properties
Children
public override IList<MsaaFlavorElement> Children { get; }
Property Value
Level
public int Level { get; }
Property Value
Methods
AddChild(MsaaFlavorElement)
public void AddChild(MsaaFlavorElement child)
Parameters
childMsaaFlavorElement
GetElementCapabilities(Element, out Role, out string[], out string)
Supplies the role, a list of capabilities and a preferred capability names to the caller. This method called when building a new element from the flavor element.
public override void GetElementCapabilities(Element parent, out Role role, out string[] capabilities, out string preferredCap)
Parameters
parentElementThe parent element of the element to be constructed. (for reference only)
roleRoleThe role the element should have.
capabilitiesstring[]The list of capabilities the element should have.
preferredCapstringThe preferred capability the element should have.
InvokeAction(Element, string, object[])
Needs to be implemented for element action invocation.
public override object InvokeAction(Element element, string name, object[] args)
Parameters
elementElementThe element instance used.
namestringThe name of the action (lowercased).
argsobject[]A list of invocation parameters.
Returns
UpdateChildren()
public void UpdateChildren()