Skip to content

AccessibleNode ​

class AccessibleNode extends EventTarget

Annotations: @Native.new("AccessibleNode")

Inheritance

Object → EventTarget → AccessibleNode

Constructors ​

AccessibleNode() factory ​

factory AccessibleNode()
Implementation
dart
factory AccessibleNode() {
  return AccessibleNode._create_1();
}

Properties ​

activeDescendant read / write ​

AccessibleNode? get activeDescendant
Implementation
dart
AccessibleNode? get activeDescendant native;

set activeDescendant(AccessibleNode? value) native;

atomic read / write ​

bool? get atomic
Implementation
dart
bool? get atomic native;

set atomic(bool? value) native;

autocomplete read / write ​

String? get autocomplete
Implementation
dart
String? get autocomplete native;

set autocomplete(String? value) native;

busy read / write ​

bool? get busy
Implementation
dart
bool? get busy native;

set busy(bool? value) native;

checked read / write ​

String? get checked
Implementation
dart
String? get checked native;

set checked(String? value) native;

colCount read / write ​

int? get colCount
Implementation
dart
int? get colCount native;

set colCount(int? value) native;

colIndex read / write ​

int? get colIndex
Implementation
dart
int? get colIndex native;

set colIndex(int? value) native;

colSpan read / write ​

int? get colSpan
Implementation
dart
int? get colSpan native;

set colSpan(int? value) native;

controls read / write ​

AccessibleNodeList? get controls
Implementation
dart
AccessibleNodeList? get controls native;

set controls(AccessibleNodeList? value) native;

current read / write ​

String? get current
Implementation
dart
String? get current native;

set current(String? value) native;

describedBy read / write ​

AccessibleNodeList? get describedBy
Implementation
dart
AccessibleNodeList? get describedBy native;

set describedBy(AccessibleNodeList? value) native;

details read / write ​

AccessibleNode? get details
Implementation
dart
AccessibleNode? get details native;

set details(AccessibleNode? value) native;

disabled read / write ​

bool? get disabled
Implementation
dart
bool? get disabled native;

set disabled(bool? value) native;

errorMessage read / write ​

AccessibleNode? get errorMessage
Implementation
dart
AccessibleNode? get errorMessage native;

set errorMessage(AccessibleNode? value) native;

expanded read / write ​

bool? get expanded
Implementation
dart
bool? get expanded native;

set expanded(bool? value) native;

flowTo read / write ​

AccessibleNodeList? get flowTo
Implementation
dart
AccessibleNodeList? get flowTo native;

set flowTo(AccessibleNodeList? value) native;

hashCode no setter inherited ​

int get hashCode

Inherited from Interceptor.

Implementation
dart
int get hashCode => Primitives.objectHashCode(this);

hasPopUp read / write ​

String? get hasPopUp
Implementation
dart
String? get hasPopUp native;

set hasPopUp(String? value) native;

hidden read / write ​

bool? get hidden
Implementation
dart
bool? get hidden native;

set hidden(bool? value) native;

invalid read / write ​

String? get invalid
Implementation
dart
String? get invalid native;

set invalid(String? value) native;

keyShortcuts read / write ​

String? get keyShortcuts
Implementation
dart
String? get keyShortcuts native;

set keyShortcuts(String? value) native;

label read / write ​

String? get label
Implementation
dart
String? get label native;

set label(String? value) native;

labeledBy read / write ​

AccessibleNodeList? get labeledBy
Implementation
dart
AccessibleNodeList? get labeledBy native;

set labeledBy(AccessibleNodeList? value) native;

level read / write ​

int? get level
Implementation
dart
int? get level native;

set level(int? value) native;

live read / write ​

String? get live
Implementation
dart
String? get live native;

set live(String? value) native;

modal read / write ​

bool? get modal
Implementation
dart
bool? get modal native;

set modal(bool? value) native;

multiline read / write ​

bool? get multiline
Implementation
dart
bool? get multiline native;

set multiline(bool? value) native;

multiselectable read / write ​

bool? get multiselectable
Implementation
dart
bool? get multiselectable native;

set multiselectable(bool? value) native;

on no setter inherited ​

Events get on

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

Inherited from EventTarget.

Implementation
dart
Events get on => new Events(this);

onAccessibleClick no setter ​

Stream<Event> get onAccessibleClick
Implementation
dart
Stream<Event> get onAccessibleClick => accessibleClickEvent.forTarget(this);

onAccessibleContextMenu no setter ​

