Package

io.udash

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. trait ContainerState extends State

    Permalink

    State related to ContainerView.

  2. trait ContainerView extends View

    Permalink

    A io.udash.core.View which can render child view.

  3. trait ContainerViewFactory[S <: ContainerState] extends ViewFactory[S]

    Permalink

    ViewFactory creating ContainerView.

  4. trait FinalState extends State

    Permalink

    State related to FinalView.

  5. trait FinalView extends View

    Permalink

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

  6. trait FinalViewFactory[S <: FinalState] extends ViewFactory[S]

    Permalink

    ViewFactory creating FinalView.

  7. 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.

  8. trait State extends AnyRef

    Permalink

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

  9. class StaticViewFactory[S <: State] extends ViewFactory[S]

    Permalink

    Creates view with io.udash.core.EmptyPresenter.

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

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

    Permalink

    Url wrapper - just for avoiding strings.

  11. trait View extends AnyRef

    Permalink

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

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

  12. trait ViewFactory[S <: State] extends AnyRef

    Permalink

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

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

    S

    State for which this pair is defined.

  13. trait ViewFactoryRegistry[HierarchyRoot <: 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 ViewFactory.

Value Members

  1. object EmptyPresenter extends Presenter[State]

    Permalink

    Ignores state changes.

    Ignores state changes. Useful for static views.

  2. object Url extends properties.HasModelPropertyCreator[Url] with Serializable

    Permalink

Ungrouped