Component

io.github.srs.view.ViewModule.Component
trait Component[S <: State]

Component trait that defines the interface for creating a view.

Type parameters

S

the type of the simulation state, which must extend ModelModule.State.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CLIComponent[S]
object CLILauncher
trait GUIComponent[S]
object GUILauncher
trait Interface[S]
trait BaseLauncher
Show all
Self type

Members list

Type members

Classlikes

object View

Factory method to create a new instance of the view.

Factory method to create a new instance of the view.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
View.type

Value members

Abstract methods

protected def makeView(): View[S]

Creates a new instance of the view.

Creates a new instance of the view.

Attributes

Returns

the newly created view instance.