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

expand all

Profile: desktop, common

Overview

This node specifes an input-control for multiple states. 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
public-readgenerateBoolean

indicates if the states should be generated or not, forces validation on update

public-initgenerateInputCheckBox

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

public-readhasErrorsBoolean

indicates if the node has errors or not

stateInputTextBox

the textbox of this node

public-initsymbolString

ths symbol for the label

publictextString

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

public-initviewGenerateInputBoolean

indicates if the "generate"-checkbox is visible or not

Inherited Variables

Function Summary

create() : javafx.scene.Node
Returns
Node
 
public getStates() : java.util.ArrayList

returns the states, throws an Exception if the node contains input-errors

returns the states, throws an Exception if the node contains input-errors

Returns
ArrayList
an ArrayList containing all states
 
public setStates(states: java.util.ArrayList) : java.lang.String

Sets the States of this node

Sets the States of this node

Parameters
states
the states to set
Returns
String
 
validateInput() : Boolean

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

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

Returns
Boolean
 

Inherited Functions