Skip to main content

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

SignatureDescription
UIHoverButton()Creates a new instance of UIHoverButton.

Virtual Attributes

NameTypeAccessDescription
borderfloatget/setVirtual attribute exposed by getBorder. Access it like a field to read or write the underlying value.
clickedbooleangetVirtual attribute exposed by isClicked. Access it like a field to read or write the underlying value.
clickedColorColorget/setVirtual attribute exposed by getClickedColor. Access it like a field to read or write the underlying value.
clickedTextureTextureget/setVirtual attribute exposed by getClickedTexture. 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.
hoverbooleangetVirtual attribute exposed by isHover. Access it like a field to read or write the underlying value.
hoverColorColorsetVirtual attribute exposed by setHoverColor. Access it like a field to read or write the underlying value.
hoverTextureTextureget/setVirtual attribute exposed by getHoverTexture. Access it like a field to read or write the underlying value.
justBeginHoverbooleangetVirtual attribute exposed by isJustBeginHover. 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.
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.
textClickedColorColorget/setVirtual attribute exposed by getTextClickedColor. Access it like a field to read or write the underlying value.
textHoverColorColorget/setVirtual attribute exposed by getTextHoverColor. 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.
textSizefloatget/setVirtual attribute exposed by getTextSize. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getBorder()floatReturns the current border value.
getFontFile()StringReturns the current fontFile value.
getNormalColor()ColorReturns the current normalColor value.
getNormalTexture()TextureReturns the current normalTexture value.
getHoverTexture()TextureReturns the current hoverTexture value.
getPadding()Vector2Returns the current padding value.
getClickedColor()ColorReturns the current clickedColor value.
getClickedTexture()TextureReturns the current clickedTexture value.
getResolution()intReturns the current resolution value.
getText()StringReturns the current text value.
getTextNormalColor()ColorReturns the current textNormalColor value.
getTextHoverColor()ColorReturns the current textHoverColor value.
getTextClickedColor()ColorReturns the current textClickedColor value.
getTextSize()floatReturns the current textSize value.
isJustBeginHover()booleanReturns whether justBeginHover is true.
isClicked()booleanReturns whether clicked is true.
isHover()booleanReturns whether hover is true.
setBorder(float)voidSets border.
setNormalColor(Color)voidSets normalColor.
setNormalTexture(Texture)voidSets normalTexture.
setHoverTexture(Texture)voidSets hoverTexture.
setPadding(Vector2)voidSets padding.
setClickedColor(Color)voidSets clickedColor.
setHoverColor(Color)voidSets hoverColor.
setClickedTexture(Texture)voidSets clickedTexture.
setResolution(int)voidSets resolution.
setText(String)voidSets text.
setTextNormalColor(Color)voidSets textNormalColor.
setTextHoverColor(Color)voidSets textHoverColor.
setTextClickedColor(Color)voidSets textClickedColor.
setTextSize(float)voidSets textSize.