Table of Contents

Interface IViewAdapter

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

Applies runtime output, native focus, and user-input permissions to one concrete view.

public interface IViewAdapter

Remarks

Identity identifies the native view, even when multiple adapters wrap it. OrderingDomain identifies views whose numeric orders can be compared. Applying permissions must not replace the game's styling or animation state.

Properties

Identity

object Identity { get; }

Property Value

object

IsAlive

bool IsAlive { get; }

Property Value

bool

OrderingDomain

object OrderingDomain { get; }

Property Value

object

Presentation

ViewPresentation Presentation { get; }

Property Value

ViewPresentation

Methods

Apply(ViewPresentation)

Applies a synchronous presentation change without changing semantic control availability.

void Apply(ViewPresentation presentation)

Parameters

presentation ViewPresentation

Remarks

For IViewPresentationBatchAdapter, route permission changes through its PresentationBatch; synchronous Apply is reserved for initial closed state and order-only changes.

Validate(ViewPresentation)

Checks native presentation constraints without changing the view.

void Validate(ViewPresentation presentation)

Parameters

presentation ViewPresentation

Events

Lost

event Action<string>? Lost

Event Type

Action<string>