public UIItem(AutomationElement automationElement, ActionListener actionListener) { if (null == automationElement) throw new NullReferenceException(); this.automationElement = automationElement; this.actionListener = actionListener; factory = new PrimaryUIItemFactory(new AutomationElementFinder(automationElement)); }
protected ScrollBar(AutomationElement automationElement, ActionListener actionListener, ScrollBarButtonAutomationIds automationIds) : base(automationElement, actionListener) { this.automationIds = automationIds; var finder = new AutomationElementFinder(automationElement); primaryUIItemFactory = new PrimaryUIItemFactory(finder); }
public NonCachedContainerItemFactory(PrimaryUIItemFactory factory, ActionListener actionListener) { this.factory = factory; this.actionListener = actionListener; }