Leif Åstrand
95d016c085
Global java code cleanup using Eclipse Neon.1
7 lat temu
Leif Åstrand
fdc80972f5
Add helper for updating the diffstate of a component
Change-Id: I7a7068bd6fcc86a8bbbc8693d8be4a388ce55a25
7 lat temu
Leif Åstrand
68ea8ea63d
Refactor listener registration creation to reduce boilerplate
Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff
7 lat temu
Per-Åke Minborg
399d7cd5c4
Remove redundant casting
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232
7 lat temu
Denis Anisimov
9abe01a588
Introduce "shouldWriteDefaultValues" property to DesignContext.
Change-Id: I979448e5af032333a6a2f7b99b11ab16c41d7b18
7 lat temu
Teemu Suo-Anttila
63d218efc0
Fix setValue() methods behavior null argument value + javadocs
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
7 lat temu
Teemu Suo-Anttila
09485d529d
Initial support for null representations in Binder
Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
7 lat temu
Denis Anisimov
1c11016e7a
Revert "Initial support for null representations in Binder"
This reverts commit 9f672890c1
.
Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39
7 lat temu
Teemu Suo-Anttila
9f672890c1
Initial support for null representations in Binder
Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9
7 lat temu
Artur Signell
78a5468279
Implement new RichTextArea
Change-Id: I6f430c77caaad6d610133f340eba960f2268897e
7 lat temu
Artur Signell
0857fafb22
Remove strange TextField column API
Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89
7 lat temu
Artur Signell
a18552fb25
Add AbstractTextField client side to make mapping 1:1
Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49
7 lat temu
Aleksi Hietanen
4a6a632b1f
Update TextArea to extend AbstractFieldNew (#53)
Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
7 lat temu
Artur Signell
983a4e3417
Use RPC for TextField cursor position and selection range updates
Change-Id: I48595a1d1a9a1620739d00a499d996026bd51000
7 lat temu
Artur Signell
848b877d47
Cleanup of TextField
Change-Id: Ia596f58bb0c44e2d70ccf2c0add95d86b33afdcb
7 lat temu
Teemu Suo-Anttila
082929fbdf
Allow multiple data change handlers in client-side data sources
This patch moves Registration to shared so it can be used in
both client and server
Change-Id: I16757f70beb474403903bbcf92c7f850aed68b88
7 lat temu
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 lat temu
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 lat temu
Aleksi Hietanen
a5575a9252
Update TextField to extend AbstractFieldNew (#51)
- Changes input prompt to be based on the placeholder attribute.
- Unifies TextChangeEvents with ValueChangeEvents.
- add*Listener methods now return Registration objects, remove*Listener methods removed.
Change-Id: Ie92506ae9db205bb0010ae9126c608c62ad023ff
7 lat temu
Artur Signell
45034ab571
Remove deprecated addListener/removeListener methods
Change-Id: I74c8bda4bf53340a6deb1fcd5bd8db87b502c856
7 lat temu
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
7 lat temu
Ilia Motornyi
ef306c16f5
Revert "Better default for nullRepresentation (#13221, #12877)"
This reverts commit 85870ccd9f
.
Change-Id: Ifb9bbac0ee36e71d2251c31b936a12f1f3ea7315
8 lat temu
Ilia Motornyi
f2b013e8d6
Revert "Documentation fix for null representation (#13221)"
This reverts commit 41e29dd2e3
.
Change-Id: I4065d4db8dcc2dc652b171ab0472186bbe40ee17
8 lat temu
elmot
41e29dd2e3
Documentation fix for null representation (#13221)
Change-Id: Ib532fbd9efd587080a75155139ae1a7a219c1003
8 lat temu
Matti Tahvonen
85870ccd9f
Better default for nullRepresentation (#13221, #12877)
Change-Id: Ia4662c79b20ee699b3a9741ffa24c4de6645b775
9 lat temu
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 lat temu
Leif Åstrand
142f7dcebb
Fix outdated javadoc reference
Change-Id: I0bfae621ca71df02e5e19c33d4c21498fa86616c
8 lat temu
Mika Murtojärvi
3a8b97e369
Revert "Prevent field from updating when removing text change listener. (#16270)"
This reverts commit 4af793d06a
.
Test ConverterThatEnforcesAFormatTest.checkElaborating is broken by this change.
Change-Id: I8243f6a7bff6d7011d402bce4b614f7d2e4206fd
9 lat temu
Sauli Tähkäpää
4af793d06a
Prevent field from updating when removing text change listener. (#16270)
Change-Id: I65c598ae71414550eb648fabf6e94fb1dabbef97
9 lat temu
Artur Signell
f818f7cb44
Revert "Update text value also with timer triggered text change events. (#16270)"
This reverts commit c8d4c9e8cf
.
Change-Id: I73f19e80aef0fe37231ec5c261e0901e6bbd2d99
9 lat temu
Sauli Tähkäpää
c8d4c9e8cf
Update text value also with timer triggered text change events. (#16270)
Change-Id: I0e074c1ac47cb469a34a5c90533ca0dcfaf2e7e1
9 lat temu
Artur Signell
353206974a
Fix writing issues (#7749)
* A root component with @DesignRoot must always use its superclass for
default values. Otherwise the written design will be empty as the
design is read in the constructor.
* A component which is not the root must not write its component tree
if the component tree is generated in the constructor. This is a
simplification which should be good enough for most cases (can't add
children in constructor and also using addComponent - in this case
the component added with addComponent will not be written).
* Test cases for nested templates
Change-Id: I3a384d1d8654b9865a3a790ebeb055a300a62135
9 lat temu
Artur Signell
8eafe7aee3
Do not create default instances while reading designs (#7749)
Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd
9 lat temu
Artur Signell
3b75f2b148
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
9 lat temu
Artur Signell
36e39ca268
Don't add setCurorPosition as it focuses the field (#7749)
Change-Id: I53de828cd5c27f7ee8e9a89d7b48c7dcfc3201b6
9 lat temu
Artur Signell
22b20bc9fc
Add public Field.isEmpty() and clear() (#15354)
Change-Id: I6bda7ff2a66a9ad172c899d855ca868881600be4
9 lat temu
Matti Hosio
775276d4a9
Declarative support for AbstractTextField (#7749)
Change-Id: Ice244cd73825bde44fe02cf3d4b53d4eff5a5c35
9 lat temu
Bogdan Udrescu
236293303b
TextArea size get reset when css resize is set (#14080)
Listen to MouseUp event on the <textarea> and notify the state with the width and height if changed.
Add com.vaadin.client.Util.Size to manipulates the css width/height.
Change-Id: I96a308658d2877f1f6c05feaa7840a268bb06709
10 lat temu
Fabian Lange
0c229ae914
Reading properties of components should not set state to dirty (#14060).
Many core vaadin components did incorrectly mark the state as dirty when
reading from them. This patch fixes the problem, which should reduce the
amount of server->client state updates significantly.
Change-Id: I342d74129e2985a7f407e9b53a802dc0146d9992
10 lat temu
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
10 lat temu
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 lat temu
Artur Signell
ce282b2b4e
Unified deprecation messages
Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
11 lat temu
Johannes Dahlström
602b6903a6
Move LegacyComponent from com.vaadin.server to com.vaadin.ui
Change-Id: I482517e6f83dfed2654476f928bb7bb01c9de202
11 lat temu
Artur Signell
0121af0c28
Changed Property.setValue(Object) to setValue(T) (#8791)
Change-Id: I9f0e6bd62102c5adc461884b1f3b2cbe69f19259
11 lat temu
Pekka Hyvönen
dd6265dcf5
inner Event classes converted to static nested classes (#5855)
11 lat temu
John Ahlroos
dac974af9b
Removed getters/setters from states and made instance variabled public
11 lat temu
Petri Heinonen
f32d6ab1db
refak listeners com.vaadin.ui
11 lat temu
Johannes Dahlström
fadb44821a
Rename Vaadin6Component to LegacyComponent (#9434)
11 lat temu
Artur Signell
e18177bac6
Renamed com.vaadin.terminal -> com.vaadin.server (#9431)
11 lat temu
Leif Åstrand
bc6786f0dc
Rename requestRepaint to markAsDirty (#9378)
Also remove some requestRepaint calls that are no longer needed (#9325 )
11 lat temu