Trait

macroid.viewable

PartialListable

Related Doc: package viewable

Permalink

trait PartialListable[A, +W <: View] extends AnyRef

Expresses the fact that *some* of the values of type A can be displayed with a widget or layout of type W in two steps: 1) creating the layout 2) filling the layout

Self Type
PartialListable[A, W]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartialListable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fillView[W1 >: W <: View](view: Ui[W1], data: A)(implicit ctx: ContextWrapper): Option[Ui[W1]]

    Permalink

    Fill the layout with data.

    Fill the layout with data. Returns None if not defined for this value

  2. abstract def makeView(viewType: Int)(implicit ctx: ContextWrapper): Ui[W]

    Permalink

    Create the layout

  3. abstract def viewType(data: A): Option[Int]

    Permalink

    Layout type for a specific value, or None if not defined for this value

  4. abstract def viewTypeCount: Int

    Permalink

    Supported number of different layout types

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 cond(p: (A) ⇒ Boolean): PartialListable[A, W]

    Permalink

    Specify a condition to further limit this partial

  7. def contraFlatMap[B](f: (B) ⇒ Option[A]): PartialListable[B, W]

    Permalink

    Map the underlying data type A

  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. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  17. def orElse[W1 >: W <: View](alternative: PartialListable[A, W1]): PartialListable[A, W1]

    Permalink

    Combine with an alternative partial

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

    Permalink
    Definition Classes
    AnyRef
  19. def toParent[B](implicit classTag: ClassTag[A]): PartialListable[B, W]

    Permalink

    Make a partial defined for a subset of the provided supertype

  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def toTotal[W1 >: W <: View]: Listable[A, W1]

    Permalink

    Convert back to total listable

  22. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(): Unit

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

Inherited from AnyRef

Inherited from Any

Ungrouped