Trait

org.denigma.binding.views

ItemsSeqView

Related Doc: package views

Permalink

trait ItemsSeqView extends OrganizedView with CollectionView

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ItemsSeqView
  2. CollectionView
  3. BindableView
  4. BubbleView
  5. OrganizedView
  6. BasicView
  7. IDGenerator
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ChildView = OrganizedView

    Permalink
    Definition Classes
    OrganizedViewBasicView
  2. abstract type Item

    Permalink
    Definition Classes
    CollectionView
  3. abstract type ItemView <: BasicView

    Permalink
    Definition Classes
    CollectionView
  4. type ParentView = OrganizedView

    Permalink
    Definition Classes
    OrganizedView
  5. type ViewBinder = Binder

    Permalink
    Definition Classes
    BasicView
  6. type ViewElement = Element

    Permalink
    Definition Classes
    BasicView

Abstract Value Members

  1. abstract def elem: ViewElement

    Permalink
    Definition Classes
    BasicView
  2. abstract val items: Rx[Seq[Item]]

    Permalink
  3. abstract def newItemView(item: Item): ItemView

    Permalink
    Definition Classes
    CollectionView

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. var _element: ViewElement

    Permalink
    Attributes
    protected
    Definition Classes
    BasicView
  5. def addItemView(item: Item, iv: ItemView): ItemView

    Permalink
    Definition Classes
    CollectionView
  6. def addView(view: ChildView): ParentView

    Permalink

    Adds view to children

    Adds view to children

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

    Permalink
    Definition Classes
    Any
  8. def ask[Value, Result](value: Value, startWithMe: Boolean = false): Future[Result]

    Permalink

    Asks parent to provide some future

    Asks parent to provide some future

    Result

    result type that we get

    value

    value that we want

    startWithMe

    takes itself into account

    Definition Classes
    BubbleView
  9. def bindElement(el: Element): Unit

    Permalink

    Binds element attributes

    Binds element attributes

    Attributes
    protected
    Definition Classes
    BasicView
  10. def bindView(): Unit

    Permalink
    Definition Classes
    CollectionViewBindableViewBasicView
  11. def binders: List[ViewBinder]

    Permalink
    Definition Classes
    BindableViewBasicView
  12. def binders_=(value: List[ViewBinder]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BindableView
  13. def className: String

    Permalink
    Definition Classes
    BasicView
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def collectFirst[TOut](partial: PartialFunction[ChildView, TOut])(implicit where: Map[String, ChildView] = this.subviews): Option[TOut]

    Permalink

    Collects data from first child view that satisfies the requirements

    Collects data from first child view that satisfies the requirements

    TOut

    what result to return

    partial

    partial function that collects

    where

    where to sear from, subview by default

    Definition Classes
    OrganizedView
  16. def collectFirstSubView[B](pf: PartialFunction[OrganizedView, B])(implicit where: Seq[ChildView] = this.subviews.values.toSeq): Option[B]

    Permalink
    Definition Classes
    OrganizedView
  17. def collectFirstView[B](pf: PartialFunction[OrganizedView, B]): Option[B]

    Permalink
    Definition Classes
    OrganizedView
  18. def constructItemView(item: Item, mp: Map[String, Any] = Map.empty)(construct: (Element, Map[String, Any]) ⇒ ItemView): ItemView

    Permalink

    Function to create Item.

    Function to create Item. Often used for default item creation

    item

    item that will be added

    construct

    function that does construction

    Definition Classes
    CollectionView
  19. def copyTemplate(): ViewElement

    Permalink
    Definition Classes
    CollectionView
  20. def createHTML(string: String): Element

    Permalink

    Trick to create an html

    Trick to create an html

    Definition Classes
    OrganizedView
  21. lazy val defaultBinders: List[ViewBinder]

    Permalink
    Attributes
    protected
    Definition Classes
    CollectionViewBindableView
  22. def defaultInjector: InjectorMagnet.Injector

    Permalink
    Definition Classes
    OrganizedView
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def extractStart(): Element

    Permalink

    extracts element after which it inserts children

    extracts element after which it inserts children

    Definition Classes
    CollectionView
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def findNearestParentViewName(el: Element): Option[String]

    Permalink

    Finds a view that

    Finds a view that

    Definition Classes
    OrganizedView
  28. def findSubView(viewName: String)(implicit where: Map[String, ChildView] = this.subviews): Option[ChildView]

    Permalink
    Definition Classes
    OrganizedView
  29. def findView(viewName: String): Option[ChildView]

    Permalink

    Finds view if it exists

    Finds view if it exists

    Definition Classes
    OrganizedView
  30. def fire(event: ViewEvent, startWithMe: Boolean = false): Unit

    Permalink

    Fires an event

    Fires an event

    event

    vieEvent to fire

    startWithMe

    takes itself into account

    Definition Classes
    BubbleView
  31. def fromParents[TResult](func: PartialFunction[ParentView, TResult]): Option[TResult]

    Permalink

    Take nearest parent that satisfy partial function conditions and maps it to arbitary result In other words you can find a parent that satisfy your needs and extract everything you want from it

    Take nearest parent that satisfy partial function conditions and maps it to arbitary result In other words you can find a parent that satisfy your needs and extract everything you want from it

    Definition Classes
    OrganizedView
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. def getItemView(el: Element): Option[Attr]

    Permalink
    Attributes
    protected
    Definition Classes
    CollectionView
  34. def hasParent: Boolean

    Permalink

    If this view has any parent.

    If this view has any parent. Usually top view as well as views that are not in dome yet do not have parents

    Definition Classes
    OrganizedView
  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. lazy val id: String

    Permalink

    Id of this view

    Id of this view

    Definition Classes
    BasicView
  37. def ifNoID(el: Element, title: ⇒ String): String

    Permalink

    Makes id for the binding element

    Makes id for the binding element

    el

    html element

    title

    is used if the element does not have an ID

    Definition Classes
    IDGenerator
  38. def ifNoIDOption(el: Element, titleOpt: ⇒ Option[String]): Any

    Permalink
    Definition Classes
    IDGenerator
  39. def inject(viewName: String, el: Element, params: Map[String, Any]): ChildView

    Permalink
    Definition Classes
    OrganizedView
  40. lazy val injector: ViewInjector[OrganizedView]

    Permalink
    Definition Classes
    OrganizedView
  41. def isInside(element: Element, me: Element = this.viewElement): Boolean

    Permalink

    checks if this view is inside some html element in the tree

    checks if this view is inside some html element in the tree

    Definition Classes
    BasicView
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. def isTopView: Boolean

    Permalink
    Definition Classes
    OrganizedView
  44. val itemViews: Var[Map[Item, ItemView]]

    Permalink
    Definition Classes
    CollectionView
  45. def loadElementInto(el: Element, newInnerHTML: String, uri: String = ""): Unit

    Permalink

    Overrides for load element into that includes view switching NOTE it always executes by top view (if this new is not top it redirects to topview)

    Overrides for load element into that includes view switching NOTE it always executes by top view (if this new is not top it redirects to topview)

    el

    element

    newInnerHTML

    new content of the inner html

    uri

    uri (for push state)

    Definition Classes
    OrganizedView
  46. def makeDefault(el: Element, props: Map[String, Any] = Map.empty): ChildView

    Permalink
    Definition Classes
    BindableViewBasicView
  47. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  50. def onInsert(item: Item): ItemView

    Permalink
    Attributes
    protected
    Definition Classes
    CollectionView
  51. def onMove(mv: Moved[Item]): Any

    Permalink
    Attributes
    protected
  52. def onRemove(item: Item): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    CollectionView
  53. var parent: Option[ParentView]

    Permalink
    Definition Classes
    OrganizedView
  54. def propagate(event: ViewEvent): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BubbleView
  55. def propagateFuture(event: PromiseEvent[_, _]): Any

    Permalink

    Propagates future to the top for some reason

    Propagates future to the top for some reason

    event

    event that goes up

    Attributes
    protected
    Definition Classes
    BubbleView
  56. def receive: PartialFunction[ViewEvent, Unit]

    Permalink

    Event subsystem

    Event subsystem

    Definition Classes
    BubbleView
  57. def receiveFuture: PartialFunction[PromiseEvent[_, _], Unit]

    Permalink
    Definition Classes
    BubbleView
  58. def refreshChildView(viewId: String, newElement: Element): Unit

    Permalink

    refreshes child view

    refreshes child view

    Definition Classes
    OrganizedView
  59. def refreshMe(newElement: Element): Unit

    Permalink

    Replaces viewElement of the view and rebinds it

    Replaces viewElement of the view and rebinds it

    Definition Classes
    OrganizedView
  60. def removeItemView(r: Item): Unit

    Permalink
    Definition Classes
    CollectionView
  61. def removeSubViewsFrom(element: Element): Unit

    Permalink

    Removes all subviews that were inside element in the tree

    Removes all subviews that were inside element in the tree

    Definition Classes
    OrganizedView
  62. def removeView(view: ChildView): Unit

    Permalink

    Removes a view from subviews

    Removes a view from subviews

    Definition Classes
    OrganizedViewBasicView
  63. def removeViewByName(nm: String): Unit

    Permalink

    Removes view

    Removes view

    nm

    view name to remove

    Definition Classes
    BasicView
  64. def removeWithView(element: Element): Unit

    Permalink

    Removes view, starts search from the top

    Removes view, starts search from the top

    Definition Classes
    OrganizedView
  65. def replace(newChild: Element, oldChild: Element, switch: Boolean = false): Any

    Permalink

    Replaces elementes

    Replaces elementes

    newChild

    new child

    oldChild

    oldchild

    Attributes
    protected
    Definition Classes
    CollectionView
  66. def replaceHTML(newChild: Element, oldChild: Element, switch: Boolean = false): Any

    Permalink
    Definition Classes
    CollectionView
  67. def subscribeUpdates(): Unit

    Permalink

    This function is very important as it monitors items updates

    This function is very important as it monitors items updates

    Attributes
    protected
    Definition Classes
    ItemsSeqViewCollectionView
  68. implicit var subviews: Map[String, ChildView]

    Permalink
    Definition Classes
    BasicView
  69. def switchInner(el: Element, newInnerHTML: String): Unit

    Permalink

    Changes inner HTML removing redundant views

    Changes inner HTML removing redundant views

    el

    element which inner html will change

    newInnerHTML

    new inner html value

    Definition Classes
    OrganizedViewBasicView
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. def template: Element

    Permalink
    Definition Classes
    CollectionView
  72. var templateDisplay: Dynamic

    Permalink
    Definition Classes
    CollectionView
  73. def template_=(value: Element): Unit

    Permalink
    Definition Classes
    CollectionView
  74. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  75. var topView: OrganizedView

    Permalink
    Definition Classes
    OrganizedView
  76. def unbind(el: Element): Unit

    Permalink
    Definition Classes
    BasicView
  77. def unbindView(): Unit

    Permalink
    Definition Classes
    BasicView
  78. lazy val updates: Rx[SequenceUpdate[Item]]

    Permalink
  79. def viewElement: ViewElement

    Permalink
    Definition Classes
    BasicView
  80. def viewElement_=(value: ViewElement): Unit

    Permalink
    Definition Classes
    BasicView
  81. def viewFrom(el: Element): Option[String]

    Permalink

    * Extracts view

    * Extracts view

    Definition Classes
    BasicView
  82. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. def warnIfNoBinders(asError: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BindableView
  86. def withBinder(fun: (ItemsSeqView.this.type) ⇒ ViewBinder): ItemsSeqView.this.type

    Permalink

    Returns myself with some binders

    Returns myself with some binders

    Definition Classes
    BindableView
  87. def withBinders(fun: (ItemsSeqView.this.type) ⇒ List[ViewBinder]): ItemsSeqView.this.type

    Permalink
    Definition Classes
    BindableView
  88. def withParam(name: String, params: Map[String, Any]): Map[String, Any]

    Permalink

    is overriden in parent views

    is overriden in parent views

    Attributes
    protected
    Definition Classes
    BasicView
  89. def writeTree(level: Int = 0): String

    Permalink

    prepares view tree for printing

    prepares view tree for printing

    Definition Classes
    OrganizedView

Inherited from CollectionView

Inherited from BindableView

Inherited from BubbleView

Inherited from OrganizedView

Inherited from BasicView

Inherited from IDGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped