com.atlassian.confluence.pageobjects.component.form
Class Autocomplete

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.menu.AUIDropdownMenu
          extended by com.atlassian.confluence.pageobjects.component.form.Autocomplete
All Implemented Interfaces:
Menu, PageComponent

public class Autocomplete
extends AUIDropdownMenu

An autocomplete drop-down menu for a form field.


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.menu.AUIDropdownMenu
menuContainer
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, pageBinder, waiter
 
Constructor Summary
Autocomplete()
           
 
Method Summary
 List<String> getItemTexts()
           
 void selectItem(int index)
          Selects the autocomplete item with the given index.
 void waitForItemWithText(String text)
          Waits until an autocomplete menu item with the given text is displayed.
 void waitUntilReady()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.menu.AUIDropdownMenu
click, close, getMenuContainer, initialise, isOpen, open
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Autocomplete

public Autocomplete()
Method Detail

waitUntilReady

public void waitUntilReady()

getItemTexts

public List<String> getItemTexts()

selectItem

public void selectItem(int index)
Selects the autocomplete item with the given index.


waitForItemWithText

public void waitForItemWithText(String text)
Waits until an autocomplete menu item with the given text is displayed.



Copyright © 2003-2013 Atlassian. All Rights Reserved.