PrefixComboBox - Vaadin Add-on Directory
PrefixComboBox is version of ComboBox with optional Prefix text in text box and number of other missing features
PrefixComboBox is version of ComboBox with Prefix text in text box and many other additional features that are missing from the framework version. It is not mandatory to use the prefix with the add-on, you can use the add-on without prefix and use other features.
- Added setTextUpdateInterval(..) to set delayed update of filter. This feature is very useful when you have slow backend datasource and want to avoid update of the filter after every keypress.
- Use prefixComboBox.setPrefix(prefix) to set the prefix (here the name of add-on comes from).
- PopupOpenedEvent and PopupOpenedListener fired when popup opens
- PopupClosedEvent and PopupClosedListener fired when popup closes
- Added openPopup() and openPopup(int page) methods, opens programmatically the combobox
- Added setMaxInputLength(..) method for setting maximum length of accepted text in text box
- Added methods setSelectTextOnClick(..) and selectText()
- Added methods setCursorOnFocus(..) and setCursorPos(..)
- Added method getSelectedItemCaption(), this is a convenience method which is useful when the ComboBox is used with list of beans and item caption generator.
- Improved keyboard management to handle Ctrl-A and Ctrl-C
Issue tracker
Source Code
Online Demo
PrefixComboBox version 1.0.1
### Version 1.0.1
- First version, see README.md and JavaDocs
PrefixComboBox version 1.1.0
### Version 1.1.0
- Added PopupOpenedEvent and PopupOpenedListener
- Added openPopup() and openPopup(int page) methods
- Added setMaxInputLength(..) method
PrefixComboBox version 1.2.0
### Version 1.2.0
- Added setSelectTextOnClick(..) feature
- Added selectText() method
PrefixComboBox version 1.3.0
### Version 1.3.0
- Added PopupClosedEvent and PopupClosedListener
PrefixComboBox version 1.3.1
### Version 1.3.1
- Added support for Ctrl-A to select all text in the text box
PrefixComboBox version 1.4.0
### Version 1.4.0
- Added setCursorOnFocus(boolean)
- Added setCursorPos(int)
- Added String getSelectedItemCaption()
PrefixComboBox version 1.5.0
### Version 1.5.0
- Added setTextUpdateInterval to set delayed update of filter