class States
Defined at line 1986 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
A state is a dynamic property of an element that may change in response to
user action or automated processes. Thus, they are different from attributes
in an important point, which is frequency of change.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_accessibility_semantics::wire::States> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_accessibility_semantics::wire::States> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::States>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void States ()
Defined at line 1988 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
void States (const States & other)
Defined at line 1989 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
void States (States && other)
Defined at line 1991 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
bool & checked ()
DEPRECATED
bool has_checked ()
::fuchsia_accessibility_semantics::wire::CheckedState & checked_state ()
State of a checkbox.
This field is mutually exclusive with ToggledState.
bool has_checked_state ()
bool & selected ()
Whether the element is currently selected.
bool has_selected ()
bool & hidden ()
Whether the element is currently hidden or marked invisible by the framework.
bool has_hidden ()
States & operator= (const States & other)
Defined at line 1990 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
States & operator= (States && other)
Defined at line 1992 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
::fidl::StringView & value ()
The user-entered value of the element, if applicable. If longer than MAX_VALUE_SIZE the
client is responsible for truncating.
bool has_value ()
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.
bool has_range_value ()
::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.
bool has_viewport_offset ()
::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.
bool has_toggled_state ()
bool & focusable ()
Whether this element is focusable in the UI. Note that this is not the
a11y focus, but the input focus.
bool has_focusable ()
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'.
bool has_has_input_focus ()
::fuchsia_accessibility_semantics::wire::EnabledState & enabled_state ()
State of an element with enabled/disabled state.
bool has_enabled_state ()
void ~States ()
Defined at line 1994 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder