Class

org.denigma.binding.views.MapCollectionView

JustMapView

Related Doc: package MapCollectionView

Permalink

class JustMapView extends OrganizedView with BindableView

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JustMapView
  2. BindableView
  3. BubbleView
  4. OrganizedView
  5. BasicView
  6. IDGenerator
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JustMapView(elem: Element, params: Map[String, Any])

    Permalink

Type Members

  1. type ChildView = OrganizedView

    Permalink
    Definition Classes
    OrganizedViewBasicView
  2. type ParentView = OrganizedView

    Permalink
    Definition Classes
    OrganizedView
  3. type ViewBinder = Binder

    Permalink
    Definition Classes
    BasicView
  4. type ViewElement = Element

    Permalink
    Definition Classes
    BasicView

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 addView(view: ChildView): ParentView

    Permalink

    Adds view to children

    Adds view to children

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

    Permalink
    Definition Classes
    Any
  7. 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

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

    Permalink

    Binds element attributes

    Binds element attributes

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

    Permalink
    Definition Classes
    BindableViewBasicView
  10. def binders: List[ViewBinder]

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

    Permalink
    Attributes
    protected
    Definition Classes
    BindableView
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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
  14. def collectFirstSubView[B](pf: PartialFunction[OrganizedView, B])(implicit where: Seq[ChildView] = this.subviews.values.toSeq): Option[B]

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

    Permalink
    Definition Classes
    OrganizedView
  16. def createHTML(string: String): Element

    Permalink

    Trick to create an html

    Trick to create an html

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

    Permalink
    Attributes
    protected
    Definition Classes
    BindableView
  18. def defaultInjector: InjectorMagnet.Injector

    Permalink
    Definition Classes
    OrganizedView
  19. val elem: Element

    Permalink
    Definition Classes
    JustMapViewBasicView
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

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

    Permalink

    Finds a view that

    Finds a view that

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

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

    Permalink

    Finds view if it exists

    Finds view if it exists

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

    Permalink

    Fires an event

    Fires an event

    Definition Classes
    BubbleView
  27. 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
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. 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
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. val id: String

    Permalink

    Id of this view

    Id of this view

    Definition Classes
    BasicView
  32. 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
  33. def ifNoIDOption(el: Element, titleOpt: ⇒ Option[String]): Any

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

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

    Permalink
    Definition Classes
    OrganizedView
  36. 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
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. def isTopView: Boolean

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

    Permalink
    Definition Classes
    BindableViewBasicView
  41. def name: String

    Permalink
    Definition Classes
    BasicView
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  45. val params: Map[String, Any]

    Permalink
  46. var parent: Option[ParentView]

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

    Permalink
    Attributes
    protected
    Definition Classes
    BubbleView
  48. 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
  49. val reactiveMap: Map[String, Var[String]]

    Permalink
  50. def receive: PartialFunction[ViewEvent, Unit]

    Permalink

    Event subsystem

    Event subsystem

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

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

    Permalink

    refreshes child view

    refreshes child view

    Definition Classes
    OrganizedView
  53. 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
  54. 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
  55. def removeView(view: ChildView): Unit

    Permalink

    Removes a view from subviews

    Removes a view from subviews

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

    Permalink

    Removes view

    Removes view

    nm

    view name to remove

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

    Permalink

    Removes view, starts search from the top

    Removes view, starts search from the top

    Definition Classes
    OrganizedView
  58. implicit var subviews: Map[String, ChildView]

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

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

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

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

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

    Permalink
    Definition Classes
    BasicView
  65. def viewElement: ViewElement

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

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

    Permalink

    * Extracts view

    * Extracts view

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

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

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

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

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

    Permalink

    Returns myself with some binders

    Returns myself with some binders

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

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

    Permalink

    prepares view tree for printing

    prepares view tree for printing

    Definition Classes
    OrganizedView

Inherited from BindableView

Inherited from BubbleView

Inherited from OrganizedView

Inherited from BasicView

Inherited from IDGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped