Trait

org.denigma.binding.views

CollectionSortedMapView

Related Doc: package views

Permalink

trait CollectionSortedMapView extends OrganizedView with BasicCollectionMapView

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

Type Members

  1. type ChildView = OrganizedView

    Permalink
    Definition Classes
    OrganizedViewBasicView
  2. type Item = Key

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

    Permalink
    Definition Classes
    CollectionView
  4. abstract type Key

    Permalink
    Definition Classes
    BasicCollectionMapView
  5. type ParentView = OrganizedView

    Permalink
    Definition Classes
    OrganizedView
  6. abstract type Value

    Permalink
    Definition Classes
    BasicCollectionMapView
  7. type ViewBinder = Binder

    Permalink
    Definition Classes
    BasicView
  8. type ViewElement = Element

    Permalink
    Definition Classes
    BasicView

Abstract Value Members

  1. abstract def elem: ViewElement

    Permalink
    Definition Classes
    BasicView
  2. abstract def items: Rx[SortedMap[Key, Value]]

    Permalink
  3. abstract def newItemView(key: Key, value: Value): ItemView

    Permalink
    Definition Classes
    BasicCollectionMapView
  4. abstract def updateView(view: ItemView, key: Key, old: Value, current: Value): Unit

    Permalink
    Definition Classes
    BasicCollectionMapView

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 insertItemView(item: Item, iv: ItemView, before: Element): ItemView

    Permalink
    Definition Classes
    CollectionView
  42. 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
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isTopView: Boolean

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

    Permalink
    Definition Classes
    CollectionView
  46. 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
  47. def makeDefault(el: Element, props: Map[String, Any] = Map.empty): ChildView

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

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

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

    Permalink
    Definition Classes
    AnyRef
  51. def onRemove(item: Item): Unit

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    BubbleView
  54. 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
  55. def receive: PartialFunction[ViewEvent, Unit]

    Permalink

    Event subsystem

    Event subsystem

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

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

    Permalink

    refreshes child view

    refreshes child view

    Definition Classes
    OrganizedView
  58. 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
  59. def removeItemView(r: Item): Unit

    Permalink
    Definition Classes
    CollectionView
  60. 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
  61. def removeView(view: ChildView): Unit

    Permalink

    Removes a view from subviews

    Removes a view from subviews

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

    Permalink

    Removes view

    Removes view

    nm

    view name to remove

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

    Permalink

    Removes view, starts search from the top

    Removes view, starts search from the top

    Definition Classes
    OrganizedView
  64. 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
  65. def replaceHTML(newChild: Element, oldChild: Element, switch: Boolean = false): Any

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

    Permalink

    Adds subscription

    Adds subscription

    Attributes
    protected
    Definition Classes
    CollectionSortedMapViewBasicCollectionMapViewCollectionView
  67. implicit var subviews: Map[String, ChildView]

    Permalink
    Definition Classes
    BasicView
  68. 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
  69. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  70. def template: Element

    Permalink
    Definition Classes
    CollectionView
  71. var templateDisplay: Dynamic

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

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

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

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

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

    Permalink
    Definition Classes
    BasicView
  77. lazy val updates: Rx[MapUpdate[Key, Value]]

    Permalink
  78. def viewElement: ViewElement

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

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

    Permalink

    * Extracts view

    * Extracts view

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

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

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

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

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

    Permalink

    Returns myself with some binders

    Returns myself with some binders

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

    Permalink
    Definition Classes
    BindableView
  87. 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
  88. def writeTree(level: Int = 0): String

    Permalink

    prepares view tree for printing

    prepares view tree for printing

    Definition Classes
    OrganizedView

Inherited from BasicCollectionMapView

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