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

expand all

Profile: desktop, common

Overview

This specifies a Inputnode for the alphabet of an tape. It contains a label for a single symbol followed by an "=", an textbox, and an checkbox that indicates if the alphabet should be generated or not

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
alphabetInputTextBox

the textbox of this node

public-readgenerateBoolean

indactes if the alphabet schould be generated or not (forces validation on update)

generateInputCheckBox

the checkbox that indicates if the alphabet should be generated or not

public-readhasErrorsBoolean

indicates if this input node contains errors

public-initsymbolString

the symbol for the label

publictextString

the current value of the textbox ( use this only to set the current value of the node, to retrieve the alphabet, use getAlphabet instead)

Inherited Variables

Function Summary

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

returns the alphabet if it contains no errors - otherwise a Exception is thrown

returns the alphabet if it contains no errors - otherwise a Exception is thrown

Returns
String
 
requestFocus() : Void
 
validateInput() : Boolean

checks the input for errors (Regex: ([A-Za-z0-9][, ]?)

checks the input for errors (Regex: ([A-Za-z0-9][, ]?)*[A-Za-z0-9])

Returns
Boolean
 

Inherited Functions