Packages

object EventHandlerBuilderByState

Source
EventHandler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventHandlerBuilderByState
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def builder[State >: Null, Event](statePredicate: Predicate[State]): EventHandlerBuilderByState[State, State, Event]

    statePredicate

    The handlers defined by this builder are used when the statePredicate is true, useful for example when state type is an Optional

    returns

    A new, mutable, EventHandlerBuilderByState

  2. def builder[S <: State, State >: Null, Event](stateClass: Class[S]): EventHandlerBuilderByState[S, State, Event]

    stateClass

    The handlers defined by this builder are used when the state is an instance of the stateClass

    returns

    A new, mutable, EventHandlerBuilderByState