CheckRadioButtonBehavior
open class CheckRadioButtonBehavior<T : ToggleButton>(textMetrics: TextMetrics, textColor: Color, icon: Icon<T>, iconTextSpacing: Double = 2.0, iconInset: Double = 2.0, disabledColorMapper: (Color) -> Color = { it.lighter() }, focusManager: FocusManager? = null) : CommonTextButtonBehavior<T> (source)
Created by Nicholas Eddy on 4/25/19.
Constructors
Link copied to clipboard
protected constructor(textMetrics: TextMetrics, textColor: Color, icon: Icon<T>, iconTextSpacing: Double = 2.0, iconInset: Double = 2.0, disabledColorMapper: (Color) -> Color = { it.lighter() }, focusManager: FocusManager? = null)
Functions
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun iconPosition(button: Button, text: String = button.text, icon: Icon<Button>, stringPosition: Point = textPosition(button, text, icon), bounds: Rectangle = button.bounds.atOrigin): Point
fun iconPosition(button: Button, text: String = button.text, icon: Icon<Button>, textSpacing: TextSpacing = default, stringPosition: Point = textPosition(button, text, icon, textSpacing = textSpacing), bounds: Rectangle = button.bounds.atOrigin): Point
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun textPosition(button: Button, text: String = button.text, icon: Icon<Button>? = button.icon, bounds: Rectangle = button.bounds.atOrigin, textSpacing: TextSpacing = default): Point