com.atlassian.bamboo.pageobjects.elements
Class AuiDropDown2Menu

java.lang.Object
  extended by com.atlassian.pageobjects.elements.WebDriverElement
      extended by com.atlassian.bamboo.pageobjects.elements.AuiDropDown2Menu
All Implemented Interfaces:
com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>, com.atlassian.pageobjects.elements.PageElement, com.atlassian.pageobjects.elements.PageElementFinder
Direct Known Subclasses:
BambooHeader.UserInfoDropDown

public class AuiDropDown2Menu
extends com.atlassian.pageobjects.elements.WebDriverElement
implements com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>, com.atlassian.pageobjects.elements.PageElement

Represents a DropDown2 built via AUI. Deserves to be moved to atlassian-pageobjects-elements.


Field Summary
protected  com.atlassian.pageobjects.elements.PageElementFinder elementFinder
           
 
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts
 
Constructor Summary
AuiDropDown2Menu(org.openqa.selenium.By locator)
           
AuiDropDown2Menu(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
           
 
Method Summary
 AuiDropDown2Menu close()
           
 java.util.List<java.lang.String> getItems()
           
 com.atlassian.pageobjects.elements.PageElement getTrigger()
           
 com.atlassian.pageobjects.elements.PageElement getView()
           
 void initialize()
           
 boolean isOpen()
           
 AuiDropDown2Menu open()
           
 
Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, clear, click, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, timeout, timeoutInSeconds, toggle, toString, type, waitForWebElement, withTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.pageobjects.elements.PageElement
clear, click, find, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, toggle, type, withTimeout
 
Methods inherited from interface com.atlassian.pageobjects.elements.PageElementFinder
find, find, find, findAll, findAll, findAll
 

Field Detail

elementFinder

@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder elementFinder
Constructor Detail

AuiDropDown2Menu

@Inject
public AuiDropDown2Menu(org.openqa.selenium.By locator)
Parameters:
locator - identifies the content of dropdown (aria-controls)

AuiDropDown2Menu

public AuiDropDown2Menu(org.openqa.selenium.By locator,
                        com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
Method Detail

getTrigger

public com.atlassian.pageobjects.elements.PageElement getTrigger()
Specified by:
getTrigger in interface com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>

getView

public com.atlassian.pageobjects.elements.PageElement getView()
Specified by:
getView in interface com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>

open

public AuiDropDown2Menu open()
Specified by:
open in interface com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>

isOpen

public boolean isOpen()
Specified by:
isOpen in interface com.atlassian.pageobjects.components.ActivatedComponent<AuiDropDown2Menu>

initialize

public void initialize()

close

public AuiDropDown2Menu close()

getItems

public java.util.List<java.lang.String> getItems()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.