Instance Constructors
-
new
MultiSelOptionSeq
(underlying: IndexedSeq[String])
Type Members
-
type
Self
= IndexedSeq[String]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
-
def
++
[B >: String, That]
(that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
++
[B >: String, That]
(that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
++:
[B >: String, That]
(that: Traversable[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
++:
[B >: String, That]
(that: TraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
+:
[B >: String, That]
(elem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
-
def
/:
[B]
(z: B)(op: (B, String) ⇒ B): B
-
def
/:\
[A1 >: String]
(z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
:+
[B >: String, That]
(elem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
:\
[B]
(z: B)(op: (String, B) ⇒ B): B
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
addString
(b: StringBuilder): StringBuilder
-
def
addString
(b: StringBuilder, sep: String): StringBuilder
-
def
addString
(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate
[B]
(z: B)(seqop: (B, String) ⇒ B, combop: (B, B) ⇒ B): B
-
def
andThen
[C]
(k: (String) ⇒ C): PartialFunction[Int, C]
-
def
apply
(idx: Int): String
-
def
asInstanceOf
[T0]
: T0
-
def
canEqual
(that: Any): Boolean
-
def
clone
(): AnyRef
-
def
collect
[B, That]
(pf: PartialFunction[String, B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
collectFirst
[B]
(pf: PartialFunction[String, B]): Option[B]
-
def
combinations
(n: Int): Iterator[IndexedSeq[String]]
-
def
companion
: GenericCompanion[IndexedSeq]
-
def
compose
[A]
(g: (A) ⇒ Int): (A) ⇒ String
-
def
contains
(elem: Any): Boolean
-
def
containsSlice
[B]
(that: Seq[B]): Boolean
-
def
containsSlice
[B]
(that: GenSeq[B]): Boolean
-
def
copyToArray
[B >: String]
(xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray
[B >: String]
(xs: Array[B]): Unit
-
def
copyToArray
[B >: String]
(xs: Array[B], start: Int): Unit
-
def
copyToBuffer
[B >: String]
(dest: Buffer[B]): Unit
-
def
corresponds
[B]
(that: Seq[B])(p: (String, B) ⇒ Boolean): Boolean
-
def
corresponds
[B]
(that: GenSeq[B])(p: (String, B) ⇒ Boolean): Boolean
-
def
count
(p: (String) ⇒ Boolean): Int
-
def
diff
[B >: String]
(that: Seq[B]): IndexedSeq[String]
-
def
diff
[B >: String]
(that: GenSeq[B]): IndexedSeq[String]
-
def
distinct
: IndexedSeq[String]
-
def
drop
(n: Int): IndexedSeq[String]
-
def
dropRight
(n: Int): IndexedSeq[String]
-
def
dropWhile
(p: (String) ⇒ Boolean): IndexedSeq[String]
-
def
endsWith
[B]
(that: Seq[B]): Boolean
-
def
endsWith
[B]
(that: GenSeq[B]): Boolean
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(that: Any): Boolean
-
def
exists
(p: (String) ⇒ Boolean): Boolean
-
def
filter
(p: (String) ⇒ Boolean): IndexedSeq[String]
-
def
filterNot
(p: (String) ⇒ Boolean): IndexedSeq[String]
-
def
finalize
(): Unit
-
def
find
(p: (String) ⇒ Boolean): Option[String]
-
def
flatMap
[B, That]
(f: (String) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
flatten
[B]
(implicit asTraversable: (String) ⇒ TraversableOnce[B]): Traversable[B]
-
def
fold
[A1 >: String]
(z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft
[B]
(z: B)(op: (B, String) ⇒ B): B
-
def
foldRight
[B]
(z: B)(op: (String, B) ⇒ B): B
-
def
forall
(p: (String) ⇒ Boolean): Boolean
-
def
foreach
[U]
(f: (String) ⇒ U): Unit
-
def
genericBuilder
[B]
: Builder[B, IndexedSeq[B]]
-
def
getClass
(): java.lang.Class[_]
-
def
groupBy
[K]
(f: (String) ⇒ K): Map[K, IndexedSeq[String]]
-
def
grouped
(size: Int): Iterator[IndexedSeq[String]]
-
def
hasDefiniteSize
: Boolean
-
def
hashCode
(): Int
-
def
head
: String
-
def
headOption
: Option[String]
-
def
indexOf
[B >: String]
(elem: B, from: Int): Int
-
def
indexOf
[B >: String]
(elem: B): Int
-
def
indexOfSlice
[B >: String]
(that: Seq[B], from: Int): Int
-
def
indexOfSlice
[B >: String]
(that: GenSeq[B], from: Int): Int
-
def
indexOfSlice
[B >: String]
(that: Seq[B]): Int
-
def
indexOfSlice
[B >: String]
(that: GenSeq[B]): Int
-
def
indexWhere
(p: (String) ⇒ Boolean, from: Int): Int
-
def
indexWhere
(p: (String) ⇒ Boolean): Int
-
def
indices
: Range
-
def
init
: IndexedSeq[String]
-
def
inits
: Iterator[IndexedSeq[String]]
-
def
intersect
[B >: String]
(that: Seq[B]): IndexedSeq[String]
-
def
intersect
[B >: String]
(that: GenSeq[B]): IndexedSeq[String]
-
def
isDefinedAt
(idx: Int): Boolean
-
def
isEmpty
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isTraversableAgain
: Boolean
-
def
iterator
: Iterator[String]
-
def
last
: String
-
def
lastIndexOf
[B >: String]
(elem: B, end: Int): Int
-
def
lastIndexOf
[B >: String]
(elem: B): Int
-
def
lastIndexOfSlice
[B >: String]
(that: Seq[B], end: Int): Int
-
def
lastIndexOfSlice
[B >: String]
(that: GenSeq[B], end: Int): Int
-
def
lastIndexOfSlice
[B >: String]
(that: Seq[B]): Int
-
def
lastIndexOfSlice
[B >: String]
(that: GenSeq[B]): Int
-
def
lastIndexWhere
(p: (String) ⇒ Boolean, end: Int): Int
-
def
lastIndexWhere
(p: (String) ⇒ Boolean): Int
-
def
lastOption
: Option[String]
-
def
length
: Int
-
def
lengthCompare
(len: Int): Int
-
def
lift
: (Int) ⇒ Option[String]
-
def
map
[B, That]
(f: (String) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
max
[B >: String]
(implicit cmp: Ordering[B]): String
-
def
maxBy
[B]
(f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
-
def
min
[B >: String]
(implicit cmp: Ordering[B]): String
-
def
minBy
[B]
(f: (String) ⇒ B)(implicit cmp: Ordering[B]): String
-
def
mkString
: String
-
def
mkString
(sep: String): String
-
def
mkString
(start: String, sep: String, end: String): String
-
def
ne
(arg0: AnyRef): Boolean
-
def
newBuilder
: Builder[String, IndexedSeq[String]]
-
def
nonEmpty
: Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
orElse
[A1 <: Int, B1 >: String]
(that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
-
def
padTo
[B >: String, That]
(len: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
par
: ParSeq[String]
-
def
parCombiner
: Combiner[String, ParSeq[String]]
-
def
partition
(p: (String) ⇒ Boolean): (IndexedSeq[String], IndexedSeq[String])
-
def
patch
[B >: String, That]
(from: Int, patch: Seq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
patch
[B >: String, That]
(from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
permutations
: Iterator[IndexedSeq[String]]
-
def
prefixLength
(p: (String) ⇒ Boolean): Int
-
def
product
[B >: String]
(implicit num: Numeric[B]): B
-
def
reduce
[A1 >: String]
(op: (A1, A1) ⇒ A1): A1
-
def
reduceLeft
[B >: String]
(op: (B, String) ⇒ B): B
-
def
reduceLeftOption
[B >: String]
(op: (B, String) ⇒ B): Option[B]
-
def
reduceOption
[A1 >: String]
(op: (A1, A1) ⇒ A1): Option[A1]
-
def
reduceRight
[B >: String]
(op: (String, B) ⇒ B): B
-
def
reduceRightOption
[B >: String]
(op: (String, B) ⇒ B): Option[B]
-
def
repr
: IndexedSeq[String]
-
def
reverse
: IndexedSeq[String]
-
def
reverseIterator
: Iterator[String]
-
def
reverseMap
[B, That]
(f: (String) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
reversed
: List[String]
-
def
sameElements
[B >: String]
(that: Iterable[B]): Boolean
-
def
sameElements
[B >: String]
(that: GenIterable[B]): Boolean
-
def
scan
[B >: String, That]
(z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
scanLeft
[B, That]
(z: B)(op: (B, String) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
scanRight
[B, That]
(z: B)(op: (String, B) ⇒ B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
segmentLength
(p: (String) ⇒ Boolean, from: Int): Int
-
def
seq
: Seq[String]
-
def
size
: Int
-
def
slice
(from: Int, until: Int): IndexedSeq[String]
-
def
sliding
[B >: String]
(size: Int, step: Int): Iterator[IndexedSeq[String]]
-
def
sliding
[B >: String]
(size: Int): Iterator[IndexedSeq[String]]
-
def
sortBy
[B]
(f: (String) ⇒ B)(implicit ord: Ordering[B]): IndexedSeq[String]
-
def
sortWith
(lt: (String, String) ⇒ Boolean): IndexedSeq[String]
-
def
sorted
[B >: String]
(implicit ord: Ordering[B]): IndexedSeq[String]
-
def
span
(p: (String) ⇒ Boolean): (IndexedSeq[String], IndexedSeq[String])
-
def
splitAt
(n: Int): (IndexedSeq[String], IndexedSeq[String])
-
def
startsWith
[B]
(that: Seq[B], offset: Int): Boolean
-
def
startsWith
[B]
(that: GenSeq[B], offset: Int): Boolean
-
def
startsWith
[B]
(that: Seq[B]): Boolean
-
def
startsWith
[B]
(that: GenSeq[B]): Boolean
-
def
stringPrefix
: String
-
def
sum
[B >: String]
(implicit num: Numeric[B]): B
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
tail
: IndexedSeq[String]
-
def
tails
: Iterator[IndexedSeq[String]]
-
def
take
(n: Int): IndexedSeq[String]
-
def
takeRight
(n: Int): IndexedSeq[String]
-
def
takeWhile
(p: (String) ⇒ Boolean): IndexedSeq[String]
-
def
thisCollection
: IndexedSeq[String]
-
def
toArray
[B >: String]
(implicit arg0: ClassManifest[B]): Array[B]
-
def
toBuffer
[A1 >: String]
: Buffer[A1]
-
def
toCollection
(repr: IndexedSeq[String]): IndexedSeq[String]
-
def
toIndexedSeq
[B >: String]
: IndexedSeq[B]
-
def
toIterable
: Iterable[String]
-
def
toIterator
: Iterator[String]
-
def
toList
: List[String]
-
def
toMap
[T, U]
(implicit ev: <:<[String, (T, U)]): Map[T, U]
-
def
toSeq
: Seq[String]
-
def
toSet
[B >: String]
: Set[B]
-
def
toStream
: Stream[String]
-
def
toString
(): String
-
def
toTraversable
: Traversable[String]
-
def
transpose
[B]
(implicit asTraversable: (String) ⇒ TraversableOnce[B]): Traversable[Traversable[B]]
-
def
union
[B >: String, That]
(that: GenSeq[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
union
[B >: String, That]
(that: Seq[B])(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
unzip
[A1, A2]
(implicit asPair: (String) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
-
def
unzip3
[A1, A2, A3]
(implicit asTriple: (String) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
-
def
updated
[B >: String, That]
(index: Int, elem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], B, That]): That
-
def
view
(from: Int, until: Int): SeqView[String, IndexedSeq[String]]
-
def
view
: SeqView[String, IndexedSeq[String]]
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
withFilter
(p: (String) ⇒ Boolean): FilterMonadic[String, IndexedSeq[String]]
-
def
zip
[A1 >: String, B, That]
(that: Iterable[B])(implicit bf: CanBuildFrom[IndexedSeq[String], (A1, B), That]): That
-
def
zip
[A1 >: String, B, That]
(that: GenIterable[B])(implicit bf: CanBuildFrom[IndexedSeq[String], (A1, B), That]): That
-
def
zipAll
[B, A1 >: String, That]
(that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], (A1, B), That]): That
-
def
zipAll
[B, A1 >: String, That]
(that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[IndexedSeq[String], (A1, B), That]): That
-
def
zipWithIndex
[A1 >: String, That]
(implicit bf: CanBuildFrom[IndexedSeq[String], (A1, Int), That]): That
-
def
elements
: Iterator[String]
-
def
equalsWith
[B]
(that: Seq[B])(f: (String, B) ⇒ Boolean): Boolean
-
def
findIndexOf
(p: (String) ⇒ Boolean): Int
-
def
findLastIndexOf
(p: (String) ⇒ Boolean): Int
-
def
first
: String
-
def
firstOption
: Option[String]
-
def
projection
: SeqView[String, IndexedSeq[String]]
-
def
reversedElements
: Iterator[String]
Inherited from IndexedSeq[String]
Inherited from IndexedSeq[String]
Inherited from IndexedSeqLike[String, IndexedSeq[String]]
Inherited from Seq[String]
Inherited from Seq[String]
Inherited from SeqLike[String, IndexedSeq[String]]
Inherited from GenSeq[String]
Inherited from GenSeqLike[String, IndexedSeq[String]]
Inherited from PartialFunction[Int, String]
Inherited from (Int) ⇒ String
Inherited from Iterable[String]
Inherited from Iterable[String]
Inherited from IterableLike[String, IndexedSeq[String]]
Inherited from Equals
Inherited from GenIterable[String]
Inherited from GenIterableLike[String, IndexedSeq[String]]
Inherited from Traversable[String]
Inherited from Immutable
Inherited from Traversable[String]
Inherited from GenTraversable[String]
Inherited from GenericTraversableTemplate[String, IndexedSeq]
Inherited from TraversableLike[String, IndexedSeq[String]]
Inherited from GenTraversableLike[String, IndexedSeq[String]]
Inherited from Parallelizable[String, ParSeq[String]]
Inherited from TraversableOnce[String]
Inherited from GenTraversableOnce[String]
Inherited from FilterMonadic[String, IndexedSeq[String]]
Inherited from HasNewBuilder[String, IndexedSeq[String]]
Inherited from AnyRef
Inherited from Any
This class is part of ScalaTest's Selenium DSL. Please see the documentation for
WebBrowser
for an overview of the Selenium DSL.This class enables syntax such as the following:
Instances of this class are returned from the
values
method ofMultiSel
.MultiSelOptionSeq
is an immutableIndexedSeq[String]
that wraps an underlying immutableIndexedSeq[String]
and adds two methods,+
and-
, to facilitate the+=
syntax for setting additional options of theMultiSel
. The Scala compiler will rewrite:To:
Thus, first a new
MultiSelOptionSeq
is created by invoking the+
method on theMultiSelOptionSeq
returned byvalues
, and that result is passed to thevalues_=
method.For symmetry, this class also offers a
-
method, which can be used to deselect an option, like this: