com.atlassian.jira.pageobjects.components.userpicker
Class PickerPopup<R extends PickerPopup.PickerRow>

java.lang.Object
  extended by com.atlassian.jira.pageobjects.components.userpicker.PickerPopup<R>
Direct Known Subclasses:
GroupPickerPopup, UserPickerPopup

public class PickerPopup<R extends PickerPopup.PickerRow>
extends Object

Popup dialog associated with LegacyPicker.

Since:
v5.0

Nested Class Summary
 class PickerPopup.MultiSelect
           
static class PickerPopup.PickerRow<S extends PickerPopup.PickerRow<S>>
           
 
Constructor Summary
PickerPopup(LegacyPicker parent, PickerType pickerType, Class<R> rowClass)
           
 
Method Summary
protected  R createRow(com.atlassian.pageobjects.elements.PageElement rowElement)
           
 PickerPopup doInPopup(Runnable runnable)
           
 Iterable<R> getAllRows()
           
 WindowSession.BrowserWindow getPopupWindow()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()
           
 boolean isMultiselect()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
           
 PickerPopup.MultiSelect multiSelect()
           
 PickerPopup<R> open()
          Opens the popup and switches the focus to the popup's window
 void switchBack()
           
 void switchToPopupWindow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickerPopup

public PickerPopup(LegacyPicker parent,
                   PickerType pickerType,
                   Class<R> rowClass)
Method Detail

open

public PickerPopup<R> open()
Opens the popup and switches the focus to the popup's window

Returns:
this popup instance

isOpen

public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()

isClosed

public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()

getPopupWindow

public WindowSession.BrowserWindow getPopupWindow()

doInPopup

public PickerPopup doInPopup(Runnable runnable)

switchToPopupWindow

public void switchToPopupWindow()

switchBack

public void switchBack()

isMultiselect

public boolean isMultiselect()

multiSelect

public PickerPopup.MultiSelect multiSelect()

getAllRows

public Iterable<R> getAllRows()

createRow

protected R createRow(com.atlassian.pageobjects.elements.PageElement rowElement)


Copyright © 2002-2012 Atlassian. All Rights Reserved.