Idx.Selection

trait Selection[A] extends Idx[A] with Info

Lists selected values for some target indexed collection

Companion
object
Source
__.scala
trait Able.Info
trait Able.Tag
trait Idx[A]
trait Collection[A]
trait Able.Size
trait Able.~[A]
class Object
trait Matchable
class Any

Def

@targetName("stream")
override def ~: ~[A]
Definition Classes
Source
__.scala
def apply(i: Int): A

Get value

Get value

Get selected value at given index

Source
__.scala
@targetName("get_Opt")
def get_?: Opt[A]

Optional selected value

Optional selected value

Returns first selected value or void option, if selection is empty

Source
__.scala
def indexes: Idx[Int]

Selected positions

Selected positions

Selected positions from target index

Note. positions.size == size

Source
__.scala
def info: Info
Source
__.scala
def property(dflt: A): Pro[A]

Selected property

Selected property

Returns property instance wich will be updated real-time with the first selected value. Because the Selection can be empty, this property needs a default value to provide in this case.

Source
__.scala
def size: Int

Count of selected values

Count of selected values

Returns total number of selected values

Source
__.scala
def target: Idx[A]

Selection target

Selection target

The Idx targeted by this selection

Source
__.scala

Inherited

def isEmpty: Boolean
Inherited from
Size
Source
Size.scala
def tag: String

To String

To String

tag returns this instance String representation, which should be used insted of toString

Inherited from
Info
Source
Doc.scala