org.terminal21.client
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
A session connected to the terminal21 server.
A session connected to the terminal21 server.
Value parameters
- encoding
-
json encoder for UiElements
- onCloseHandler
-
gets notified when the user closes the session
- serverUrl
-
the url of the server
- session
-
the session
- sessionsService
-
the service to talk to the server
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Controller manages the changes in the model by receiving events. Also the rendering of the view (which is UiElements).
Controller manages the changes in the model by receiving events. Also the rendering of the view (which is UiElements).
Type parameters
- M
-
the type of the model
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Controller.type
Wraps an event and has useful methods to process it.
Wraps an event and has useful methods to process it.
Value parameters
- event
-
CommandEvent (like clicks, changed values, ClientEvent etc)
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The ModelViewFunction should return this, which contains the changes to the model, the changed view and if the event iteration should terminate.
The ModelViewFunction should return this, which contains the changes to the model, the changed view and if the event iteration should terminate.
Type parameters
- M
-
the type of the model
Value parameters
- model
-
the value of the model after processing the event
- terminate
-
if true, the event iteration will terminate
- view
-
the value of the view after processing the event
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Controller[Unit]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Types
The initial function passed on to a controller in order to create the MVC iterator.
The initial function passed on to a controller in order to create the MVC iterator.
Type parameters
- M
-
the type of the model