UIHoverButton
Complete API reference for UIHoverButton, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIHoverButton extends Component
Constructors
| Signature | Description |
|---|---|
UIHoverButton() | Creates a new instance of UIHoverButton. |
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. |
clicked | boolean | get | Virtual attribute exposed by isClicked. Access it like a field to read or write the underlying value. |
clickedColor | Color | get/set | Virtual attribute exposed by getClickedColor. Access it like a field to read or write the underlying value. |
clickedTexture | Texture | get/set | Virtual attribute exposed by getClickedTexture. 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. |
hover | boolean | get | Virtual attribute exposed by isHover. Access it like a field to read or write the underlying value. |
hoverColor | Color | set | Virtual attribute exposed by setHoverColor. Access it like a field to read or write the underlying value. |
hoverTexture | Texture | get/set | Virtual attribute exposed by getHoverTexture. Access it like a field to read or write the underlying value. |
justBeginHover | boolean | get | Virtual attribute exposed by isJustBeginHover. 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. |
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. |
textClickedColor | Color | get/set | Virtual attribute exposed by getTextClickedColor. Access it like a field to read or write the underlying value. |
textHoverColor | Color | get/set | Virtual attribute exposed by getTextHoverColor. 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. |
textSize | float | get/set | Virtual attribute exposed by getTextSize. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getBorder() | float | Returns the current border value. |
getFontFile() | String | Returns the current fontFile value. |
getNormalColor() | Color | Returns the current normalColor value. |
getNormalTexture() | Texture | Returns the current normalTexture value. |
getHoverTexture() | Texture | Returns the current hoverTexture value. |
getPadding() | Vector2 | Returns the current padding value. |
getClickedColor() | Color | Returns the current clickedColor value. |
getClickedTexture() | Texture | Returns the current clickedTexture value. |
getResolution() | int | Returns the current resolution value. |
getText() | String | Returns the current text value. |
getTextNormalColor() | Color | Returns the current textNormalColor value. |
getTextHoverColor() | Color | Returns the current textHoverColor value. |
getTextClickedColor() | Color | Returns the current textClickedColor value. |
getTextSize() | float | Returns the current textSize value. |
isJustBeginHover() | boolean | Returns whether justBeginHover is true. |
isClicked() | boolean | Returns whether clicked is true. |
isHover() | boolean | Returns whether hover is true. |
setBorder(float) | void | Sets border. |
setNormalColor(Color) | void | Sets normalColor. |
setNormalTexture(Texture) | void | Sets normalTexture. |
setHoverTexture(Texture) | void | Sets hoverTexture. |
setPadding(Vector2) | void | Sets padding. |
setClickedColor(Color) | void | Sets clickedColor. |
setHoverColor(Color) | void | Sets hoverColor. |
setClickedTexture(Texture) | void | Sets clickedTexture. |
setResolution(int) | void | Sets resolution. |
setText(String) | void | Sets text. |
setTextNormalColor(Color) | void | Sets textNormalColor. |
setTextHoverColor(Color) | void | Sets textHoverColor. |
setTextClickedColor(Color) | void | Sets textClickedColor. |
setTextSize(float) | void | Sets textSize. |