addListener
|
abstract fun addListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen |
getAllDisplays
|
abstract fun getAllDisplays(): Array<Display> |
getCursorScreenPoint
|
abstract fun getCursorScreenPoint(): Point |
getDisplayMatching
|
abstract fun getDisplayMatching(rect: Rectangle): Display |
getDisplayNearestPoint
|
abstract fun getDisplayNearestPoint(point: Point): Display |
getMenuBarHeight
|
abstract fun getMenuBarHeight(): Number |
getPrimaryDisplay
|
abstract fun getPrimaryDisplay(): Display |
on
|
abstract fun on(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen |
once
|
abstract fun once(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen |
removeListener
|
abstract fun removeListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen |