abstract

InteractiveCustomUIPage

Base class for custom UI pages. Extend with data type parameter. Override build() and handleDataEvent().

Methods

void build(Ref<EntityStore> ref, UICommandBuilder uiCommandBuilder, UIEventBuilder uiEventBuilder, Store<EntityStore> store)

Override to build the UI. Use uiCommandBuilder and uiEventBuilder.

void handleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, T data)

Override to handle UI events. Data contains event info from codec.

void sendUpdate()

Send UI update to client. Call after modifying UI state.