commonMain.io.nacular.doodle.focus.FocusManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-jvm Show documentation
Show all versions of core-jvm Show documentation
A pure Kotlin, UI framework for the Web and Desktop
package io.nacular.doodle.focus
import io.nacular.doodle.core.View
import io.nacular.doodle.utils.PropertyObservers
/**
* Created by Nicholas Eddy on 3/2/18.
*/
public interface FocusManager {
public val focusOwner : View?
public val focusCycleRoot: View?
public val focusChanged : PropertyObservers
public fun focusable(view: View): Boolean
public fun requestFocus (view: View)
public fun clearFocus ( )
public fun moveFocusForward ( )
public fun moveFocusForward (from: View)
public fun moveFocusBackward ( )
public fun moveFocusBackward (from: View)
public fun moveFocusUpward ( )
public fun moveFocusUpward (from: View)
public fun moveFocusDownward ( )
public fun moveFocusDownward (from: View)
public fun moveFocusToDefault( )
}
public interface FocusCycleRoot {
public val children: List
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy