SemanticWindow

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Json(name = "bounds")
abstract var bounds: Bounds
Link copied to clipboard
@Json(name = "childCount")
abstract val childCount: Int
Link copied to clipboard
@Json(name = "displayId")
abstract val displayId: Int?
Link copied to clipboard
@Json(name = "id")
abstract val id: Int
Link copied to clipboard
@Json(name = "isAccessibilityFocused")
abstract val isAccessibilityFocused: Boolean?
Link copied to clipboard
@Json(name = "isActive")
abstract val isActive: Boolean?
Link copied to clipboard
@Json(name = "isFocused")
abstract val isFocused: Boolean?
Link copied to clipboard
@Json(name = "kind")
abstract val kind: String
Link copied to clipboard
@Json(name = "layer")
abstract val layer: Int?
Link copied to clipboard
@Json(name = "parentWindow")
abstract val parentWindow: SemanticWindow?
Link copied to clipboard
@Json(name = "region")
abstract var region: Bounds
Link copied to clipboard
@Json(name = "rootElement")
abstract val rootElement: SemanticElement?
Link copied to clipboard
@Json(name = "type")
abstract val type: WindowType

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun height(): Int

Returns the height to be used when scaling

Link copied to clipboard
abstract fun scale(factor: Double): SemanticWindow

Scale T using the given factor. Affects: properties defined by inheritor.

open fun scale(maxWidth: Int, maxHeight: Int): SemanticWindow

Scale T to fit within the given maxWidth and maxHeight.

Link copied to clipboard
open fun toJSON(): String

Helper method to convert an object to JSON

Link copied to clipboard
open override fun width(): Int

Returns the width to be used when scaling