Default Component
abstract class DefaultComponent(componentMetadata: ComponentMetadata, renderer: ComponentRenderingStrategy<out Component>, uiEventProcessor: DefaultUIEventProcessor, movable: Movable) : InternalComponent, ComponentEventSource, Movable, UIEventProcessor
Content copied to clipboard
Types
ComponentStateKey
Link copied to clipboard
data class ComponentStateKey(oldState: ComponentState, isFocused: Boolean, eventType: DefaultComponent.EventType)
Content copied to clipboard
EventType
Link copied to clipboard
Functions
acceptsFocus
Link copied to clipboard
activated
Link copied to clipboard
asInternalComponent
Link copied to clipboard
clearCustomStyle
Link copied to clipboard
open override 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
convertColorTheme
Link copied to clipboard
abstract fun convertColorTheme(colorTheme: ColorTheme): ComponentStyleSet
Content copied to clipboard
deactivated
Link copied to clipboard
focusGiven
Link copied to clipboard
focusTaken
Link copied to clipboard
handleComponentEvents
Link copied to clipboard
open override fun handleComponentEvents(eventType: ComponentEventType, handler: (event: ComponentEvent) -> UIEventResponse): Subscription
Content copied to clipboard
handleKeyboardEvents
Link copied to clipboard
open override fun handleKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
handleMouseEvents
Link copied to clipboard
open override fun handleMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
intersects
Link copied to clipboard
keyPressed
Link copied to clipboard
open fun keyPressed(event: KeyboardEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
keyReleased
Link copied to clipboard
open fun keyReleased(event: KeyboardEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
keyTyped
Link copied to clipboard
open fun keyTyped(event: KeyboardEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseClicked
Link copied to clipboard
open fun mouseClicked(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseDragged
Link copied to clipboard
open fun mouseDragged(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseEntered
Link copied to clipboard
open override fun mouseEntered(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseExited
Link copied to clipboard
open override fun mouseExited(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseMoved
Link copied to clipboard
open fun mouseMoved(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mousePressed
Link copied to clipboard
open fun mousePressed(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseReleased
Link copied to clipboard
open override fun mouseReleased(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseWheelRotatedDown
Link copied to clipboard
open fun mouseWheelRotatedDown(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
mouseWheelRotatedUp
Link copied to clipboard
open fun mouseWheelRotatedUp(event: MouseEvent, phase: UIEventPhase): UIEventResponse
Content 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
process
Link copied to clipboard
open override fun process(event: UIEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
processComponentEvents
Link copied to clipboard
open override fun processComponentEvents(eventType: ComponentEventType, handler: (event: ComponentEvent) -> Unit): Subscription
Content copied to clipboard
processKeyboardEvents
Link copied to clipboard
open override fun processKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
processMouseEvents
Link copied to clipboard
open override fun processMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
render
Link copied to clipboard
requestFocus
Link copied to clipboard
resetState
Link copied to clipboard
open override fun resetState()
Content copied to clipboard
Properties
absolutePosition
Link copied to clipboard
children
Link copied to clipboard
closedValue
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
isAttached
Link copied to clipboard
isAttachedToRoot
Link copied to clipboard
isDisabled
Link copied to clipboard
parent
Link copied to clipboard
parentProperty
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.
root
Link copied to clipboard
rootValue
Link copied to clipboard
theme
Link copied to clipboard
themeProperty
Link copied to clipboard
A Property that wraps the theme and offers data binding and observability features.
tileset
Link copied to clipboard
tilesetProperty
Link copied to clipboard
updateOnAttach
Link copied to clipboard
Tells whether the Component's observable properties should be updated from the parent when the component is attached.
Inheritors
BaseNumberInput
Link copied to clipboard
BaseScrollBar
Link copied to clipboard
BaseSlider
Link copied to clipboard
DefaultButton
Link copied to clipboard
DefaultCheckBox
Link copied to clipboard
DefaultContainer
Link copied to clipboard
DefaultHeader
Link copied to clipboard
DefaultIcon
Link copied to clipboard
DefaultLabel
Link copied to clipboard
DefaultListItem
Link copied to clipboard
DefaultParagraph
Link copied to clipboard
DefaultProgressBar
Link copied to clipboard
DefaultRadioButton
Link copied to clipboard
DefaultTextArea
Link copied to clipboard
DefaultToggleButton
Link copied to clipboard
Sources
(source)
Link copied to clipboard