Stream<Event> get onAccessibleContextMenu
Implementation
dart
Stream<Event> get onAccessibleContextMenu =>
    accessibleContextMenuEvent.forTarget(this);

onAccessibleDecrement no setter ​

Stream<Event> get onAccessibleDecrement
Implementation
dart
Stream<Event> get onAccessibleDecrement =>
    accessibleDecrementEvent.forTarget(this);

onAccessibleFocus no setter ​

Stream<Event> get onAccessibleFocus
Implementation
dart
Stream<Event> get onAccessibleFocus => accessibleFocusEvent.forTarget(this);

onAccessibleIncrement no setter ​

Stream<Event> get onAccessibleIncrement
Implementation
dart
Stream<Event> get onAccessibleIncrement =>
    accessibleIncrementEvent.forTarget(this);

onAccessibleScrollIntoView no setter ​

Stream<Event> get onAccessibleScrollIntoView
Implementation
dart
Stream<Event> get onAccessibleScrollIntoView =>
    accessibleScrollIntoViewEvent.forTarget(this);

orientation read / write ​

String? get orientation
Implementation
dart
String? get orientation native;

set orientation(String? value) native;

owns read / write ​

Implementation
dart
AccessibleNodeList? get owns native;

set owns(AccessibleNodeList? value) native;

placeholder read / write ​

String? get placeholder
Implementation
dart
String? get placeholder native;

set placeholder(String? value) native;

posInSet read / write ​

int? get posInSet
Implementation
dart
int? get posInSet native;

set posInSet(int? value) native;

pressed read / write ​

String? get pressed
Implementation
dart
String? get pressed native;

set pressed(String? value) native;

readOnly read / write ​

bool? get readOnly
Implementation
dart
bool? get readOnly native;

set readOnly(bool? value) native;

relevant read / write ​

String? get relevant
Implementation
dart
String? get relevant native;

set relevant(String? value) native;

required read / write ​

bool? get required
Implementation
dart
bool? get required native;

set required(bool? value) native;

role read / write ​

String? get role
Implementation
dart
String? get role native;

set role(String? value) native;

roleDescription read / write ​

String? get roleDescription
Implementation
dart
String? get roleDescription native;

set roleDescription(String? value) native;

rowCount read / write ​

int? get rowCount
Implementation
dart
int? get rowCount native;

set rowCount(int? value) native;

rowIndex read / write ​

int? get rowIndex
Implementation
dart
int? get rowIndex native;

set rowIndex(int? value) native;

rowSpan read / write ​

int? get rowSpan
Implementation
dart
int? get rowSpan native;

set rowSpan(int? value) native;

runtimeType no setter inherited ​

Type get runtimeType

Inherited from Interceptor.

Implementation
dart
Type get runtimeType =>
    getRuntimeTypeOfInterceptorNotArray(getInterceptor(this), this);

selected read / write ​

bool? get selected
Implementation
dart
bool? get selected native;

set selected(bool? value) native;

setSize read / write ​

int? get setSize
Implementation
dart
int? get setSize native;

set setSize(int? value) native;

sort read / write ​

String? get sort
Implementation
dart
String? get sort native;

set sort(String? value) native;

valueMax read / write ​

num? get valueMax
Implementation
dart
num? get valueMax native;

set valueMax(num? value) native;

valueMin read / write ​

num? get valueMin
Implementation
dart
num? get valueMin native;

set valueMin(num? value) native;

valueNow read / write ​

num? get valueNow
Implementation
dart
num? get valueNow native;

set valueNow(num? value) native;

valueText read / write ​

String? get valueText
Implementation
dart
String? get valueText native;

set valueText(String? value) native;

Methods ​

addEventListener() inherited ​

void addEventListener(
  String type,
  (dynamic Function(Event event))? listener, [
  bool? useCapture,
])

Inherited from EventTarget.

Implementation
dart
void addEventListener(
  String type,
  EventListener? listener, [
  bool? useCapture,
]) {
  &#47;&#47; TODO(leafp): This check is avoid a bug in our dispatch code when
  &#47;&#47; listener is null.  The browser treats this call as a no-op in this
  &#47;&#47; case, so it's fine to short-circuit it, but we should not have to.
  if (listener != null) {
    _addEventListener(type, listener, useCapture);
  }
}

appendChild() ​

void appendChild(AccessibleNode child)
Implementation
dart
void appendChild(AccessibleNode child) native;

dispatchEvent() inherited ​

