scala.swing.Table.selection

class SelectionSet

[source: scala/swing/Table/selection.scala]

protected abstract class SelectionSet[A](a : => Seq[A])
extends Set[A]
Direct Known Subclasses:
Table.selection.rows, Table.selection.columns

Method Summary
abstract def += (n : A) : SelectionSet[A]
Adds a new element to the set.
abstract def -= (n : A) : SelectionSet[A]
Removes a single element from a set.
def contains (n : A) : Boolean
Checks if this set contains element elem.
def iterator : Iterator[A]
Creates a new iterator over all elements contained in this iterable object.
override def size : Int
The number of elements in this collection
Methods inherited from Set
companion
Methods inherited from SetLike
newBuilder, add, remove, update, retain, clear, clone, result, +, +, ++, ++, -, -, --, --, <<
Methods inherited from Shrinkable
-=, --=, --=
Methods inherited from Builder
sizeHint, mapResult
Methods inherited from Growable
+=, ++=, ++=
Methods inherited from SetLike
isEmpty, apply, intersect, &, **, union, |, diff, &~, subsetOf, stringPrefix, toString, hashCode, equals
Methods inherited from GenericSetTemplate
empty
Methods inherited from Function1
compose, andThen
Methods inherited from IterableLike
thisCollection, toCollection, elements, foreach, forall, exists, find, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, view, view, first, firstOption, projection
Methods inherited from GenericTraversableTemplate
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableLike
repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toSeq, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, withFilter
Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def -=(n : A) : SelectionSet[A]
Removes a single element from a set.
Parameters
elem - The element to be removed.

abstract def +=(n : A) : SelectionSet[A]
Adds a new element to the set.
Parameters
elem - the element to be added

def contains(n : A) : Boolean
Checks if this set contains element elem.
Parameters
elem - the element to check for membership.
Returns
true iff elem is contained in this set.

override def size : Int
The number of elements in this collection

def iterator : Iterator[A]
Creates a new iterator over all elements contained in this iterable object.
Returns
the new iterator