class Attributes
Defined at line 1287 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
An attribute is an essential property to describe an element. Unlike states, attributes do not
change over the life of an element.
Example: A button with a label attribute 'ok' should never change to 'cancel', as this is not
the same element.
Public Methods
void Attributes ()
Defined at line 1289 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
void Attributes (const Attributes & other)
Defined at line 1290 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
bool has_range ()
Attributes & operator= (const Attributes & other)
Defined at line 1291 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
void Attributes (Attributes && other)
Defined at line 1292 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_accessibility_semantics::wire::Attributes> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_accessibility_semantics::wire::Attributes> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_accessibility_semantics::wire::Attributes>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & label ()
The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
bool has_label ()
Attributes & operator= (Attributes && other)
Defined at line 1293 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/wire_types.h
::fidl::StringView & secondary_label ()
The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible
for truncating the label.
bool has_secondary_label ()
::fidl::StringView & secondary_action_description ()
A description of what the secondary action on a node (equivalent to long press or right click) should do.
bool has_secondary_action_description ()
::fuchsia_accessibility_semantics::wire::RangeAttributes & range ()
The range attributes are filled if the element is a slider / a range
control.
::fuchsia_accessibility_semantics::wire::SetAttributes & set ()
Set attributes are filled if the element is part of some type of set.
For example, radio buttons that are related are part of the same set.
bool has_set ()
::fuchsia_accessibility_semantics::wire::SetAttributes & list_attributes ()
The list attributes should be filled if the node has the LIST role.
Note that only `size` and `set_element_ids` should be filled.
bool has_list_attributes ()
::fuchsia_accessibility_semantics::wire::SetAttributes & list_element_attributes ()
The list element attributes should be filled if the node has a
LIST_ELEMENT role and descends from a node with a LIST role.
Note that only `index` should be filled.
bool has_list_element_attributes ()
uint32_t & hierarchical_level ()
The hierarchical level of an element. For example, a header can be of
level 1 to 6 in html or markdown.
bool has_hierarchical_level ()
::fuchsia_accessibility_semantics::wire::TableAttributes & table_attributes ()
The table attributes are filled when the element is a table.
bool has_table_attributes ()
::fuchsia_accessibility_semantics::wire::LabelOrigin & label_origin ()
The origin of the label of this element.
bool has_label_origin ()
bool & is_keyboard_key ()
Whether the element is part of a virtual keyboard. For example, a key
on an onscreen keyboard.
bool has_is_keyboard_key ()
::fuchsia_accessibility_semantics::wire::TableRowAttributes & table_row_attributes ()
The table row attributes are filled when the element is a table row.
bool has_table_row_attributes ()
::fuchsia_accessibility_semantics::wire::TableCellAttributes & table_cell_attributes ()
The table cell attributes are filled when the element is a table cell.
bool has_table_cell_attributes ()
void ~Attributes ()
Defined at line 1295 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