class Attributes

Defined at line 483 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_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 489 of file fidling/gen/sdk/fidl/fuchsia.accessibility.semantics/fuchsia.accessibility.semantics/cpp/fidl/fuchsia.accessibility.semantics/cpp/natural_types.h

void Attributes (Attributes && )

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

void Attributes (Storage_ storage)
void Attributes (const Attributes & other)
Attributes & operator= (const Attributes & other)
bool operator== (const Attributes & other)
bool operator!= (const Attributes & other)
bool IsEmpty ()
const std::optional< ::std::string> & label ()

The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

::std::optional< ::std::string> & label ()

The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

Attributes & label (std::optional< ::std::string> value)

The primary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

const std::optional< ::std::string> & secondary_label ()

The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

::std::optional< ::std::string> & secondary_label ()

The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

Attributes & secondary_label (std::optional< ::std::string> value)

The secondary label for an element. If longer than MAX_LABEL_SIZE the client is responsible

for truncating the label.

const std::optional< ::std::string> & secondary_action_description ()

A description of what the secondary action on a node (equivalent to long press or right click) should do.

::std::optional< ::std::string> & secondary_action_description ()

A description of what the secondary action on a node (equivalent to long press or right click) should do.

Attributes & secondary_action_description (std::optional< ::std::string> value)

A description of what the secondary action on a node (equivalent to long press or right click) should do.

const std::optional< ::fuchsia_accessibility_semantics::RangeAttributes> & range ()

The range attributes are filled if the element is a slider / a range

control.

::std::optional< ::fuchsia_accessibility_semantics::RangeAttributes> & range ()

The range attributes are filled if the element is a slider / a range

control.

Attributes & range (std::optional< ::fuchsia_accessibility_semantics::RangeAttributes> value)

The range attributes are filled if the element is a slider / a range

control.

const std::optional< ::fuchsia_accessibility_semantics::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.

::std::optional< ::fuchsia_accessibility_semantics::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.

Attributes & set (std::optional< ::fuchsia_accessibility_semantics::SetAttributes> value)

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.

const std::optional< ::fuchsia_accessibility_semantics::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.

::std::optional< ::fuchsia_accessibility_semantics::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.

Attributes & list_attributes (std::optional< ::fuchsia_accessibility_semantics::SetAttributes> value)

The list attributes should be filled if the node has the LIST role.

Note that only `size` and `set_element_ids` should be filled.

const std::optional< ::fuchsia_accessibility_semantics::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.

::std::optional< ::fuchsia_accessibility_semantics::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.

Attributes & list_element_attributes (std::optional< ::fuchsia_accessibility_semantics::SetAttributes> value)

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.

const std::optional<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.

::std::optional<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.

Attributes & hierarchical_level (std::optional<uint32_t> value)

The hierarchical level of an element. For example, a header can be of

level 1 to 6 in html or markdown.

const std::optional< ::fuchsia_accessibility_semantics::TableAttributes> & table_attributes ()

The table attributes are filled when the element is a table.

::std::optional< ::fuchsia_accessibility_semantics::TableAttributes> & table_attributes ()

The table attributes are filled when the element is a table.

Attributes & table_attributes (std::optional< ::fuchsia_accessibility_semantics::TableAttributes> value)

The table attributes are filled when the element is a table.

const std::optional< ::fuchsia_accessibility_semantics::LabelOrigin> & label_origin ()

The origin of the label of this element.

::std::optional< ::fuchsia_accessibility_semantics::LabelOrigin> & label_origin ()

The origin of the label of this element.

Attributes & label_origin (std::optional< ::fuchsia_accessibility_semantics::LabelOrigin> value)

The origin of the label of this element.

const std::optional<bool> & is_keyboard_key ()

Whether the element is part of a virtual keyboard. For example, a key

on an onscreen keyboard.

::std::optional<bool> & is_keyboard_key ()

Whether the element is part of a virtual keyboard. For example, a key

on an onscreen keyboard.

Attributes & is_keyboard_key (std::optional<bool> value)

Whether the element is part of a virtual keyboard. For example, a key

on an onscreen keyboard.

const std::optional< ::fuchsia_accessibility_semantics::TableRowAttributes> & table_row_attributes ()

The table row attributes are filled when the element is a table row.

::std::optional< ::fuchsia_accessibility_semantics::TableRowAttributes> & table_row_attributes ()

The table row attributes are filled when the element is a table row.

Attributes & table_row_attributes (std::optional< ::fuchsia_accessibility_semantics::TableRowAttributes> value)

The table row attributes are filled when the element is a table row.

const std::optional< ::fuchsia_accessibility_semantics::TableCellAttributes> & table_cell_attributes ()

The table cell attributes are filled when the element is a table cell.

::std::optional< ::fuchsia_accessibility_semantics::TableCellAttributes> & table_cell_attributes ()

The table cell attributes are filled when the element is a table cell.

Attributes & table_cell_attributes (std::optional< ::fuchsia_accessibility_semantics::TableCellAttributes> value)

The table cell attributes are filled when the element is a table cell.

void Attributes (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Attributes & operator= (Attributes && )

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

Friends

class MemberVisitor
class NaturalTableCodingTraits