Trait

io.udash.properties.seq

ForwarderWithLocalCopy

Related Doc: package seq

Permalink

trait ForwarderWithLocalCopy[A, B, ElemType <: ReadableProperty[B], OrigType <: ReadableProperty[A]] extends ForwarderReadableSeqProperty[A, B, ElemType, OrigType]

Linear Supertypes
ForwarderReadableSeqProperty[A, B, ElemType, OrigType], AbstractReadableSeqProperty[B, ElemType], ReadableSeqProperty[B, ElemType], ForwarderReadableProperty[Seq[B]], AbstractReadableProperty[Seq[B]], ReadableProperty[Seq[B]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForwarderWithLocalCopy
  2. ForwarderReadableSeqProperty
  3. AbstractReadableSeqProperty
  4. ReadableSeqProperty
  5. ForwarderReadableProperty
  6. AbstractReadableProperty
  7. ReadableProperty
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def elementsFromOrigin(): Seq[ElemType]

    Permalink
    Attributes
    protected
  2. abstract def loadFromOrigin(): Seq[B]

    Permalink
    Attributes
    protected
  3. abstract def origin: ReadableSeqProperty[A, OrigType]

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqPropertyForwarderReadableProperty
  4. abstract def transformPatchAndUpdateElements(patch: Patch[OrigType]): Patch[ElemType]

    Permalink
    Attributes
    protected

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: (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
  7. 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
  8. def elemProperties: Seq[ElemType]

    Permalink

    returns

    Sequence of child properties.

    Definition Classes
    ForwarderWithLocalCopyReadableSeqProperty
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. 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
    AbstractReadableSeqPropertyReadableSeqProperty
  12. def finalize(): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractReadableSeqProperty
  14. def fireValueListeners(): Unit

    Permalink

    Fires value listeners.

    Fires value listeners.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    AbstractReadableProperty → ReadableProperty
  15. def get: Seq[B]

    Permalink

    returns

    Current property value.

    Definition Classes
    ForwarderWithLocalCopyReadableProperty
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val id: PropertyId

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    ForwarderReadablePropertyReadableProperty
  19. def initOriginListeners(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  20. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

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

    Permalink
    Definition Classes
    Any
  22. 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
    AbstractReadableSeqProperty → AbstractReadableProperty → ReadableProperty
  23. def killOriginListeners(): Unit

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

    Permalink

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  25. 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
    ForwarderReadableSeqProperty → AbstractReadableProperty → ReadableProperty
  26. 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
    ForwarderReadableSeqProperty → AbstractReadableProperty → ReadableProperty
  27. 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
  28. val listeners: Buffer[(Seq[B]) ⇒ Any]

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

    Permalink
    Definition Classes
    AnyRef
  30. def nonEmpty: Boolean

    Permalink

    Tests whether this traversable collection is not empty.

    Tests whether this traversable collection is not empty.

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderWithLocalCopyForwarderReadableSeqProperty
  36. var originListenerRegistration: Registration

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

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderWithLocalCopyForwarderReadableSeqProperty
  38. def parent: ReadableProperty[_]

    Permalink

    Parent property.

    Parent property. null if this property has no parent.

    Attributes
    protected[io.udash.properties]
    Definition Classes
    ForwarderReadablePropertyReadableProperty
  39. def reversed(): ReadableSeqProperty[B, ReadableProperty[B]]

    Permalink

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

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

    Definition Classes
    AbstractReadableSeqPropertyReadableSeqProperty
  40. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  41. 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
    AbstractReadableProperty → ReadableProperty
  42. final val structureListeners: Buffer[(Patch[ElemType]) ⇒ Any]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. 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
    AbstractReadableSeqPropertyReadableSeqProperty
  46. 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
    AbstractReadableProperty → ReadableProperty
  47. 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
    AbstractReadableProperty → ReadableProperty
  48. var transformedElements: Buffer[ElemType]

    Permalink
    Attributes
    protected
  49. lazy val valid: ReadableProperty[ValidationResult]

    Permalink

    Property containing validation result.

    Property containing validation result.

    Definition Classes
    AbstractReadableProperty → ReadableProperty
  50. def validate(): Unit

    Permalink

    Triggers validation.

    Triggers validation.

    Definition Classes
    ForwarderReadableProperty → AbstractReadableProperty → ReadableProperty
  51. lazy val validationProperty: ValidationProperty[Seq[B]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AbstractReadableProperty
  52. var validationResult: Future[ValidationResult]

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AbstractReadableProperty
  54. 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
    ForwarderReadableProperty → AbstractReadableProperty → ReadableProperty
  55. final def wait(): Unit

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ForwarderReadableSeqProperty
  59. 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
  60. 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
  61. 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
    AbstractReadableSeqPropertyReadableSeqProperty

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

Inherited from AbstractReadableSeqProperty[B, ElemType]

Inherited from ReadableSeqProperty[B, ElemType]

Inherited from ForwarderReadableProperty[Seq[B]]

Inherited from AbstractReadableProperty[Seq[B]]

Inherited from ReadableProperty[Seq[B]]

Inherited from AnyRef

Inherited from Any

Ungrouped