Overview
This node specifies an input-control for a position on a tape. It contains a label and a textbox
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | finiteAutomate | Boolean | ![]() | ![]() | ![]() |
determine if the transition is a transition of an finite automaton or not |
|
public-read | hasError | Boolean | ![]() |
inidcates if the node has input errors |
|||
public-read | input | TextBox | ![]() |
the textbox for this node |
|||
public-init | onTextChanged | function():Void | ![]() | ![]() |
a callback function wich is invoked if the text changes |
||
public | text | String | ![]() | ![]() | ![]() |
the current value of the textbox ( use this only to set the current value of the textbox, to retrieve the Transiation, use getTransition() instead), forces validation on update |
Inherited Variables
Function Summary
- protected create() : javafx.scene.Node
- public forceValidation() : Boolean
- public getTransition(blankSymbol: char) : org.TMSIM.Model.Transition
- public setTransition(transition: org.TMSIM.Model.Transition, isFiniteAutomate: Boolean) : java.lang.String
- validateInput() : Boolean
-
checks the node for input-errors Regex if finiteAutomation == true: [A-Za-z0-9](_[A-Za-z0-9]+)?
checks the node for input-errors Regex if finiteAutomation == true: [A-Za-z0-9](_[A-Za-z0-9]+)?[, ]([A-Za-z0-9]|Z_[12])[, ][A-Za-z0-9](_[A-Za-z0-9]+)?[, ][LRS] Regex if finiteAutomation == false: [A-Za-z0-9](_[A-Za-z0-9]+)?[, ]([A-Za-z0-9]|Z_[12])[, ]([A-Za-z0-9]|Z_0)[, ][A-Za-z0-9](_[A-Za-z0-9]+)?[, ]([A-Za-z0-9]|Z_0)[, ][LRS][, ][LRS]
-
Returns
- Boolean