SuperImmediateTextField
A TextField, only faster.
Have you ever thought that a TextField's immediateness just isn't enough? Here's a SuperImmediateTextField! This way you can track the user's typing on-the-go, or even each keypress individually, if you want!
Important Note: While the component does inherit Vaadin's TextField, it is not completely feature complete with it. setSecret() will probably not work, and neither is it intended for a multi-line use - so setRows(), setColumns() will probably be out of the question, too. This is my bad...
Sample code
final Layout layout = new CssLayout(); final Label foo = new Label(); final SuperImmediateTextField sitf = new SuperImmediateTextField(); sitf.addListener(new KeyPressListener() { public void keyPressed(final KeyPressEvent event) { foo.setValue(sitf.getValue()); } }); layout.addComponent(sitf); layout.addComponent(foo); mainWindow.addComponent(layout);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2010-01-22
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 6.2+
- Browser
- Internet Explorer
- Internet Explorer
- Internet Explorer
- Firefox
- Opera
- Safari
SuperImmediateTextField - Vaadin Add-on Directory
A TextField, only faster.Have you ever thought that a TextField's immediateness just isn't enough? Here's a SuperImmediateTextField! This way you can track the user's typing on-the-go, or even each keypress individually, if you want!
Important Note: While the component does inherit Vaadin's TextField, it is not completely feature complete with it. setSecret() will probably not work, and neither is it intended for a multi-line use - so setRows(), setColumns() will probably be out of the question, too. This is my bad...
Live DemoFoum Post
Video Demo