template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2134 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h

Public Methods

::fuchsia_accessibility_semantics::wire::States Build ()

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

bool has_checked ()
void clear_checked ()

Clears the checked field.

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

O(number_of_fields) complexity.

bool & checked ()

DEPRECATED

BuilderImpl & checked (bool elem)

DEPRECATED

bool has_checked_state ()
void clear_checked_state ()

Clears the checked_state field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::CheckedState & checked_state ()

State of a checkbox.

This field is mutually exclusive with ToggledState.

BuilderImpl & checked_state (::fuchsia_accessibility_semantics::wire::CheckedState elem)

State of a checkbox.

This field is mutually exclusive with ToggledState.

bool has_selected ()
void clear_selected ()

Clears the selected field.

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

O(number_of_fields) complexity.

bool & selected ()

Whether the element is currently selected.

BuilderImpl & selected (bool elem)

Whether the element is currently selected.

bool has_hidden ()
void clear_hidden ()

Clears the hidden field.

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

O(number_of_fields) complexity.

bool & hidden ()

Whether the element is currently hidden or marked invisible by the framework.

BuilderImpl & hidden (bool elem)

Whether the element is currently hidden or marked invisible by the framework.

bool has_value ()
void clear_value ()

Clears the value field.

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

O(number_of_fields) complexity.

::fidl::StringView & value ()

The user-entered value of the element, if applicable. If longer than MAX_VALUE_SIZE the

client is responsible for truncating.

BuilderImpl & value (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The user-entered value of the element, if applicable. If longer than MAX_VALUE_SIZE the

client is responsible for truncating.

bool has_range_value ()
void clear_range_value ()

Clears the range_value field.

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

O(number_of_fields) complexity.

float & range_value ()

If the element is a slider or a range control, this field contains the

current value. Note that this is not the same as the value field above,

as this is generated by the client and just adjusted by the user.

BuilderImpl & range_value (float elem)

If the element is a slider or a range control, this field contains the

current value. Note that this is not the same as the value field above,

as this is generated by the client and just adjusted by the user.

bool has_viewport_offset ()
void clear_viewport_offset ()

Clears the viewport_offset field.

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

O(number_of_fields) complexity.

::fuchsia_ui_gfx::wire::Vec2 & viewport_offset ()

If the element is a scrollable viewport, this field contains the x and

y offsets within this node's coordinate space to apply to the children.

This offsetting is used to position the children within the viewport to

reflect the current scrolling of the element. There are no constraints

on these values other than they must be finite.

BuilderImpl & viewport_offset (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ui_gfx::wire::Vec2>> elem)

If the element is a scrollable viewport, this field contains the x and

y offsets within this node's coordinate space to apply to the children.

This offsetting is used to position the children within the viewport to

reflect the current scrolling of the element. There are no constraints

on these values other than they must be finite.

bool has_toggled_state ()
void clear_toggled_state ()

Clears the toggled_state field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::ToggledState & toggled_state ()

State of a toggle switch.

This field must only be set if the element is a toggle switch element

and is mutually exclusive with CheckedState.

BuilderImpl & toggled_state (::fuchsia_accessibility_semantics::wire::ToggledState elem)

State of a toggle switch.

This field must only be set if the element is a toggle switch element

and is mutually exclusive with CheckedState.

bool has_focusable ()
void clear_focusable ()

Clears the focusable field.

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

O(number_of_fields) complexity.

bool & focusable ()

Whether this element is focusable in the UI. Note that this is not the

a11y focus, but the input focus.

BuilderImpl & focusable (bool elem)

Whether this element is focusable in the UI. Note that this is not the

a11y focus, but the input focus.

bool has_has_input_focus ()
void clear_has_input_focus ()

Clears the has_input_focus field.

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

O(number_of_fields) complexity.

bool & has_input_focus ()

Whether this element has the input focus. This corresponds to the

system focus. Only one element can have this value set. The behavior is

undetermined if more than one node sets this value to 'true'.

BuilderImpl & has_input_focus (bool elem)

Whether this element has the input focus. This corresponds to the

system focus. Only one element can have this value set. The behavior is

undetermined if more than one node sets this value to 'true'.

bool has_enabled_state ()
void clear_enabled_state ()

Clears the enabled_state field.

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

O(number_of_fields) complexity.

::fuchsia_accessibility_semantics::wire::EnabledState & enabled_state ()

State of an element with enabled/disabled state.

BuilderImpl & enabled_state (::fuchsia_accessibility_semantics::wire::EnabledState elem)

State of an element with enabled/disabled state.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_accessibility_semantics::wire::States, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::States>> && frame)

Records