Trait

io.udash.properties.seq

ForwarderSeqProperty

Related Doc: package seq

Permalink

trait ForwarderSeqProperty[A, B, ElemType <: Property[B], OrigType <: Property[A]] extends ForwarderReadableSeqProperty[A, B, ElemType, OrigType] with ForwarderProperty[Seq[B]] with SeqProperty[B, ElemType]

Linear Supertypes
SeqProperty[B, ElemType], ForwarderProperty[Seq[B]], Property[Seq[B]], ForwarderReadableSeqProperty[A, B, ElemType, OrigType], ReadableSeqProperty[B, ElemType], ForwarderReadableProperty[Seq[B]], ReadableProperty[Seq[B]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForwarderSeqProperty
  2. SeqProperty
  3. ForwarderProperty
  4. Property
  5. ForwarderReadableSeqProperty
  6. ReadableSeqProperty
  7. ForwarderReadableProperty
  8. ReadableProperty
  9. AnyRef
  10. 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.

    Definition Classes
    ReadableSeqProperty
  2. abstract def get: Seq[B]

    Permalink

    returns

    Current property value.

    Definition Classes
    ReadableProperty
  3. abstract def origin: SeqProperty[A, OrigType]

    Permalink
  4. abstract def replace(idx: Int, amount: Int, values: B*): Unit

    Permalink

    Replaces amount elements from index idx with provided values.

    Replaces amount elements from index idx with provided values.

    Definition Classes
    SeqProperty
  5. abstract def set(t: Seq[B], force: Boolean = false): Unit

    Permalink

    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
  6. abstract def setInitValue(t: Seq[B]): Unit

    Permalink

    Changes current property value.

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

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

    Permalink

    Fires value change listeners with current value and clears validation result.

    Fires value change listeners with current value and clears validation result.

    Definition Classes
    Property

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. def addValidator(f: (Seq[B]) ⇒ ValidationResult): Registration

    Permalink

    Adds new validator and clears current validation result.

    Adds new validator and clears current validation result. It does not fire validation process.

    Definition Classes
    Property
  5. def addValidator(v: Validator[Seq[B]]): Registration

    Permalink

    Adds new validator and clears current validation result.

    Adds new validator and clears current validation result. It does not fire validation process.

    Definition Classes
    Property
  6. def append(values: B*): Unit

    Permalink

    Adds values at the end of the sequence.

    Adds values at the end of the sequence.

    Definition Classes
    SeqProperty
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clear(): Unit

    Permalink

    Removes all elements from this SeqProperty.

    Removes all elements from this SeqProperty.

    Definition Classes
    SeqProperty
  9. def clearListeners(): Unit

    Permalink

    Removes all listeners from property.

    Removes all listeners from property.

    Definition Classes
    ForwarderSeqPropertyProperty
  10. def clearValidators(): Unit

    Permalink

    Removes all validators from property and clears current validation result.

    Removes all validators from property and clears current validation result. It does not fire validation process.

    Definition Classes
    Property
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def combine[B, O](property: ReadableProperty[B])(combiner: (B, 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.

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

    Definition Classes
    ReadableSeqProperty
  13. def combine[B, O](property: ReadableProperty[B], combinedParent: ReadableProperty[_] = null)(combiner: (Seq[B], 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
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def filter(matcher: (B) ⇒ Boolean): ReadableSeqProperty[B, _ <: ElemType]

    Permalink

    Filters ReadableSeqProperty[A].

    Filters ReadableSeqProperty[A].

    returns

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

    Definition Classes
    ReadableSeqProperty
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def fireElementsListeners[ItemType <: ReadableProperty[B]](patch: Patch[ItemType], structureListeners: Buffer[(Patch[ItemType]) ⇒ Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ReadableSeqProperty
  19. def fireValueListeners(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. val id: UUID

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    ForwarderReadablePropertyReadableProperty
  23. def initOriginListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  24. def insert(idx: Int, values: B*): Unit

    Permalink

    Inserts values on index idx.

    Inserts values on index idx.

    Definition Classes
    SeqProperty
  25. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

    Definition Classes
    ReadableSeqProperty
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isValid: Future[ValidationResult]

    Permalink

    SeqProperty is valid if all validators return io.udash.properties.Valid and all subproperties are valid.

    SeqProperty is valid if all validators return io.udash.properties.Valid and all subproperties are valid.

    returns

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

    Definition Classes
    ReadableSeqPropertyReadableProperty
  28. def killOriginListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  29. def length: Int

    Permalink

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  30. def listen(valueListener: (Seq[B]) ⇒ 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
    ForwarderReadableSeqPropertyReadableProperty
  31. def listenOnce(valueListener: (Seq[B]) ⇒ 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
    ForwarderReadableSeqPropertyReadableProperty
  32. def listenStructure(structureListener: (Patch[ElemType]) ⇒ Any): Registration

    Permalink

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

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

    Definition Classes
    ForwarderReadableSeqPropertyReadableSeqProperty
  33. val listeners: Buffer[(Seq[B]) ⇒ Any]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def nonEmpty: Boolean

    Permalink

    Tests whether this traversable collection is not empty.

    Tests whether this traversable collection is not empty.

    Definition Classes
    ReadableSeqProperty
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. def onListenerInit(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  39. val oneTimeListeners: Buffer[((Seq[B]) ⇒ Any, () ⇒ Any)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  40. def originListener(originValue: Seq[A]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  41. var originListenerRegistration: Registration

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  42. def originStructureListener(patch: Patch[OrigType]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  43. def parent: ReadableProperty[_]

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ForwarderReadablePropertyReadableProperty
  44. def prepend(values: B*): Unit

    Permalink

    Adds values at the begging of the sequence.

    Adds values at the begging of the sequence.

    Definition Classes
    SeqProperty
  45. def remove(value: B): Unit

    Permalink

    Removes first occurrence of value.

    Removes first occurrence of value.

    Definition Classes
    SeqProperty
  46. def remove(idx: Int, amount: Int): Unit

    Permalink

    Removes amount elements starting from index idx.

    Removes amount elements starting from index idx.

    Definition Classes
    SeqProperty
  47. def reversed(): SeqProperty[B, Property[B]]

    Permalink

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

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

    Definition Classes
    SeqPropertyReadableSeqProperty
  48. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  49. def streamTo[B](target: Property[B], initUpdate: Boolean = true)(transformer: (Seq[B]) ⇒ 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
  50. final val structureListeners: Buffer[(Patch[ElemType]) ⇒ Any]

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  51. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  53. def transform[B](transformer: (B) ⇒ B, revert: (B) ⇒ B): SeqProperty[B, Property[B]]

    Permalink

    Transforms SeqProperty[A] into SeqProperty[B].

    Transforms SeqProperty[A] into SeqProperty[B].

    returns

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

    Definition Classes
    SeqProperty
  54. def transform[B](transformer: (Seq[B]) ⇒ B, revert: (B) ⇒ Seq[B]): Property[B]

    Permalink

    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
  55. def transform[B](transformer: (B) ⇒ 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].

    Definition Classes
    ReadableSeqProperty
  56. def transform[B](transformer: (Seq[B]) ⇒ 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
  57. def transformToSeq[B](transformer: (Seq[B]) ⇒ Seq[B], revert: (Seq[B]) ⇒ Seq[B])(implicit arg0: PropertyCreator[B]): SeqProperty[B, Property[B]]

    Permalink

    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
  58. def transformToSeq[B](transformer: (Seq[B]) ⇒ 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
  59. lazy val valid: ReadableProperty[ValidationResult]

    Permalink

    Property containing validation result.

    Property containing validation result.

    Definition Classes
    ReadableProperty
  60. def validate(): Unit

    Permalink
  61. lazy val validationProperty: ValidationProperty[Seq[B]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  62. var validationResult: Future[ValidationResult]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  63. val validators: Buffer[Validator[Seq[B]]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  64. def valueChanged(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ForwarderReadablePropertyReadableProperty
  65. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. def wrapListenerRegistration(reg: Registration): Registration

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  69. def zip[B, O](property: ReadableSeqProperty[B, ReadableProperty[B]])(combiner: (B, 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.

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

    Definition Classes
    ReadableSeqProperty
  70. def zipAll[B, O](property: ReadableSeqProperty[B, ReadableProperty[B]])(combiner: (B, B) ⇒ O, defaultA: ReadableProperty[B], 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.

    Definition Classes
    ReadableSeqProperty
  71. lazy val zipWithIndex: ReadableSeqProperty[(B, Int), ReadableProperty[(B, Int)]]

    Permalink

    Zips elements from this SeqProperty with their indexes.

    Zips elements from this SeqProperty with their indexes.

    Definition Classes
    ReadableSeqProperty

Inherited from SeqProperty[B, ElemType]

Inherited from ForwarderProperty[Seq[B]]

Inherited from Property[Seq[B]]

Inherited from ForwarderReadableSeqProperty[A, B, ElemType, OrigType]

Inherited from ReadableSeqProperty[B, ElemType]

Inherited from ForwarderReadableProperty[Seq[B]]

Inherited from ReadableProperty[Seq[B]]

Inherited from AnyRef

Inherited from Any

Ungrouped