Skip to main content

UITextView

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

Package: JAVARuntime

Category: UI

Component: yes


public class UITextView extends Component

Constructors

SignatureDescription
UITextView()Creates a new instance of UITextView.

Virtual Attributes

NameTypeAccessDescription
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
fontFontget/setVirtual attribute exposed by getFont. 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.
textSizefloatget/setVirtual attribute exposed by getTextSize. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getColor()ColorReturns the current color value.
setColor(Color)voidSets color.
getOutlineColor()ColorReturns the current outlineColor value.
setOutlineColor(Color)voidSets outlineColor.
getText()StringReturns the current text value.
setText(String)voidSets text.
getTextSize()floatReturns the current textSize value.
setTextSize(float)voidSets textSize.
getOutlineDP()floatReturns the current outlineDP value.
setOutlineDP(float)voidSets outlineDP.
isAllCaps()booleanReturns whether allCaps is true.
setAllCaps(boolean)voidSets allCaps.
getFont()FontReturns the current font value.
setFont(Font)voidSets font.