bool dispatchEvent(Event event)

Inherited from EventTarget.

Implementation
dart
bool dispatchEvent(Event event) native;

noSuchMethod() inherited ​

dynamic noSuchMethod(Invocation invocation)

Invoked when a nonexistent method or property is accessed.

A dynamic member invocation can attempt to call a member which doesn't exist on the receiving object. Example:

dart
dynamic object = 1;
object.add(42); // Statically allowed, run-time error

This invalid code will invoke the noSuchMethod method of the integer 1 with an Invocation representing the .add(42) call and arguments (which then throws).

Classes can override noSuchMethod to provide custom behavior for such invalid dynamic invocations.

A class with a non-default noSuchMethod invocation can also omit implementations for members of its interface. Example:

dart
class MockList<T> implements List<T> {
  noSuchMethod(Invocation invocation) {
    log(invocation);
    super.noSuchMethod(invocation); // Will throw.
  }
}
void main() {
  MockList().add(42);
}

This code has no compile-time warnings or errors even though the MockList class has no concrete implementation of any of the List interface methods. Calls to List methods are forwarded to noSuchMethod, so this code will log an invocation similar to Invocation.method(#add, [42]) and then throw.

If a value is returned from noSuchMethod, it becomes the result of the original invocation. If the value is not of a type that can be returned by the original invocation, a type error occurs at the invocation.

The default behavior is to throw a NoSuchMethodError.

Inherited from Interceptor.

Implementation
dart
dynamic noSuchMethod(Invocation invocation) {
  throw NoSuchMethodError.withInvocation(this, invocation);
}

removeEventListener() inherited ​

void removeEventListener(
  String type,
  (dynamic Function(Event event))? listener, [
  bool? useCapture,
])

Inherited from EventTarget.

Implementation
dart
void removeEventListener(
  String type,
  EventListener? listener, [
  bool? useCapture,
]) {
  &#47;&#47; TODO(leafp): This check is avoid a bug in our dispatch code when
  &#47;&#47; listener is null.  The browser treats this call as a no-op in this
  &#47;&#47; case, so it's fine to short-circuit it, but we should not have to.
  if (listener != null) {
    _removeEventListener(type, listener, useCapture);
  }
}

toString() inherited ​

String toString()

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Inherited from Interceptor.

Implementation
dart
String toString() => Primitives.objectToHumanReadableString(this);

Operators ​

operator ==() inherited ​

bool operator ==(Object other)

The equality operator.

The default behavior for all Objects is to return true if and only if this object and other are the same object.

Override this method to specify a different equality relation on a class. The overriding method must still be an equivalence relation. That is, it must be:

  • Total: It must return a boolean for all arguments. It should never throw.

  • Reflexive: For all objects o, o == o must be true.

  • Symmetric: For all objects o1 and o2, o1 == o2 and o2 == o1 must either both be true, or both be false.

  • Transitive: For all objects o1, o2, and o3, if o1 == o2 and o2 == o3 are true, then o1 == o3 must be true.

The method should also be consistent over time, so whether two objects are equal should only change if at least one of the objects was modified.

If a subclass overrides the equality operator, it should override the hashCode method as well to maintain consistency.

Inherited from Interceptor.

Implementation
dart
bool operator ==(Object other) => identical(this, other);

Constants ​

accessibleClickEvent ​

const EventStreamProvider<Event> accessibleClickEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleClickEvent =
    const EventStreamProvider<Event>('accessibleclick');

accessibleContextMenuEvent ​

const EventStreamProvider<Event> accessibleContextMenuEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleContextMenuEvent =
    const EventStreamProvider<Event>('accessiblecontextmenu');

accessibleDecrementEvent ​

const EventStreamProvider<Event> accessibleDecrementEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleDecrementEvent =
    const EventStreamProvider<Event>('accessibledecrement');

accessibleFocusEvent ​

const EventStreamProvider<Event> accessibleFocusEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleFocusEvent =
    const EventStreamProvider<Event>('accessiblefocus');

accessibleIncrementEvent ​

const EventStreamProvider<Event> accessibleIncrementEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleIncrementEvent =
    const EventStreamProvider<Event>('accessibleincrement');

accessibleScrollIntoViewEvent ​

const EventStreamProvider<Event> accessibleScrollIntoViewEvent
Implementation
dart
static const EventStreamProvider<Event> accessibleScrollIntoViewEvent =
    const EventStreamProvider<Event>('accessiblescrollintoview');