SemanticsAction class
The possible actions that can be conveyed from the operating system accessibility APIs to a semantics node.
\warning When changes are made to this class, the equivalent APIs in
lib/ui/semantics/semantics_node.h
and in each of the embedders
must be updated.
See also:
- file://./../../lib/ui/semantics/semantics_node.h
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
values
→ List<
SemanticsAction> -
read-only
Static Methods
-
fromIndex(
int index) → SemanticsAction?
Constants
- copy → const SemanticsAction
-
Copy the current selection to the clipboard.
SemanticsAction._(_kCopyIndex, 'copy')
- customAction → const SemanticsAction
-
Indicates that the user has invoked a custom accessibility action.
SemanticsAction._(_kCustomActionIndex, 'customAction')
- cut → const SemanticsAction
-
Cut the current selection and place it in the clipboard.
SemanticsAction._(_kCutIndex, 'cut')
- decrease → const SemanticsAction
-
A request to decrease the value represented by the semantics node.
SemanticsAction._(_kDecreaseIndex, 'decrease')
- didGainAccessibilityFocus → const SemanticsAction
-
Indicates that the node has gained accessibility focus.
SemanticsAction._(_kDidGainAccessibilityFocusIndex, 'didGainAccessibilityFocus')
- didLoseAccessibilityFocus → const SemanticsAction
-
Indicates that the node has lost accessibility focus.
SemanticsAction._(_kDidLoseAccessibilityFocusIndex, 'didLoseAccessibilityFocus')
- dismiss → const SemanticsAction
-
A request that the node should be dismissed.
SemanticsAction._(_kDismissIndex, 'dismiss')
- increase → const SemanticsAction
-
A request to increase the value represented by the semantics node.
SemanticsAction._(_kIncreaseIndex, 'increase')
- longPress → const SemanticsAction
-
The equivalent of a user pressing and holding the screen with the finger
for a few seconds without moving it.
SemanticsAction._(_kLongPressIndex, 'longPress')
- moveCursorBackwardByCharacter → const SemanticsAction
-
Move the cursor backward by one character.
SemanticsAction._(_kMoveCursorBackwardByCharacterIndex, 'moveCursorBackwardByCharacter')
- moveCursorBackwardByWord → const SemanticsAction
-
Move the cursor backward by one word.
SemanticsAction._(_kMoveCursorBackwardByWordIndex, 'moveCursorBackwardByWord')
- moveCursorForwardByCharacter → const SemanticsAction
-
Move the cursor forward by one character.
SemanticsAction._(_kMoveCursorForwardByCharacterIndex, 'moveCursorForwardByCharacter')
- moveCursorForwardByWord → const SemanticsAction
-
Move the cursor forward by one word.
SemanticsAction._(_kMoveCursorForwardByWordIndex, 'moveCursorForwardByWord')
- paste → const SemanticsAction
-
Paste the current content of the clipboard.
SemanticsAction._(_kPasteIndex, 'paste')
- scrollDown → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from top
to bottom.
SemanticsAction._(_kScrollDownIndex, 'scrollDown')
- scrollLeft → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from right
to left.
SemanticsAction._(_kScrollLeftIndex, 'scrollLeft')
- scrollRight → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from left
to right.
SemanticsAction._(_kScrollRightIndex, 'scrollRight')
- scrollUp → const SemanticsAction
-
The equivalent of a user moving their finger across the screen from
bottom to top.
SemanticsAction._(_kScrollUpIndex, 'scrollUp')
- setSelection → const SemanticsAction
-
Set the text selection to the given range.
SemanticsAction._(_kSetSelectionIndex, 'setSelection')
- setText → const SemanticsAction
-
Replaces the current text in the text field.
SemanticsAction._(_kSetTextIndex, 'setText')
- showOnScreen → const SemanticsAction
-
A request to fully show the semantics node on screen.
SemanticsAction._(_kShowOnScreenIndex, 'showOnScreen')
- tap → const SemanticsAction
-
The equivalent of a user briefly tapping the screen with the finger
without moving it.
SemanticsAction._(_kTapIndex, 'tap')