open class Visual : Interactable
This is a superclass for visual representations of a Ripe instance.
Visual(owner: Ripe, options: Map<String, Any>?)
This is a superclass for visual representations of a Ripe instance. |
open val options: Map<String, Any>?
A map with options to configure the instance. |
|
open val owner: Ripe
The Ripe instance to be represented. |
open fun deinit(): Unit
This method is called by the owner when it is deinitializing so that any necessary cleanup operations can be executed. |
|
open fun update(state: Map<String, Any>): Unit
This method is called by the owner whenever its state changes so that the instance can update itself for the new state. |
class Image : Visual
Reactively updates the image of an ImageView whenever the state of its owner changes. An Image can be configured with the following options: |