Class CheckboxProperties
-
- All Implemented Interfaces:
-
kotlin.Cloneable
public class CheckboxProperties extends StatedProperties
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CheckboxProperties()
-
Method Summary
Modifier and Type Method Description FloatArraygetCornerRadii()FloatgetOutlineThickness()ColorgetCheckmarkColor()Function1<StateBlock, Unit>getOnActivate()This function is called when the checkbox is checked. Function1<StateBlock, Unit>getOnDeactivate()This function is called when the checkbox is unchecked. Function1<Checkbox, Unit>getRenderCheck()This function is called every time the checkbox is rendered, so you will need to check if Checkbox.checked is true. -
Methods inherited from class org.polyfrost.polyui.property.impl.StatedProperties
getActivateAnimation, getActivateAnimationDuration, getActivePalette -
Methods inherited from class org.polyfrost.polyui.property.impl.BlockProperties
getHoverAnimation, getHoverAnimationDuration, getOutlineColor, getPalette, getPaletteGet, getPressedAnimation, getPressedAnimationDuration, setPaletteGet -
Methods inherited from class org.polyfrost.polyui.property.Properties
addEventHandler, getColors, getEventHandlers, getFonts, getInitialized, getSize, init, setColors, setFonts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCornerRadii
FloatArray getCornerRadii()
-
getOutlineThickness
Float getOutlineThickness()
-
getCheckmarkColor
Color getCheckmarkColor()
-
getOnActivate
Function1<StateBlock, Unit> getOnActivate()
This function is called when the checkbox is checked.
-
getOnDeactivate
Function1<StateBlock, Unit> getOnDeactivate()
This function is called when the checkbox is unchecked.
-
getRenderCheck
Function1<Checkbox, Unit> getRenderCheck()
This function is called every time the checkbox is rendered, so you will need to check if Checkbox.checked is true.
-
-
-
-