com.atlassian.jira.pageobjects.components.userpicker
Class PickerPopup<R extends PickerPopup.PickerRow>
java.lang.Object
com.atlassian.jira.pageobjects.components.userpicker.PickerPopup<R>
- Direct Known Subclasses:
- GroupPickerPopup, IssuePickerPopup, UserPickerPopup
public class PickerPopup<R extends PickerPopup.PickerRow>
- extends Object
Popup dialog associated with LegacyPicker
.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
jira
@Inject
protected JiraTestedProduct jira
extendedFinder
@Inject
protected ExtendedElementFinder extendedFinder
selectorForm
protected com.atlassian.pageobjects.elements.PageElement selectorForm
isMultiselect
protected com.atlassian.pageobjects.elements.PageElement isMultiselect
PickerPopup
public PickerPopup(LegacyTriggerPicker parent,
PickerType pickerType,
Class<R> rowClass)
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()
getRowByIndex
public R getRowByIndex(int index)
createRow
protected R createRow(com.atlassian.pageobjects.elements.PageElement rowElement)
Copyright © 2002-2013 Atlassian. All Rights Reserved.