com.atlassian.jira.pageobjects.components.userpicker
Class LegacyPicker

java.lang.Object
  extended by com.atlassian.jira.pageobjects.components.userpicker.LegacyPicker
All Implemented Interfaces:
CustomField
Direct Known Subclasses:
LegacyUserPicker

public class LegacyPicker
extends Object
implements CustomField

The old user/group picker that shows up as a popup window. Should go away but it won't any time soon...

Since:
v5.0

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement container
           
protected  com.atlassian.pageobjects.elements.PageElementFinder elementFinder
           
protected  ExtendedElementFinder extendedFinder
           
protected  com.atlassian.pageobjects.elements.PageElement field
           
protected  com.atlassian.pageobjects.elements.PageElement form
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
protected  String pickerId
           
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
           
protected  com.atlassian.pageobjects.elements.PageElement trigger
           
 
Constructor Summary
LegacyPicker(com.atlassian.pageobjects.elements.PageElement form, String pickerId)
           
LegacyPicker(String pickerId)
           
 
Method Summary
 LegacyPicker acceptActiveSuggestion()
           
 LegacyPicker acceptUsingMouse(MultiSelectSuggestion suggestion)
           
 LegacyPicker clearQuery()
           
protected  com.atlassian.pageobjects.elements.PageElement container()
           
 LegacyPicker down(int steps)
           
protected  com.atlassian.pageobjects.elements.PageElement field()
           
 Suggestion getActiveSuggestion()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<Suggestion>> getSuggestions()
           
 Suggestion getSuggestionWithId(String substring)
           
 com.atlassian.pageobjects.elements.PageElement getTrigger()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getValue()
          The selected value in the picker.
 com.atlassian.pageobjects.elements.query.TimedCondition hasActiveSuggestion()
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasSuggestionWithId(String substring)
           
 com.atlassian.pageobjects.elements.query.TimedCondition isSuggestionsPresent()
           
 LegacyPicker query(String query)
           
 LegacyPicker up(int steps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder

elementFinder

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

timeouts

@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts

extendedFinder

@Inject
protected ExtendedElementFinder extendedFinder

pickerId

protected final String pickerId

form

protected final com.atlassian.pageobjects.elements.PageElement form

container

protected com.atlassian.pageobjects.elements.PageElement container

field

protected com.atlassian.pageobjects.elements.PageElement field

trigger

protected com.atlassian.pageobjects.elements.PageElement trigger
Constructor Detail

LegacyPicker

public LegacyPicker(@Nullable
                    com.atlassian.pageobjects.elements.PageElement form,
                    String pickerId)

LegacyPicker

public LegacyPicker(String pickerId)
Method Detail

container

protected com.atlassian.pageobjects.elements.PageElement container()

field

protected com.atlassian.pageobjects.elements.PageElement field()

getValue

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getValue()
The selected value in the picker.

Returns:
value in the picker

getTrigger

public com.atlassian.pageobjects.elements.PageElement getTrigger()

getSuggestions

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<Suggestion>> getSuggestions()

hasActiveSuggestion

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

getActiveSuggestion

public Suggestion getActiveSuggestion()

isSuggestionsPresent

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

hasSuggestionWithId

public com.atlassian.pageobjects.elements.query.TimedCondition hasSuggestionWithId(String substring)

getSuggestionWithId

public Suggestion getSuggestionWithId(String substring)

query

public LegacyPicker query(String query)

clearQuery

public LegacyPicker clearQuery()

acceptUsingMouse

public LegacyPicker acceptUsingMouse(MultiSelectSuggestion suggestion)

acceptActiveSuggestion

public LegacyPicker acceptActiveSuggestion()

down

public LegacyPicker down(int steps)

up

public LegacyPicker up(int steps)


Copyright © 2002-2013 Atlassian. All Rights Reserved.