Package

io.udash

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. abstract class DefaultViewPresenterFactory[S <: State] extends ViewPresenter[S]

    Permalink

    Creates view with io.udash.core.EmptyPresenter.

    Creates view with io.udash.core.EmptyPresenter. Useful for static views.

  2. class EmptyPresenter[S <: State] extends Presenter[S]

    Permalink

    Ignores state changes.

    Ignores state changes. Useful for static views.

  3. trait FinalView extends View

    Permalink

    A io.udash.core.View which does not have any child view.

  4. trait Presenter[S <: State] extends AnyRef

    Permalink

    The Presenter should contain all business logic of a view: user interaction callbacks, server communication.

    The Presenter should contain all business logic of a view: user interaction callbacks, server communication. It should not call any methods of a View class. The View and the Presenter should communicate via Model properties. When implementing Presenter, you should remember, that a handleState method can be called not only on view initialization.

    S

    State for which this presenter is defined.

  5. trait RoutingRegistry[S <: State] extends AnyRef

    Permalink

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine.

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine. It should implement a bidirectional mapping between io.udash.core.Url and io.udash.core.State.

  6. trait State extends AnyRef

    Permalink

    The class which should be used to present the state for io.udash.routing.RoutingEngine.

  7. final case class Url(value: String) extends AnyVal with Product with Serializable

    Permalink

    Url wrapper - just for avoiding strings.

  8. trait View extends AnyRef

    Permalink

    Abstract view which should be used in order to implement View for io.udash.core.ViewPresenter.

    Abstract view which should be used in order to implement View for io.udash.core.ViewPresenter. The View implementation usually gets the model and the io.udash.core.Presenter as constructor arguments.

  9. trait ViewPresenter[S <: State] extends AnyRef

    Permalink

    The ViewPresenter has to prepare model, io.udash.core.View, io.udash.core.Presenter and link them together.

    The ViewPresenter has to prepare model, io.udash.core.View, io.udash.core.Presenter and link them together.

    S

    State for which this pair is defined.

  10. trait ViewPresenterRegistry[S <: State] extends AnyRef

    Permalink

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine.

    The implementation of this trait should be injected to io.udash.routing.RoutingEngine. It is used to map State to ViewPresenter.

Value Members

  1. object DomWindow extends Element

    Permalink
    Annotations
    @native() @JSGlobalScope()
  2. object View

    Permalink
  3. object Window

    Permalink

Ungrouped