Module interface

Source
Expand description

Interface layer.

The Interface is the primary structure representing the user interface and contains all the data for the interface including the Presentation instance.

The internal representation of the interface is a Tree of Element nodes. An Element is a combination of a Model component, a View component, and a Controller component. The kinds of components in Elements and their relations with parent/child nodes are contextualized in various Widget definitions.

Action events define the internal language of the Interface layer and result from user Input events, or directly submitted from application code. Each Action is directed at a target Element node. Action events include creating/destroying/modifying Element nodes and their components, changing focus, or submitting callbacks.

Re-exports§

pub use self::controller::Controller;
pub use self::model::Model;
pub use self::view::View;

Modules§

controller
Interaction components
model
Domain data bindings
view
Display and input data

Structs§

Element
An interface node consisting of one each of Model, View, and Controller components.
Interface
Parameterized interface represented by a tree of Elements
POINTER
Pointer position

Enums§

Action
An interface-level event
CreateOrder
Either append or prepend newly created element