public insertText(text as String) as Boolean:
Inserts keyboard text into the spin box edit buffer.
The first typed character starts a fresh edit buffer, matching common spin-box behavior where typing replaces the displayed value. When the buffer is a complete integer, value is updated immediately and binding observers are notified through the signal-property setter.
spin.insertText("7")