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
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
instance | UIButton | Represents the instance value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
border | float | get/set | Virtual attribute exposed by getBorder. Access it like a field to read or write the underlying value. |
down | boolean | get | Virtual attribute exposed by isDown. Access it like a field to read or write the underlying value. |
fontFile | String | get | Virtual attribute exposed by getFontFile. Access it like a field to read or write the underlying value. |
normalColor | Color | get/set | Virtual attribute exposed by getNormalColor. Access it like a field to read or write the underlying value. |
normalTexture | Texture | get/set | Virtual attribute exposed by getNormalTexture. Access it like a field to read or write the underlying value. |
padding | Vector2 | get/set | Virtual attribute exposed by getPadding. Access it like a field to read or write the underlying value. |
pressed | boolean | get | Virtual attribute exposed by isPressed. Access it like a field to read or write the underlying value. |
pressedColor | Color | get/set | Virtual attribute exposed by getPressedColor. Access it like a field to read or write the underlying value. |
pressedTexture | Texture | get/set | Virtual attribute exposed by getPressedTexture. Access it like a field to read or write the underlying value. |
resolution | int | get/set | Virtual attribute exposed by getResolution. Access it like a field to read or write the underlying value. |
text | String | get/set | Virtual attribute exposed by getText. Access it like a field to read or write the underlying value. |
textNormalColor | Color | get/set | Virtual attribute exposed by getTextNormalColor. Access it like a field to read or write the underlying value. |
textPressedColor | Color | get/set | Virtual attribute exposed by getTextPressedColor. Access it like a field to read or write the underlying value. |
textSize | float | get/set | Virtual attribute exposed by getTextSize. Access it like a field to read or write the underlying value. |
up | boolean | get | Virtual attribute exposed by isUp. Access it like a field to read or write the underlying value. |