com.atlassian.jira.webtest.framework.core.component
Interface MultiSelect

All Superinterfaces:
Localizable, PageObject
All Known Implementing Classes:
SeleniumMultiSelect

public interface MultiSelect
extends Localizable

Represents a standard multi-select HTML component.

Since:
v4.3

Method Summary
 List<Option> all()
          All options
 MultiSelect select(Option... options)
          Add given options to the current selection.
 MultiSelect selectAll()
          Add all options to the current selection.
 List<Option> selected()
          Selected options.
 MultiSelect unselect(Option... options)
          Remove given options from the current selection
 MultiSelect unselectAll()
          Remove all options from the current selection
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

all

List<Option> all()
All options

Returns:
all options of this multi-select

selected

List<Option> selected()
Selected options.

Returns:
selected options of this multi-select

select

MultiSelect select(Option... options)
Add given options to the current selection.

Parameters:
options - options to add
Returns:
this multi-select instance

unselect

MultiSelect unselect(Option... options)
Remove given options from the current selection

Parameters:
options - options to remove
Returns:
this multi-select instance

selectAll

MultiSelect selectAll()
Add all options to the current selection.

Returns:
this multi-select instance

unselectAll

MultiSelect unselectAll()
Remove all options from the current selection

Returns:
this multi-select instance


Copyright © 2002-2013 Atlassian. All Rights Reserved.