org.denigma.binding.views.utils

ViewInjector

Related Doc: package utils

object ViewInjector extends ViewFactory with Injector[OrganizedView]

Injects views that are registered with this class Registration looks like: ViewInjector.register("menu", (el, params) =>Try(new MenuView(el,params))) After registration if there will be menu view somwhere it will apply this functions to initiate it

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ViewInjector
  2. Injector
  3. ViewFactory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ChildView = OrganizedView

    Definition Classes
    ViewInjectorViewFactory
  2. type SimpleViewFactory = (HTMLElement, Map[String, Any]) ⇒ Try[ChildView]

    Definition Classes
    ViewFactory
  3. type ViewFactory = (HTMLElement, Map[String, Any], Option[OrganizedView]) ⇒ Try[ChildView]

    Definition Classes
    ViewFactory

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  8. var factories: Map[String, ViewFactory]

    Definition Classes
    ViewFactory
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. def inject(viewName: String, element: HTMLElement, params: Map[String, Any], parent: Option[OrganizedView]): Option[Try[ChildView]]

    Definition Classes
    ViewFactory
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  17. def register(name: String, factory: SimpleViewFactory): ViewInjector.this.type

    Definition Classes
    ViewFactory
  18. def register(name: String, factory: ViewFactory): ViewInjector.this.type

    Definition Classes
    ViewFactory
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. def transformFactory(factory: SimpleViewFactory): ViewFactory

    Definition Classes
    ViewFactory
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Injector[OrganizedView]

Inherited from utils.ViewFactory

Inherited from AnyRef

Inherited from Any

Ungrouped