Skip to main content

UIRadioButton

Complete API reference for UIRadioButton, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: UI

Component: yes


public class UIRadioButton extends Component

Constructors

SignatureDescription
UIRadioButton()Creates a new instance of UIRadioButton.

Virtual Attributes

NameTypeAccessDescription
checkedbooleanget/setVirtual attribute exposed by isChecked. Access it like a field to read or write the underlying value.
pressedbooleangetVirtual attribute exposed by isPressed. Access it like a field to read or write the underlying value.
downbooleangetVirtual attribute exposed by isDown. Access it like a field to read or write the underlying value.
upbooleangetVirtual attribute exposed by isUp. Access it like a field to read or write the underlying value.
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
checkedTextureTextureget/setVirtual attribute exposed by getCheckedTexture. Access it like a field to read or write the underlying value.
uncheckedTextureTextureget/setVirtual attribute exposed by getUncheckedTexture. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
isChecked()booleanReturns whether checked is true.
setChecked(boolean)voidSets checked.
isPressed()booleanReturns whether pressed is true.
isDown()booleanReturns whether down is true.
isUp()booleanReturns whether up is true.
getColor()ColorReturns the current color value.
getCheckedTexture()TextureReturns the current checkedTexture value.
getUncheckedTexture()TextureReturns the current uncheckedTexture value.
setColor(Color)voidSets color.
setCheckedTexture(Texture)voidSets checkedTexture.
setUncheckedTexture(Texture)voidSets uncheckedTexture.