aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractField.java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | #7963 Moved ActionManager from AbstractField to AbstractComponent toArtur Signell2011-11-221-58/+0
| |/ | | | | enable Button to extend AbstractComponent
* | #7930 Eliminate Validator.isValid()Henri Sara2011-11-121-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate the redundant method Validator.isValid(). Validator.validate() does the same but throws an exception including the validation error message. Migration: - replace implementations of isValid() with internalIsValid() in custom subclasses of AbstractValidator - use Validator.validate() and catch exceptions rather than call Validator.isValid() - note that AbstractField still provides an isValid() method that is internally based on validate()
* | Convert nested data model event classes to static where possible.Henri Sara2011-11-111-2/+2
| |
* | Parameterize Property and Field with the value type.Henri Sara2011-11-081-23/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The interfaces Property and Field and most of their implementations are now parameterized with the type of their value. The method getValue() returns the Property type but setValue() takes Object as its parameter. No implicit conversions between value type and strings are performed in most locations (fields). Among others, AbstractTextField, DateField and RichTextArea not have specific value types and do not accept arbitrary values. Most locations requiring migration will be visible as compilation errors, with the exception of some cases where a non-parameterized Property or Field (or one parametrized with Object) is used. Not yet done: - Label - converters - setValue() parameterization (causes much more migration effort)
* | Eliminate more cases that used Property.toString().Henri Sara2011-11-081-4/+4
| | | | | | | | Remaining possibly problematic cases include Label.compareTo(), TestForPreconfiguredComponents and TestForTrees.
* | Throw exception from Property.toString() implementations.Henri Sara2011-11-071-1/+3
| | | | | | | | | | The default implementations of Property.toString() now throw an UnsupportedOperationException to help find and eliminate code relying on Property.toString().
* | Partly eliminate the use of Property.toString().Henri Sara2011-11-071-12/+40
|/ | | | | | | | | | | | | | | | The toString() method should not be used on a property to get its value. Added getStringValue() to AbstractField, Label etc. Using them where applicable. Added comments to some problematic locations where Property.toString() is known to be used. AbstractField.toString() and Label.toString() still return the same values as before, but it will throw an exception in future revisions. Migration needed: Replace explicit and implicit uses of Property.toString() with use property.getValue() and its string representation. Alternatively, use AbstractProperty.getStringValue() and AbstractField.getStringValue() instead of Property.toString() during migration.
* #6588, #7776 : fine tuned fix with properties that modify value. ValueChange ↵Matti Tahvonen2011-10-131-11/+20
| | | | | | event is now postponed until "commit phase" is over. Internal flags shouldn't now get messed up in case value change listener again changes the value. svn changeset:21706/svn branch:6.7
* fix for #7776Matti Tahvonen2011-10-111-14/+45
| | | | svn changeset:21688/svn branch:6.7
* #6770 error indicator should not be hidden when a DateField is "empty" ↵Henri Sara2011-09-051-2/+17
| | | | | | because it has an invalid date string svn changeset:20851/svn branch:6.7
* merged #18418 (typo in fieldname)Matti Tahvonen2011-04-201-12/+12
| | | | svn changeset:18419/svn branch:6.6
* merging fixes from 6.5Matti Tahvonen2011-04-201-1/+1
| | | | svn changeset:18407/svn branch:6.6
* fixes #6237, setting datasource no more calls discard() methodMatti Tahvonen2011-01-051-8/+10
| | | | svn changeset:16807/svn branch:6.5
* fixes #6002 and #6223Matti Tahvonen2011-01-031-7/+2
| | | | | | | | | | * value change events now not fired twice in some case, #6002 * value change event now never called on getValue(), #6002 * fixed a logic bug related to read buffering, #6223 svn changeset:16759/svn branch:6.5
* depracated obsolete helper method from AbstractField. Replaced the ↵Matti Tahvonen2010-11-041-22/+6
| | | | | | implementation body to use DefaultFieldFactory's method instead svn changeset:15871/svn branch:6.5
* #5692 Generics: AbstractField, ComboBox, ListSelect, NativeSelect, ↵Henri Sara2010-10-041-2/+2
| | | | | | OptionGroup and TwinColSelect (classes and collections of unknown type) svn changeset:15346/svn branch:6.5
* Fixes AbstractField not updating tab index on client side after calling ↵John Alhroos2010-08-251-0/+1
| | | | | | setTabIndex(). svn changeset:14595/svn branch:6.4
* tabindex now open for extension in abstractfield (using getter instead of ↵Matti Tahvonen2010-08-251-2/+2
| | | | | | field internally) svn changeset:14591/svn branch:6.4
* Fixed some high priority warnings by FindBugsHenri Sara2010-06-011-1/+1
| | | | svn changeset:13459/svn branch:6.3
* #5013 AbstractField did not repaint property read-only status changes ↵Henri Sara2010-05-271-0/+21
| | | | | | immediately svn changeset:13390/svn branch:6.3
* Javadocced shortcutsMarc Englund2010-04-091-0/+40
| | | | svn changeset:12421/svn branch:6.3
* #1394 enable implementing Focusable components outside the com.vaadin.ui packageHenri Sara2010-04-011-17/+4
| | | | svn changeset:12274/svn branch:6.3
* Some API changes for #875 as discussed at length.Marc Englund2010-03-231-12/+8
| | | | svn changeset:12048/svn branch:6.3
* #4394 multiple value change events when setting field valueHenri Sara2010-03-231-2/+19
| | | | svn changeset:12041/svn branch:6.3
* Refactored new actions api a little: removed mnemonics terminology, ↵Marc Englund2010-03-231-5/+4
| | | | | | adding/removing stuff 'returns' void, shift shorthand in now _ svn changeset:12029/svn branch:6.3
* Easier keyboard shortcuts for #875 - includes shorthand notation for ↵Marc Englund2010-03-231-1/+72
| | | | | | ShortcutAction, Form is now handler in addition to Panel, AbstractField.addAction() delegates handling to containing Window. Javadoc and examples TBD svn changeset:12026/svn branch:6.3
* Added Validator genericsArtur Signell2009-12-151-17/+20
| | | | svn changeset:10298/svn branch:6.2
* Document empty/required validation behvaior in javadoc (#3787).Artur Signell2009-12-141-3/+7
| | | | svn changeset:10268/svn branch:6.2
* fixes #3788Matti Tahvonen2009-12-011-3/+3
| | | | svn changeset:10113/svn branch:6.2
* Variable enhancementsMatti Tahvonen2009-11-251-7/+7
| | | | | | | | | | * typing map for changevariable to <String,Object> * added variabletypes Object[] and Map<String,Object> where Objects can be Strings,Integers, Longs, Floats, Doubles, Booleans and Paintables (reference on client side translates to corresponding server side component by terminal) * Note, multilevel datastructures still not supported (Array or Map inside another), needs #3765 fixes #3756, #3757 svn changeset:10023/svn branch:6.2
* #2904: initial bulk rename "com.itmill.toolkit" -> "com.vaadin"Henri Sara2009-05-111-0/+1157
- com.itmill.toolkit.external not yet fully renamed svn changeset:7715/svn branch:6.0