ToggleButton
classin packageklyn.gui.windows
public class ToggleButton extends AbstractButton:
└ ToggleButton

Toggle button widget.

Properties
Modifier and Type Member Description
public property isChecked
isChecked as Boolean = false
No summary.
Inherited Properties
propertyInherited Properties from AbstractButton: icon, isDefaultButton, isPressed, text
propertyInherited Properties from Widget: accentColor, backgroundColor, borderColor, bottom, canFocus, cornerRadius, font, foregroundColor, hasFocus, height, isEnabled, isHovered, isManaged, isTabStop, isVisible, layoutParams, margin, maxHeight, maxWidth, minHeight, minWidth, parent, preferredHeight, preferredWidth, right, sizePolicy, styleClass, width, window, x, y
Inherited Events
eventInherited Events from AbstractButton: clicked, pressed, released
eventInherited Events from Widget: keyPressed, keyReleased, mouseMoved, mousePressed, mouseReleased, mouseWheel, paintRequested, resized
Constructors
Modifier and Type Member Description
public ToggleButton
ToggleButton(text as String = ""):
No summary.
Inherited Methods
methodInherited Methods from AbstractButton: click, performClick, press, release
methodInherited Methods from Widget: blur, containsPoint, emitKeyPressed, emitKeyReleased, emitMouseMoved, emitMousePressed, emitMouseReleased, emitMouseWheel, handleTabKey, notifyPaintRequested, paint, paintOverlay, repaint, requestFocus, resolvePreferredHeight, resolvePreferredWidth, resolvedFont, setBounds