Game Component
Functions
acceptsFocus
Link copied to clipboard
asInternalComponent
Link copied to clipboard
clearCustomStyle
Link copied to clipboard
abstract fun clearCustomStyle()
Content copied to clipboard
Clears any custom componentStyleSet (if present).
clearFocus
Link copied to clipboard
containsBoundable
Link copied to clipboard
containsPosition
Link copied to clipboard
handleComponentEvents
Link copied to clipboard
abstract fun handleComponentEvents(eventType: ComponentEventType, handler: (event: ComponentEvent) -> UIEventResponse): Subscription
Content copied to clipboard
handleKeyboardEvents
Link copied to clipboard
abstract fun handleKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
handleMouseEvents
Link copied to clipboard
abstract fun handleMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
intersects
Link copied to clipboard
moveDownBy
Link copied to clipboard
moveLeftBy
Link copied to clipboard
moveRightBy
Link copied to clipboard
onActivated
Link copied to clipboard
onDeactivated
Link copied to clipboard
onFocusGiven
Link copied to clipboard
onFocusTaken
Link copied to clipboard
processComponentEvents
Link copied to clipboard
abstract fun processComponentEvents(eventType: ComponentEventType, handler: (event: ComponentEvent) -> Unit): Subscription
Content copied to clipboard
processKeyboardEvents
Link copied to clipboard
abstract fun processKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
processMouseEvents
Link copied to clipboard
abstract fun processMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
requestFocus
Link copied to clipboard
resetState
Link copied to clipboard
abstract fun resetState()
Content copied to clipboard
Properties
absolutePosition
Link copied to clipboard
componentState
Link copied to clipboard
componentStateValue
Link copied to clipboard
componentStyleSet
Link copied to clipboard
componentStyleSetProperty
Link copied to clipboard
contentOffset
Link copied to clipboard
The position of the top left corner of the content area (where the component is rendered without the decorations) relative to the top left corner of this Component.
contentSize
Link copied to clipboard
currentStyle
Link copied to clipboard
disabledProperty
Link copied to clipboard
hasFocusValue
Link copied to clipboard
hiddenProperty
Link copied to clipboard
isDisabled
Link copied to clipboard
position
Link copied to clipboard
relativeBounds
Link copied to clipboard
The bounds of this Component relative to its parent.
relativePosition
Link copied to clipboard
The relative position is the position of the top left corner of this Component relative to the contentOffset of its parent.
theme
Link copied to clipboard
themeProperty
Link copied to clipboard
tileset
Link copied to clipboard
tilesetProperty
Link copied to clipboard
Sources
(source)
Link copied to clipboard