Anna Koskinen
7f537988d3
Checkstyle fixes (#12347)
- Added, completed, and corrected JavaDocs.
- Added an assert to enforce a condition that has always been required.
- Added default sections to switch blocks.
- Added wildcards.
- Deprecated unused methods and variables.
- Removed inner assignments.
- Removed unused private variables and calls that do nothing.
- Updated deprecated calls to use currently recommended versions.
- Updated warning suppressions.
- ...and some auto-formatting.
pirms 2 gadiem
Anna Koskinen
32764eca80
Update copyright year range. (#12215)
* Update copyright year range.
pirms 3 gadiem
Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
pirms 6 gadiem
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
pirms 6 gadiem
Anastasia Smirnova
46e0c06fe7
Enable setting cursor after the last character (#10670)
* Enable setting cursor after the last character
Resolves #9157
* Reformat the code
* Reformat the code using conventions
pirms 6 gadiem
Artur
f106026e41
Send cursor position to server on blur even if the value has not changed (#9728)
Fixes #9653
pirms 6 gadiem
Henri Sara
4f047f06fa
Fix since tags for 8.0 (#8575)
Fix since tags for the server and shared modules and new types in client.
pirms 7 gadiem
Denis Anisimov
21e8f88ec9
Add javadocs and @since for the #20469 migration patch.
pirms 7 gadiem
Denis Anisimov
a8835eaf31
Update @since tags for 7.7.5
Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f
Re-added back disappeared commit from 7.7.5 migration PR:
Mark TextField/TextArea as busy when a text change event is pending
(#20469 )
Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
pirms 7 gadiem
Artur Signell
e77421b443
Fix AbstractTextFieldConnector super class
This makes field level features work correctly with
TextField/PasswordField/TextArea
Change-Id: I10c9fff10fdcf300e1e3a1940c97260ace849a81
pirms 7 gadiem
Artur Signell
78a5468279
Implement new RichTextArea
Change-Id: I6f430c77caaad6d610133f340eba960f2268897e
pirms 7 gadiem
Artur Signell
dfe23f7385
Send TextField value to server on flush()
This seems to have been dropped from the new TextField patch and is needed e.g. for
shortcut handlers to send the value before invoking the shortcut
Change-Id: Icb0fb45c8d28fad90f13f958cbc5970cdb0fd54a
pirms 7 gadiem
Artur Signell
a18552fb25
Add AbstractTextField client side to make mapping 1:1
Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49
pirms 7 gadiem
Aleksi Hietanen
4a6a632b1f
Update TextArea to extend AbstractFieldNew (#53)
Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
pirms 7 gadiem
Artur Signell
983a4e3417
Use RPC for TextField cursor position and selection range updates
Change-Id: I48595a1d1a9a1620739d00a499d996026bd51000
pirms 7 gadiem
Artur Signell
848b877d47
Cleanup of TextField
Change-Id: Ia596f58bb0c44e2d70ccf2c0add95d86b33afdcb
pirms 7 gadiem
Aleksi Hietanen
628adbf01a
Fix TextField and related tests
- Fixes sendValueChange in TextFieldConnector
- VTextField now adds/removes dependent stylename "focus" on focus/blur
Change-Id: I965c30dd296cdab43ee5dc6cc8c7f8306392d8a2
pirms 7 gadiem
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
pirms 7 gadiem
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
pirms 7 gadiem
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
pirms 7 gadiem
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
pirms 8 gadiem
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
pirms 9 gadiem
Sauli Tähkäpää
4af793d06a
Prevent field from updating when removing text change listener. (#16270)
Change-Id: I65c598ae71414550eb648fabf6e94fb1dabbef97
pirms 9 gadiem
AMahdy AbdElAziz
21b554709f
Ignore change btwn paints and force update unfocused TextField (#15144)
Change-Id: I0ddcea2a617fea00d707f7deaf155e98b9d6a832
pirms 9 gadiem
Artur Signell
399b62d0ec
Revert "TextField's input prompt is now disabled properly (#15144)"
This reverts commit 52236519d9
.
Causes regression when updating style names in a text change listener (TextChangeListenerChangingNonTextProperties)
Change-Id: I50bdb674872b98f3b1495a1115e352bfa7f13e8c
pirms 9 gadiem
Sara Seppola
52236519d9
TextField's input prompt is now disabled properly (#15144)
Change-Id: I9b5d07ec2d8df78c3f120c2a891cc548da787f38
pirms 9 gadiem
Jonni Nakari
4af5c38628
Comment typo fix
Change-Id: I3f01eb1725b81c834f990f9ea2e69d4dfe420993
pirms 9 gadiem
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
pirms 10 gadiem
Artur Signell
9af9a2d1e6
Fixed NPE when TextField value is null (#11021)
Ticket: 11021
Change-Id: If3b99333a116e6191ba3f563738e456a07173ab4
pirms 11 gadiem
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
pirms 11 gadiem
Mikael Grankvist
8a264ec405
(#9949) Flush focused connector on historyChange
Change-Id: Ia0f41220a038a83fcbcbbe9feebe066cbc626e27
pirms 11 gadiem
Leif Åstrand
3fc9f19534
Global code cleanup
Change-Id: I14f46e6aa4f9cbdd9037f1c4ad1ac38fe7cbda86
pirms 11 gadiem
Johannes Dahlström
d67ed23096
Move widget classes from c.v.c.ui.<widget> to c.v.c.ui (#9392)
Change-Id: I5bc64ed7446ca6f87311bf63f49fb883cfd8b538
pirms 11 gadiem
John Ahlroos
dac974af9b
Removed getters/setters from states and made instance variabled public
pirms 11 gadiem
Artur Signell
bfbfdd51a0
Renamed com.vaadin.terminal.gwt.client to com.vaadin.client (#9432)
pirms 11 gadiem
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
pirms 11 gadiem
Artur Signell
acf099b41f
Eliminated dependencies from server to client (#9279)
pirms 11 gadiem
Artur Signell
14dd4d0b28
Moved client files to a client src folder (#9299)
pirms 11 gadiem
Leif Åstrand
7f75d0f4cf
Move classes common to client and server to com.vaadin.shared.* (#8934)
pirms 12 gadiem
Leif Åstrand
3604bf01de
Add Java 6 @Override annotations to all methods from interfaces
pirms 12 gadiem
Artur Signell
79bb29e855
State is now created using generators, removed setState (#8502)
pirms 12 gadiem
Artur Signell
2e6c788c14
Moved most of TextField/TextArea/PasswordField paintContent to state
Removed deprecated value formatter from AbstractTextField (#8672 )
pirms 12 gadiem
Artur Signell
c6d0787d1b
Renamed @Component to @Connect
@Component is not good as the server side does not have to be a Component
pirms 12 gadiem
Artur Signell
429aeadef9
Moved each component to its own package on client side
Class loaders have problems with referring to static inner classes (e.g.
state classes) when they cannot load the declaring class. To deal with
this the components have been moved to their own packages and state/rpc
classes will be defined in their own Java files.
pirms 12 gadiem
Artur Signell
28bdc6a011
ServerConnector is no longer a Paintable, components using updateFromUidl are
pirms 12 gadiem
Henri Sara
87e5022ca8
Replace @ClientWidget with client-side @Component (#8440)
pirms 12 gadiem
Artur Signell
8ba0e099ac
#8438 Event handler registration is now a Set in the shared state
pirms 12 gadiem
Artur Signell
6548c896ea
Fixed readonly handling for fields (depends on property readonly
status) and enable state handling for components on client side
(depend on parent)
pirms 12 gadiem
Artur Signell
6cf9afc850
Organized imports and formatted all java files
pirms 12 gadiem
Artur Signell
f603acfa30
Renamed Paintable component classes to Connector
pirms 12 gadiem