com.atlassian.pageobjects.components.aui
Class AuiTabs

java.lang.Object
  extended by com.atlassian.pageobjects.components.aui.AuiTabs
All Implemented Interfaces:
TabbedComponent

public class AuiTabs
extends Object
implements TabbedComponent

Represents a tabbed content area created via AUI. This is an example of a reusable components.


Field Summary
protected  PageElementFinder elementFinder
           
protected  PageBinder pageBinder
           
 
Constructor Summary
AuiTabs(org.openqa.selenium.By locator)
           
 
Method Summary
 void initialize()
           
 PageElement openTab(PageElement tab)
          Open's the given tab's view.
 PageElement openTab(String tabText)
           
 PageElement selectedTab()
          Returns element that represents the selected tab.
 PageElement selectedView()
          Returns element that represents the selected tab's view.
 List<PageElement> tabs()
          Returns all elements that represent the tabs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageBinder

@Inject
protected PageBinder pageBinder

elementFinder

@Inject
protected PageElementFinder elementFinder
Constructor Detail

AuiTabs

public AuiTabs(org.openqa.selenium.By locator)
Method Detail

initialize

public void initialize()

selectedTab

public PageElement selectedTab()
Description copied from interface: TabbedComponent
Returns element that represents the selected tab.

Specified by:
selectedTab in interface TabbedComponent

selectedView

public PageElement selectedView()
Description copied from interface: TabbedComponent
Returns element that represents the selected tab's view.

Specified by:
selectedView in interface TabbedComponent

tabs

public List<PageElement> tabs()
Description copied from interface: TabbedComponent
Returns all elements that represent the tabs.

Specified by:
tabs in interface TabbedComponent

openTab

public PageElement openTab(String tabText)

openTab

public PageElement openTab(PageElement tab)
Description copied from interface: TabbedComponent
Open's the given tab's view.

Specified by:
openTab in interface TabbedComponent


Copyright © 2014 Atlassian. All rights reserved.