class AccessibilityNode
source · line 9public class AccessibilityNode internal constructor(
internal val provider: AccessibilityProvider,
public val id: SemanticNodeId,
public val role: SemanticRole,
internal var parentNode: AccessibilityNode?
) : Closeable
- Supertype
Closeable - Inherited
fun dispose(): Unit· Closeable
A semantic resource whose role and identity last until it is explicitly retired.
property collection
source · line 126public var collection: SemanticCollectionSnapshot?
get: public set: public
Publishes a data source independently of the currently mounted row controls.
setter set
source · line 131set(value: Option<SemanticCollectionSnapshot>)
parameter value
source · line 131value
getter get
source · line 127get(): Option<SemanticCollectionSnapshot>
property activationPoint
source · line 278public var activationPoint: LogicalPosition?
get: public set: public
A point verified against the renderer's current input routing, not a bounds estimate.
getter get
source · line 279get(): Option<LogicalPosition>
setter set
source · line 283set(value: Option<LogicalPosition>)
parameter value
source · line 283value
function update
source · line 372public fun update(properties: SemanticProperties, actions: SemanticActions = SemanticActions(), relations: SemanticRelations = SemanticRelations()): Unit
Replaces current facts and callbacks without changing the native role or identity.
parameter actions
source · line 374actions: SemanticActions = SemanticActions()
parameter properties
source · line 373properties: SemanticProperties
parameter relations
source · line 375relations: SemanticRelations = SemanticRelations()
function close
source · line 635public override fun close(): Unit
- Overrides
close
Retires this node and its descendants. Retired native references cannot be reused.
property geometry
source · line 248public var geometry: SemanticGeometry?
get: public set: public
Stages matching, already accepted layout geometry; None invalidates an old layout.
getter get
source · line 249get(): Option<SemanticGeometry>
setter set
source · line 253set(value: Option<SemanticGeometry>)
parameter value
source · line 253value
property contentRevision
source · line 217public val contentRevision: ULong
get: public read-only
Changes when content or a label dependency invalidates captured layout geometry.
getter get
source · line 218get(): ULong
function announce
source · line 211public fun announce(text: String, priority: SemanticLive = SemanticLive.Polite): Unit
Coalesces explicit announcements until the next ordinary publication.
parameter priority
source · line 211priority: SemanticLive = SemanticLive.Polite
parameter text
source · line 211text: String
function reparent
source · line 546public fun reparent(parent: AccessibilityNode?, order: Long = 0L): Unit
Changes reading order; geometry and creation identity do not determine parenthood.
parameter parent
source · line 546parent: AccessibilityNode?
parameter order
source · line 546order: Long = 0L
property collectionItem
source · line 179public var collectionItem: SemanticItemKey?
get: public set: public
Associates a mounted row group with its logical item, without owning that item.
getter get
source · line 180get(): Option<SemanticItemKey>
setter set
source · line 184set(value: Option<SemanticItemKey>)
parameter value
source · line 184value
function setGeometry
source · line 324@Unsafe
public fun setGeometry(geometry: SemanticGeometry, hitTest: NativeSemanticHitTest, order: Long = 0L): Unit
Retains matching accepted geometry and its native hit test in actual scene order.
parameter hitTest
source · line 327hitTest: NativeSemanticHitTest
parameter order
source · line 328order: Long = 0L
parameter geometry
source · line 326geometry: SemanticGeometry
property textDocument
source · line 59public var textDocument: SemanticTextDocument?
get: public set: public
setter set
source · line 64set(value: Option<SemanticTextDocument>)
parameter value
source · line 64value
getter get
source · line 60get(): Option<SemanticTextDocument>
function containsPoint
source · line 267public fun containsPoint(point: LogicalPosition): Boolean
Reads the matching native shape only; it does not run input handlers.
parameter point
source · line 267point: LogicalPosition
property id
source · line 11public val id: SemanticNodeId
get: public read-only
property isClosed
source · line 204public val isClosed: Boolean
get: public read-only
getter get
source · line 205get(): Boolean
property collectionActions
source · line 105public var collectionActions: SemanticCollectionActions
get: public set: public
Operations on logical items; ordinary queries never invoke these callbacks.
setter set
source · line 110set(value: SemanticCollectionActions)
parameter value
source · line 110value
getter get
source · line 106get(): SemanticCollectionActions
function setTextGeometry
source · line 341@Unsafe
public fun setTextGeometry(geometry: NativeSemanticTextGeometry?): Unit
Retains native text queries matching this node's known text and accepted geometry.
parameter geometry
source · line 342geometry: NativeSemanticTextGeometry?
property contentLabels
source · line 231public var contentLabels: Array<SemanticNodeId>
get: public set: public
Fallback content names; callers separately decide which labels should be ignored.
getter get
source · line 232get(): Array<SemanticNodeId>
setter set
source · line 236set(value: Array<SemanticNodeId>)
parameter value
source · line 236value
property role
source · line 12public val role: SemanticRole
get: public read-only
property textChildren
source · line 22public var textChildren: Array<SemanticTextChild>
get: public set: public
getter get
source · line 23get(): Array<SemanticTextChild>
setter set
source · line 27set(value: Array<SemanticTextChild>)
parameter value
source · line 27value
property relations
source · line 224public val relations: SemanticRelations
get: public read-only
Current references, with retired targets removed by the provider.
getter get
source · line 225get(): SemanticRelations