Class

io.udash.properties

DirectSeqPropertyImpl

Related Doc: package properties

Permalink

class DirectSeqPropertyImpl[A] extends SeqProperty[A, CastableProperty[A]] with CastableProperty[Seq[A]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirectSeqPropertyImpl
  2. CastableProperty
  3. CastableReadableProperty
  4. SeqProperty
  5. Property
  6. ReadableSeqProperty
  7. ReadableProperty
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DirectSeqPropertyImpl(parent: Property[_], id: UUID)(implicit propertyCreator: PropertyCreator[A], executionContext: ExecutionContext)

    Permalink

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(v: Validator[Seq[A]]): utils.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 append(values: A*): Unit

    Permalink

    Adds values at the end of the sequence.

    Adds values at the end of the sequence.

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

    Permalink
    Definition Classes
    Any
  7. def asModel(implicit ev: ModelPart[Seq[A]]): ModelProperty[Seq[A]]

    Permalink

    Safely casts DirectProperty[A] to ModelProperty[A]

    Safely casts DirectProperty[A] to ModelProperty[A]

    Definition Classes
    CastablePropertyCastableReadableProperty
  8. def asSeq[B](implicit ev: ModelSeq[Seq[A]], sev: =:=[Seq[A], Seq[B]]): SeqProperty[B, CastableProperty[B]]

    Permalink

    Safely casts DirectProperty[Seq[A]] to DirectSeqProperty[A]

    Safely casts DirectProperty[Seq[A]] to DirectSeqProperty[A]

    Definition Classes
    CastablePropertyCastableReadableProperty
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def combine[B, O](property: Property[B])(combiner: (Seq[A], B) ⇒ O)(implicit arg0: ModelValue[O]): Property[O]

    Permalink
    Definition Classes
    ReadableProperty
  11. def elemProperties: Seq[CastableProperty[A]]

    Permalink

    returns

    Sequence of child properties.

    Definition Classes
    DirectSeqPropertyImplReadableSeqProperty
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. implicit val executionContext: ExecutionContext

    Permalink
  15. def filter(matcher: (A) ⇒ Boolean): ReadableSeqProperty[A, _ <: CastableProperty[A]]

    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
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fireElementsListeners(patch: Patch[CastableProperty[A]]): Unit

    Permalink
    Attributes
    protected
  18. def fireValueListeners(): Unit

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

    Permalink

    returns

    Current property value.

    Definition Classes
    DirectSeqPropertyImplReadableProperty
  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
    DirectSeqPropertyImplReadableProperty
  23. def insert(idx: Int, values: A*): Unit

    Permalink

    Inserts values on index idx.

    Inserts values on index idx.

    Definition Classes
    SeqProperty
  24. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

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

    Permalink
    Definition Classes
    Any
  26. 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
  27. def length: Int

    Permalink

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  28. def listen(l: (Seq[A]) ⇒ Any): utils.Registration

    Permalink

    Registers listener which will be called on value change.

    Registers listener which will be called on value change.

    Definition Classes
    ReadableProperty
  29. def listenStructure(l: (Patch[CastableProperty[A]]) ⇒ Any): utils.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
    DirectSeqPropertyImplReadableSeqProperty
  30. val listeners: Set[(Seq[A]) ⇒ Any]

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

    Permalink
    Definition Classes
    AnyRef
  32. def nonEmpty: Boolean

    Permalink

    Tests whether this traversable collection is not empty.

    Tests whether this traversable collection is not empty.

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

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

    Permalink
    Definition Classes
    AnyRef
  35. val parent: Property[_]

    Permalink
  36. def prepend(values: A*): Unit

    Permalink

    Adds values at the begging of the sequence.

    Adds values at the begging of the sequence.

    Definition Classes
    SeqProperty
  37. def remove(value: A): Unit

    Permalink

    Removes first occurrence of value.

    Removes first occurrence of value.

    Definition Classes
    SeqProperty
  38. 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
  39. def replace(idx: Int, amount: Int, values: A*): Unit

    Permalink

    Replaces amount elements from index idx with provided values.

    Replaces amount elements from index idx with provided values.

    Definition Classes
    DirectSeqPropertyImplSeqProperty
  40. def set(t: Seq[A]): Unit

    Permalink

    Changes current property value.

    Changes current property value. Fires value change listeners.

    Definition Classes
    DirectSeqPropertyImplProperty
  41. def setInitValue(t: Seq[A]): Unit

    Permalink

    Changes current property value.

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

    Definition Classes
    DirectSeqPropertyImplProperty
  42. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  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: (A) ⇒ B, revert: (B) ⇒ A): 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
  46. def transform[B](transformer: (Seq[A]) ⇒ B, revert: (B) ⇒ Seq[A]): 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
  47. 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].

    Definition Classes
    ReadableSeqProperty
  48. 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 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.

    returns

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

    Definition Classes
    ReadableProperty
  49. def validate(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  50. var validationResult: Future[ValidationResult]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  51. val validators: Set[Validator[Seq[A]]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CastableProperty[Seq[A]]

Inherited from CastableReadableProperty[Seq[A]]

Inherited from SeqProperty[A, CastableProperty[A]]

Inherited from Property[Seq[A]]

Inherited from ReadableSeqProperty[A, CastableProperty[A]]

Inherited from ReadableProperty[Seq[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped