AccessibleNode#
Annotations: @Native.new("AccessibleNode")
Inheritance
Object → EventTarget → AccessibleNode
Constructors#
AccessibleNode() factory#
Implementation
factory AccessibleNode() {
return AccessibleNode._create_1();
}
Properties#
activeDescendant read / write#
Implementation
AccessibleNode? get activeDescendant native;
set activeDescendant(AccessibleNode? value) native;
atomic read / write#
Implementation
bool? get atomic native;
set atomic(bool? value) native;
autocomplete read / write#
Implementation
String? get autocomplete native;
set autocomplete(String? value) native;
busy read / write#
Implementation
bool? get busy native;
set busy(bool? value) native;
checked read / write#
Implementation
String? get checked native;
set checked(String? value) native;
colCount read / write#
Implementation
int? get colCount native;
set colCount(int? value) native;
colIndex read / write#
Implementation
int? get colIndex native;
set colIndex(int? value) native;
colSpan read / write#
Implementation
int? get colSpan native;
set colSpan(int? value) native;
controls read / write#
Implementation
AccessibleNodeList? get controls native;
set controls(AccessibleNodeList? value) native;
current read / write#
Implementation
String? get current native;
set current(String? value) native;
describedBy read / write#
Implementation
AccessibleNodeList? get describedBy native;
set describedBy(AccessibleNodeList? value) native;
details read / write#
Implementation
AccessibleNode? get details native;
set details(AccessibleNode? value) native;
disabled read / write#
Implementation
bool? get disabled native;
set disabled(bool? value) native;
errorMessage read / write#
Implementation
AccessibleNode? get errorMessage native;
set errorMessage(AccessibleNode? value) native;
expanded read / write#
Implementation
bool? get expanded native;
set expanded(bool? value) native;
flowTo read / write#
Implementation
AccessibleNodeList? get flowTo native;
set flowTo(AccessibleNodeList? value) native;
hashCode no setter inherited#
Inherited from Interceptor.
Implementation
int get hashCode => Primitives.objectHashCode(this);
hasPopUp read / write#
Implementation
String? get hasPopUp native;
set hasPopUp(String? value) native;
hidden read / write#
Implementation
bool? get hidden native;
set hidden(bool? value) native;
invalid read / write#
Implementation
String? get invalid native;
set invalid(String? value) native;
keyShortcuts read / write#
Implementation
String? get keyShortcuts native;
set keyShortcuts(String? value) native;
label read / write#
Implementation
String? get label native;
set label(String? value) native;
labeledBy read / write#
Implementation
AccessibleNodeList? get labeledBy native;
set labeledBy(AccessibleNodeList? value) native;
level read / write#
Implementation
int? get level native;
set level(int? value) native;
live read / write#
Implementation
String? get live native;
set live(String? value) native;
modal read / write#
Implementation
bool? get modal native;
set modal(bool? value) native;
multiline read / write#
Implementation
bool? get multiline native;
set multiline(bool? value) native;
multiselectable read / write#
Implementation
bool? get multiselectable native;
set multiselectable(bool? value) native;
on no setter inherited#
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
Events get on => new Events(this);
onAccessibleClick no setter#
Implementation
Stream<Event> get onAccessibleClick => accessibleClickEvent.forTarget(this);
onAccessibleContextMenu no setter#
Implementation
Stream<Event> get onAccessibleContextMenu =>
accessibleContextMenuEvent.forTarget(this);
onAccessibleDecrement no setter#
Implementation
Stream<Event> get onAccessibleDecrement =>
accessibleDecrementEvent.forTarget(this);
onAccessibleFocus no setter#
Implementation
Stream<Event> get onAccessibleFocus => accessibleFocusEvent.forTarget(this);
onAccessibleIncrement no setter#
Implementation
Stream<Event> get onAccessibleIncrement =>
accessibleIncrementEvent.forTarget(this);
onAccessibleScrollIntoView no setter#
Implementation
Stream<Event> get onAccessibleScrollIntoView =>
accessibleScrollIntoViewEvent.forTarget(this);
orientation read / write#
Implementation
String? get orientation native;
set orientation(String? value) native;
owns read / write#
Implementation
AccessibleNodeList? get owns native;
set owns(AccessibleNodeList? value) native;
placeholder read / write#
Implementation
String? get placeholder native;
set placeholder(String? value) native;
posInSet read / write#
Implementation
int? get posInSet native;
set posInSet(int? value) native;
pressed read / write#
Implementation
String? get pressed native;
set pressed(String? value) native;
readOnly read / write#
Implementation
bool? get readOnly native;
set readOnly(bool? value) native;
relevant read / write#
Implementation
String? get relevant native;
set relevant(String? value) native;
required read / write#
Implementation
bool? get required native;
set required(bool? value) native;
role read / write#
Implementation
String? get role native;
set role(String? value) native;
roleDescription read / write#
Implementation
String? get roleDescription native;
set roleDescription(String? value) native;
rowCount read / write#
Implementation
int? get rowCount native;
set rowCount(int? value) native;
rowIndex read / write#
Implementation
int? get rowIndex native;
set rowIndex(int? value) native;
rowSpan read / write#
Implementation
int? get rowSpan native;
set rowSpan(int? value) native;
runtimeType no setter inherited#
Inherited from Interceptor.
Implementation
Type get runtimeType =>
getRuntimeTypeOfInterceptorNotArray(getInterceptor(this), this);
selected read / write#
Implementation
bool? get selected native;
set selected(bool? value) native;
setSize read / write#
Implementation
int? get setSize native;
set setSize(int? value) native;
sort read / write#
Implementation
String? get sort native;
set sort(String? value) native;
valueMax read / write#
Implementation
num? get valueMax native;
set valueMax(num? value) native;
valueMin read / write#
Implementation
num? get valueMin native;
set valueMin(num? value) native;
valueNow read / write#
Implementation
num? get valueNow native;
set valueNow(num? value) native;
valueText read / write#
Implementation
String? get valueText native;
set valueText(String? value) native;
Methods#
addEventListener() inherited#
Inherited from EventTarget.
Implementation
void addEventListener(
String type,
EventListener? listener, [
bool? useCapture,
]) {
// TODO(leafp): This check is avoid a bug in our dispatch code when
// listener is null. The browser treats this call as a no-op in this
// case, so it's fine to short-circuit it, but we should not have to.
if (listener != null) {
_addEventListener(type, listener, useCapture);
}
}
appendChild()#
Implementation
void appendChild(AccessibleNode child) native;
dispatchEvent() inherited#
Inherited from EventTarget.
Implementation
bool dispatchEvent(Event event) native;
noSuchMethod() inherited#
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:
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:
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
dynamic noSuchMethod(Invocation invocation) {
throw NoSuchMethodError.withInvocation(this, invocation);
}
removeEventListener() inherited#
Inherited from EventTarget.
Implementation
void removeEventListener(
String type,
EventListener? listener, [
bool? useCapture,
]) {
// TODO(leafp): This check is avoid a bug in our dispatch code when
// listener is null. The browser treats this call as a no-op in this
// case, so it's fine to short-circuit it, but we should not have to.
if (listener != null) {
_removeEventListener(type, listener, useCapture);
}
}
toString() inherited#
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
String toString() => Primitives.objectToHumanReadableString(this);
Operators#
operator ==() inherited#
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 == omust be true.-
Symmetric: For all objects
o1ando2,o1 == o2ando2 == o1must either both be true, or both be false. -
Transitive: For all objects
o1,o2, ando3, ifo1 == o2ando2 == o3are true, theno1 == o3must 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
bool operator ==(Object other) => identical(this, other);
Constants#
accessibleClickEvent#
Implementation
static const EventStreamProvider<Event> accessibleClickEvent =
const EventStreamProvider<Event>('accessibleclick');
accessibleContextMenuEvent#
Implementation
static const EventStreamProvider<Event> accessibleContextMenuEvent =
const EventStreamProvider<Event>('accessiblecontextmenu');
accessibleDecrementEvent#
Implementation
static const EventStreamProvider<Event> accessibleDecrementEvent =
const EventStreamProvider<Event>('accessibledecrement');
accessibleFocusEvent#
Implementation
static const EventStreamProvider<Event> accessibleFocusEvent =
const EventStreamProvider<Event>('accessiblefocus');
accessibleIncrementEvent#
Implementation
static const EventStreamProvider<Event> accessibleIncrementEvent =
const EventStreamProvider<Event>('accessibleincrement');
accessibleScrollIntoViewEvent#
Implementation
static const EventStreamProvider<Event> accessibleScrollIntoViewEvent =
const EventStreamProvider<Event>('accessiblescrollintoview');