Skip to main content

UIButton

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

Package: JAVARuntime

Category: UI

Component: yes


public class UIButton extends Component

Constructors

SignatureDescription
UIButton(UIButton)Executes UIButton and returns after the underlying engine call finishes.
UIButton(Engine)Executes UIButton and returns after the underlying engine call finishes.
UIButton()Creates a new instance of UIButton.

Attributes

NameTypeDescription
instanceUIButtonRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
borderfloatget/setVirtual attribute exposed by getBorder. 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.
fontFileStringgetVirtual attribute exposed by getFontFile. Access it like a field to read or write the underlying value.
normalColorColorget/setVirtual attribute exposed by getNormalColor. Access it like a field to read or write the underlying value.
normalTextureTextureget/setVirtual attribute exposed by getNormalTexture. Access it like a field to read or write the underlying value.
paddingVector2get/setVirtual attribute exposed by getPadding. 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.
pressedColorColorget/setVirtual attribute exposed by getPressedColor. Access it like a field to read or write the underlying value.
pressedTextureTextureget/setVirtual attribute exposed by getPressedTexture. Access it like a field to read or write the underlying value.
resolutionintget/setVirtual attribute exposed by getResolution. Access it like a field to read or write the underlying value.
textStringget/setVirtual attribute exposed by getText. Access it like a field to read or write the underlying value.
textNormalColorColorget/setVirtual attribute exposed by getTextNormalColor. Access it like a field to read or write the underlying value.
textPressedColorColorget/setVirtual attribute exposed by getTextPressedColor. Access it like a field to read or write the underlying value.
textSizefloatget/setVirtual attribute exposed by getTextSize. 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.