Packages

trait SeqProperty[A, +ElemType <: single.Property[A]] extends ReadableSeqProperty[A, ElemType] with single.Property[com.avsystem.commons.BSeq[A]]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqProperty
  2. Property
  3. ReadableSeqProperty
  4. ReadableProperty
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def appendSeq(values: com.avsystem.commons.BSeq[A]): Unit

    Adds values at the end of the sequence.

  2. abstract def bitransform[B](transformer: (com.avsystem.commons.BSeq[A]) => B)(revert: (B) => com.avsystem.commons.BSeq[A]): single.Property[B]

    Creates Property[B] linked to this.

    Creates Property[B] linked to this. Changes will be bidirectionally synchronized between this and new property.

    B

    Type of new Property.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    revert

    Method transforming type B of new Property to type A of existing Property.

    returns

    New Property[B], which will be synchronised with original Property[A].

    Definition Classes
    Property
  3. abstract def bitransformElements[B](transformer: (A) => B)(revert: (B) => A): SeqProperty[B, single.Property[B]]

    Creates SeqProperty[B] linked to this.

    Creates SeqProperty[B] linked to this. Changes will be bidirectionally synchronized between this and new property. Prefer this to bitransform whenever you don't need the whole sequence to perform the transformation.

    returns

    New SeqProperty[B], which will be synchronised with original SeqProperty[A].

  4. abstract def bitransformToSeq[B](transformer: (com.avsystem.commons.BSeq[A]) => com.avsystem.commons.BSeq[B])(revert: (com.avsystem.commons.BSeq[B]) => com.avsystem.commons.BSeq[A])(implicit arg0: PropertyCreator[B]): SeqProperty[B, single.Property[B]]

    Creates SeqProperty[B] linked to this.

    Creates SeqProperty[B] linked to this. Changes will be synchronized with this in both directions.

    B

    Type of elements in new SeqProperty.

    transformer

    Method transforming type A of existing Property to type Seq[B] of new Property.

    revert

    Method transforming type Seq[B] to A.

    returns

    New ReadableSeqProperty[B], which will be synchronised with original Property[A].

    Definition Classes
    Property
  5. abstract def clear(): Unit

    Removes all elements from this SeqProperty.

  6. abstract def clearListeners(): Unit

    Removes all listeners from property.

    Removes all listeners from property.

    Definition Classes
    Property
  7. abstract def elemProperties: com.avsystem.commons.BSeq[ElemType]

    returns

    Sequence of child properties.

    Definition Classes
    ReadableSeqProperty
  8. abstract def filter(matcher: (A) => Boolean): ReadableSeqProperty[A, ElemType]

    Filters ReadableSeqProperty[A].

    Filters ReadableSeqProperty[A].

    returns

    New ReadableSeqProperty[A] with matched elements, which will be synchronised with original ReadableSeqProperty[A].

    Definition Classes
    ReadableSeqProperty
  9. abstract def get: com.avsystem.commons.BSeq[A]

    returns

    Current property value.

    Definition Classes
    ReadableProperty
  10. abstract def insertSeq(idx: Int, values: com.avsystem.commons.BSeq[A]): Unit

    Inserts values on index idx.

  11. abstract def listen(valueListener: (com.avsystem.commons.BSeq[A]) => Any, initUpdate: Boolean = false): utils.Registration

    Registers listener which will be called on value change.

    Registers listener which will be called on value change.

    initUpdate

    If true, listener will be instantly triggered with current value of property.

    Definition Classes
    ReadableProperty
  12. abstract def listenOnce(valueListener: (com.avsystem.commons.BSeq[A]) => Any): utils.Registration

    Registers listener which will be called on the next value change.

    Registers listener which will be called on the next value change. This listener will be fired only once.

    Definition Classes
    ReadableProperty
  13. abstract def listenStructure(structureListener: (Patch[ElemType]) => Any): utils.Registration

    Registers listener, which will be called on every property structure change.

    Registers listener, which will be called on every property structure change.

    Definition Classes
    ReadableSeqProperty
  14. abstract def listenersCount(): Int

    Returns listeners count.

    Returns listeners count.

    Definition Classes
    ReadableProperty
  15. abstract def listenersUpdate(): Unit

    This method should be called when the listener is registered or removed.

    This method should be called when the listener is registered or removed.

    Attributes
    protected[properties]
    Definition Classes
    ReadableProperty
  16. abstract def prependSeq(values: com.avsystem.commons.BSeq[A]): Unit

    Adds values at the begging of the sequence.

  17. abstract def remove(value: A): Unit

    Removes first occurrence of value.

  18. abstract def remove(idx: Int, amount: Int): Unit

    Removes amount elements starting from index idx.

  19. abstract def replaceSeq(idx: Int, amount: Int, values: com.avsystem.commons.BSeq[A]): Unit

    Replaces amount elements from index idx with provided values.

  20. abstract def reversed(): SeqProperty[A, single.Property[A]]

    Creates SeqProperty[A] providing reversed order of elements from this.

    Creates SeqProperty[A] providing reversed order of elements from this.

    Definition Classes
    SeqPropertyReadableSeqProperty
  21. abstract def set(t: com.avsystem.commons.BSeq[A], force: Boolean = false): Unit

    Changes current property value.

    Changes current property value. Fires value change listeners.

    t

    Should not be null!

    force

    If true, the value change listeners will be fired even if value didn't change.

    Definition Classes
    Property
  22. abstract def setInitValue(t: com.avsystem.commons.BSeq[A]): Unit

    Changes current property value.

    Changes current property value. Does not fire value change listeners.

    Definition Classes
    Property
  23. abstract def streamTo[B](target: single.Property[B], initUpdate: Boolean = true)(transformer: (com.avsystem.commons.BSeq[A]) => B): utils.Registration

    Streams value changes to the target property.

    Streams value changes to the target property. It is not as strong relation as transform, because target can change value independently.

    Definition Classes
    ReadableProperty
  24. abstract def structureListenersCount(): Int

    Returns structure listeners count.

    Returns structure listeners count.

    Definition Classes
    ReadableSeqProperty
  25. abstract def sync[B](p: single.Property[B])(transformer: (com.avsystem.commons.BSeq[A]) => B, revert: (B) => com.avsystem.commons.BSeq[A]): utils.Registration

    Bidirectionally synchronizes Property[B] with this.

    Bidirectionally synchronizes Property[B] with this. The transformed value is synchronized from this to Property[B] on initialization.

    B

    Type of new Property.

    p

    Property to be synchronized with this.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    revert

    Method transforming type B of new Property to type A of existing Property.

    returns

    Bidirectional registration between existing and new property.

    Definition Classes
    Property
  26. abstract def touch(): Unit

    Fires value change listeners with current value.

    Fires value change listeners with current value.

    Definition Classes
    Property
  27. abstract def transform[B](transformer: (com.avsystem.commons.BSeq[A]) => B): single.ReadableProperty[B]

    Creates ReadableProperty[B] linked to this.

    Creates ReadableProperty[B] linked to this. Changes will be synchronized with this.

    B

    Type of new Property.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    returns

    New ReadableProperty[B], which will be synchronised with original ReadableProperty[A].

    Definition Classes
    ReadableProperty
  28. abstract def transformElements[B](transformer: (A) => B): ReadableSeqProperty[B, single.ReadableProperty[B]]

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B] element by element.

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B] element by element. Prefer this to transform whenever you don't need the whole sequence to perform the transformation.

    returns

    New ReadableSeqProperty[B], which will be synchronised with original ReadableSeqProperty[A].

    Definition Classes
    ReadableSeqProperty
  29. abstract def transformToSeq[B](transformer: (com.avsystem.commons.BSeq[A]) => com.avsystem.commons.BSeq[B])(implicit arg0: PropertyCreator[B]): ReadableSeqProperty[B, single.ReadableProperty[B]]

    Creates ReadableSeqProperty[B] linked to this.

    Creates ReadableSeqProperty[B] linked to this. Changes will be synchronized with this.

    B

    Type of elements in new SeqProperty.

    transformer

    Method transforming type A of existing Property to type Seq[B] of new Property.

    returns

    New ReadableSeqProperty[B], which will be synchronised with original ReadableProperty[A].

    Definition Classes
    ReadableProperty
  30. abstract def valueChanged(): Unit

    This method should be called when the value has changed.

    This method should be called when the value has changed.

    Attributes
    protected[properties]
    Definition Classes
    ReadableProperty
  31. abstract def zipWithIndex: ReadableSeqProperty[(A, Int), single.ReadableProperty[(A, Int)]]

    Zips elements from this SeqProperty with their indexes.

    Zips elements from this SeqProperty with their indexes.

    Definition Classes
    ReadableSeqProperty

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def append(values: A*): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def combine[B, O](property: single.ReadableProperty[B])(combiner: (com.avsystem.commons.BSeq[A], B) => O): single.ReadableProperty[O]

    Combines two properties into a new one.

    Combines two properties into a new one. Created property will be updated after any change in the origin ones.

    B

    Type of elements in provided property.

    O

    Output property elements type.

    property

    Property[B] to combine with this.

    combiner

    Method combining values A and B into O.

    returns

    Property[O] updated on any change in this or property.

    Definition Classes
    ReadableProperty
  8. def combineElements[B, O](property: single.ReadableProperty[B])(combiner: (A, B) => O): ReadableSeqProperty[O, single.ReadableProperty[O]]

    Combines every element of this SeqProperty with provided Property creating new ReadableSeqProperty as the result.

    Combines every element of this SeqProperty with provided Property creating new ReadableSeqProperty as the result.

    Definition Classes
    ReadableSeqProperty
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def insert(idx: Int, values: A*): Unit
  14. def isEmpty: Boolean

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

    Definition Classes
    ReadableSeqProperty
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def length: Int

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  17. def mirror[B >: com.avsystem.commons.BSeq[A]]()(implicit arg0: PropertyCreator[B]): MirrorProperty[B]

    Creates a mutable copy of this property which follows the stream of updates from this property.

    Creates a mutable copy of this property which follows the stream of updates from this property. Similarly to streamTo, the target can change value independently and origin value updates can be cancelled.

    Definition Classes
    ReadableProperty
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def nonEmpty: Boolean

    Tests whether this traversable collection is not empty.

    Tests whether this traversable collection is not empty.

    Definition Classes
    ReadableSeqProperty
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def prepend(values: A*): Unit
  23. final def replace(idx: Int, amount: Int, values: A*): Unit
  24. def size: Int

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. def zip[B, O](property: ReadableSeqProperty[B, single.ReadableProperty[B]])(combiner: (A, B) => O): ReadableSeqProperty[O, single.ReadableProperty[O]]

    Zips elements from this and provided property by combining every pair using provided combiner.

    Zips elements from this and provided property by combining every pair using provided combiner.

    Definition Classes
    ReadableSeqProperty
  31. def zipAll[B, A1 >: A, O](property: ReadableSeqProperty[B, single.ReadableProperty[B]])(combiner: (A1, B) => O, defaultA: single.ReadableProperty[A1], defaultB: single.ReadableProperty[B]): ReadableSeqProperty[O, single.ReadableProperty[O]]

    Zips elements from this and provided property by combining every pair using provided combiner.

    Zips elements from this and provided property by combining every pair using provided combiner. Uses defaultA and defaultB to fill smaller sequence.

    Definition Classes
    ReadableSeqProperty

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ReadableSeqProperty[A, ElemType]

Inherited from AnyRef

Inherited from Any

Ungrouped