JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

Overview

This node specifes an input-control for an single symbol. It contains a label for a single symbol followed by an "=", and an textbox

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-readhasErrorsBoolean

indicates if the node has input errors

public-initsymbolString

the symbol for the label

symbolInputTextBox

the textBox for the node

publictextString

the current value of the textbox ( use this only to set the current value of the textbox, to retrieve the Symbol, use getSymbol() instead), forces validation on update

Inherited Variables

Function Summary

create() : javafx.scene.Node
Returns
Node
 
public getSymbol() : java.lang.String

throws an Exception if the input has errors

throws an Exception if the input has errors

Returns
String
the symbol
 
validateInput() : Boolean

checks the input (Regex: [A-Za-z0-9])

checks the input (Regex: [A-Za-z0-9])

Returns
Boolean
 

Inherited Functions