Trait

io.udash.properties.seq

ReadableSeqProperty

Related Doc: package seq

Permalink

trait ReadableSeqProperty[A, +ElemType <: ReadableProperty[A]] extends ReadableProperty[Seq[A]]

Read-only interface of SeqProperty[A].

Linear Supertypes
ReadableProperty[Seq[A]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadableSeqProperty
  2. ReadableProperty
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def elemProperties: Seq[ElemType]

    Permalink

    returns

    Sequence of child properties.

  2. abstract def filter(matcher: (A) ⇒ Boolean): ReadableSeqProperty[A, _ <: ElemType]

    Permalink

    Filters ReadableSeqProperty[A].

    Filters ReadableSeqProperty[A].

    returns

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

  3. abstract def fireValueListeners(): Unit

    Permalink

    Fires value listeners.

    Fires value listeners.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  4. abstract def get: Seq[A]

    Permalink

    returns

    Current property value.

    Definition Classes
    ReadableProperty
  5. abstract val id: PropertyId

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    ReadableProperty
  6. abstract def isValid: Future[ValidationResult]

    Permalink

    returns

    validation result as Future, which will be completed on the validation process ending. It can fire validation process if needed.

    Definition Classes
    ReadableProperty
  7. abstract def listen(valueListener: (Seq[A]) ⇒ Any, initUpdate: Boolean = false): Registration

    Permalink

    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
  8. abstract def listenOnce(valueListener: (Seq[A]) ⇒ Any): Registration

    Permalink

    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
  9. abstract def listenStructure(structureListener: (Patch[ElemType]) ⇒ Any): Registration

    Permalink

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

  10. abstract def listenersCount(): Int

    Permalink

    Returns listeners count.

    Returns listeners count.

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

    Permalink

    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[io.udash.properties]
    Definition Classes
    ReadableProperty
  12. abstract def parent: ReadableProperty[_]

    Permalink

    Parent property.

    Parent property. null if this property has no parent.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  13. abstract def readable: ReadableSeqProperty[A, ReadableProperty[A]]

    Permalink

    Ensures read-only access to this property.

    Ensures read-only access to this property.

    Definition Classes
    ReadableSeqPropertyReadableProperty
  14. abstract def reversed(): ReadableSeqProperty[A, ReadableProperty[A]]

    Permalink

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

  15. abstract def streamTo[B](target: Property[B], initUpdate: Boolean = true)(transformer: (Seq[A]) ⇒ B): Registration

    Permalink

    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
  16. abstract def structureListenersCount(): Int

    Permalink

    Returns structure listeners count.

  17. abstract def transform[B](transformer: (A) ⇒ B): ReadableSeqProperty[B, ReadableProperty[B]]

    Permalink

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B].

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B].

    returns

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

  18. abstract def transform[B](transformer: (Seq[A]) ⇒ B): ReadableProperty[B]

    Permalink

    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
  19. abstract def transformToSeq[B](transformer: (Seq[A]) ⇒ Seq[B])(implicit arg0: PropertyCreator[B]): ReadableSeqProperty[B, ReadableProperty[B]]

    Permalink

    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
  20. abstract def valid: ReadableProperty[ValidationResult]

    Permalink

    Property containing validation result.

    Property containing validation result.

    Definition Classes
    ReadableProperty
  21. abstract def validate(): Unit

    Permalink

    Triggers validation.

    Triggers validation.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  22. abstract def valueChanged(): Unit

    Permalink

    This method should be called when the value has changed.

    This method should be called when the value has changed.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  23. abstract def zipWithIndex: ReadableSeqProperty[(A, Int), ReadableProperty[(A, Int)]]

    Permalink

    Zips elements from this SeqProperty with their indexes.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def combine[B, O](property: ReadableProperty[B])(combiner: (A, B) ⇒ O)(implicit arg0: PropertyCreator[O]): ReadableSeqProperty[O, ReadableProperty[O]]

    Permalink

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

  7. def combine[B, O](property: ReadableProperty[B], combinedParent: ReadableProperty[_] = null)(combiner: (Seq[A], B) ⇒ O)(implicit arg0: PropertyCreator[O]): ReadableProperty[O]

    Permalink

    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.

    combinedParent

    Parent of combined property, null by default.

    combiner

    Method combining values A and B into O.

    returns

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

    Definition Classes
    ReadableProperty
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def length: Int

    Permalink

    The size of this sequence.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def nonEmpty: Boolean

    Permalink

    Tests whether this traversable collection is not empty.

  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def zip[B, O](property: ReadableSeqProperty[B, ReadableProperty[B]])(combiner: (A, B) ⇒ O)(implicit arg0: PropertyCreator[O]): ReadableSeqProperty[O, ReadableProperty[O]]

    Permalink

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

  27. def zipAll[B, O](property: ReadableSeqProperty[B, ReadableProperty[B]])(combiner: (A, B) ⇒ O, defaultA: ReadableProperty[A], defaultB: ReadableProperty[B])(implicit arg0: PropertyCreator[O]): ReadableSeqProperty[O, ReadableProperty[O]]

    Permalink

    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.

Inherited from ReadableProperty[Seq[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped