template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.ui.focus/fuchsia.ui.focus/cpp/fidl/fuchsia.ui.focus/cpp/wire_types.h

Public Methods

::fuchsia_ui_focus::wire::FocusChain Build ()

Build and return the table. The builder should not be used after this.

bool has_focus_chain ()
void clear_focus_chain ()

Clears the focus_chain field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_ui_views::wire::ViewRef> & focus_chain ()

The `focus_chain` is reported in order of dominance in the View

hierarchy; each adjacent pair of elements represents a

parent-child relationship.

The `focus_chain` MAY be unset when `FocusChain` message is received, if

the message is sent very early in the scene setup, before the first

view is available.

When `focus_chain` is set, however, the root View is always present

and occupies slot 0 in the `focus_chain`. The newly-focused View

receives a `fuchsia.ui.input.FocusEvent` and occupies the final slot

in the vector.

If a View gets destroyed, a `FocusChain` holder that listens will

receive a `ZX_EVENTPAIR_PEER_CLOSED` signal on the corresponding

`ViewRef`.

## Invalidation.

A FocusChain is invalid if any one if its ViewRefs is

invalid.

BuilderImpl & focus_chain (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_ui_views::wire::ViewRef>>> elem)

The `focus_chain` is reported in order of dominance in the View

hierarchy; each adjacent pair of elements represents a

parent-child relationship.

The `focus_chain` MAY be unset when `FocusChain` message is received, if

the message is sent very early in the scene setup, before the first

view is available.

When `focus_chain` is set, however, the root View is always present

and occupies slot 0 in the `focus_chain`. The newly-focused View

receives a `fuchsia.ui.input.FocusEvent` and occupies the final slot

in the vector.

If a View gets destroyed, a `FocusChain` holder that listens will

receive a `ZX_EVENTPAIR_PEER_CLOSED` signal on the corresponding

`ViewRef`.

## Invalidation.

A FocusChain is invalid if any one if its ViewRefs is

invalid.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ui_focus::wire::FocusChain, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_focus::wire::FocusChain>> && frame)

Records