viewtify

viewtify.ui

UIText<V>

  • V

typeClass

The input type.

UIText(Viewview, Classtype)

Viewview
Classtype

Enchanced view.

length()int

int

Return the current length of inputed text.

valueProperty()javafx.beans.property.PropertyV

javafx.beans.property.PropertyV

edit()javafx.beans.property.BooleanProperty

javafx.beans.property.BooleanProperty

isEmpty()boolean

boolean

Check whether this field is empty or not.

isNotEmpty()boolean

boolean

Check whether this field is empty or not.

isTextSelected()boolean

boolean

Check whether this field's text is selected or not.

isNotTextSelected()boolean

boolean

Check whether this field's text is selected or not.

acceptAlphabeticInput()UITextV

UITextV

You will be able to enter only alphabet.

acceptAlphaNumericInput()UITextV

UITextV

You will be able to enter only alphabet and numeric character.

acceptIntegralInput()UITextV

UITextV

You will be able to enter only integral numbers.

acceptPositiveIntegralInput()UITextV

UITextV

You will be able to enter only positive integral numbers.

acceptDecimalInput()UITextV

UITextV

You will be able to enter only numbers.

acceptPositiveDecimalInput()UITextV

UITextV

You will be able to enter only numbers.

acceptInput(Stringregex)UITextV

Stringregex
UITextV

Specify the character types that can be entered as regular expressions.

rejectAnyInput()UITextV

UITextV

Specify the character types that can be entered as regular expressions.

normalizeInput(Formform)UITextV

Formform
UITextV

Specifies how to normalize the input characters.

maximumInput()int

int

Get the current limited size of characters. A number less than or equal to 0 disables this limit.

maximumInput(intsize)UITextV

intsize
UITextV

Limit the number of characters that can be entered; a number less than or equal to 0 disables this limit.

masking(booleanenable)UITextV

booleanenable

If it is true, mask it, and if it is false, unmask it.

UITextV

Chainable API.

Set whether or not to mask the input values so that they are not visible.

prefix(Stringprefix)UITextV

Stringprefix
UITextV

Chainable API.

Set the uneditable text prefix.

prefix(org.kordamp.ikonli.Ikonprefix)UITextV

org.kordamp.ikonli.Ikonprefix
UITextV

Chainable API.

Set the icon prefix.

suffix(Stringsuffix)UITextV

Stringsuffix
UITextV

Chainable API.

Set the uneditable text suffix.

suffix(org.kordamp.ikonli.Ikonsuffix)UITextV

org.kordamp.ikonli.Ikonsuffix
UITextV

Chainable API.

Set the icon suffix.

renderer(FunctionV, Stringrenderer)UITextV

FunctionV, Stringrenderer
UITextV

Set the value renderer.

clearable()UITextV

UITextV

Show a clear button inside the TextField (on the right hand side of it) when text is entered by the user.

placeholderProperty()javafx.beans.property.StringProperty

javafx.beans.property.StringProperty

suggest(ListVsuggests)UITextV

ListVsuggests
UITextV

Support auto-completion.

suggest(javafx.util.Callbackorg.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest, CollectionVsuggestionProvider)UITextV

javafx.util.Callbackorg.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest, CollectionVsuggestionProvider
UITextV

Support auto-completion.

suggest(javafx.util.Callbackorg.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest, CollectionVsuggestionProvider, javafx.util.StringConverterVconverter)UITextV

javafx.util.Callbackorg.controlsfx.control.textfield.AutoCompletionBinding.ISuggestionRequest, CollectionVsuggestionProvider
javafx.util.StringConverterVconverter
UITextV

Support auto-completion.

combine(UITextcombiners)UIHBox

UITextcombiners
UIHBox

Create combined text input user interface.