Package eu.bandm.tools.option.runtime
Class Gui.TextReaction
java.lang.Object
javax.swing.InputVerifier
eu.bandm.tools.option.runtime.Gui.TextReaction
- Enclosing class:
Gui
Reacts to changes in the gui argument input.
Is called when focus is shifted, when return is pressed or a checkbox
is clicked.
For the former only, it executes syntax check and error messaging.
If no error, and for the latter, it evaluates the "active condition" rule set.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldYieldFocus(JComponent from) Called by the Swing runtime system when focus shall leave the component.booleanshouldYieldFocus(JComponent from, JComponent to) Called by the Swing runtime system when focus shall be transferred between the two arguments.Methods inherited from class javax.swing.InputVerifier
verify, verifyTarget
-
Field Details
-
errorMsg
The MuLi key to the error message for syntax errors.
-
-
Method Details
-
shouldYieldFocus
Called by the Swing runtime system when focus shall be transferred between the two arguments. (This is said by the TUTORIAL, but we did not find a call of this function in reverse engineering?)- Overrides:
shouldYieldFocusin classInputVerifier
-
shouldYieldFocus
Called by the Swing runtime system when focus shall leave the component. This instance must be registered byJComponent.setInputVerifier(InputVerifier).- Overrides:
shouldYieldFocusin classInputVerifier
-