| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/
| |
| | |
enable Button to extend AbstractComponent
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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()
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| | |
Remaining possibly problematic cases include Label.compareTo(),
TestForPreconfiguredComponents and TestForTrees.
|
| |
| |
| |
| |
| | |
The default implementations of Property.toString() now throw an
UnsupportedOperationException to help find and eliminate code relying on
Property.toString().
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn changeset:21688/svn branch:6.7
|
|
|
|
|
|
| |
because it has an invalid date string
svn changeset:20851/svn branch:6.7
|
|
|
|
| |
svn changeset:18419/svn branch:6.6
|
|
|
|
| |
svn changeset:18407/svn branch:6.6
|
|
|
|
| |
svn changeset:16807/svn branch:6.5
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
implementation body to use DefaultFieldFactory's method instead
svn changeset:15871/svn branch:6.5
|
|
|
|
|
|
| |
OptionGroup and TwinColSelect (classes and collections of unknown type)
svn changeset:15346/svn branch:6.5
|
|
|
|
|
|
| |
setTabIndex().
svn changeset:14595/svn branch:6.4
|
|
|
|
|
|
| |
field internally)
svn changeset:14591/svn branch:6.4
|
|
|
|
| |
svn changeset:13459/svn branch:6.3
|
|
|
|
|
|
| |
immediately
svn changeset:13390/svn branch:6.3
|
|
|
|
| |
svn changeset:12421/svn branch:6.3
|
|
|
|
| |
svn changeset:12274/svn branch:6.3
|
|
|
|
| |
svn changeset:12048/svn branch:6.3
|
|
|
|
| |
svn changeset:12041/svn branch:6.3
|
|
|
|
|
|
| |
adding/removing stuff 'returns' void, shift shorthand in now _
svn changeset:12029/svn branch:6.3
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn changeset:10298/svn branch:6.2
|
|
|
|
| |
svn changeset:10268/svn branch:6.2
|
|
|
|
| |
svn changeset:10113/svn branch:6.2
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
- com.itmill.toolkit.external not yet fully renamed
svn changeset:7715/svn branch:6.0
|