Teemu Suo-Anttila
332fa13334
Remove scheduleDeferred calls from Escalator
Change-Id: Idfde7842fd31be4b84a1436b40eaa932b6a6c349
8 years ago
Johannes Dahlström
883fa51bc9
Set pixel sizes to Grid columns when user starts drag resize (#16838)
This makes column resizes smoother and more intuitive.
Change-Id: I6e4e92e0391d8f95f74ec89cfc3ffbbb133c7ecc
8 years ago
pag
6539cb439f
VTree$TreeNode avoid NPE triggered by external ONLOAD events (#18563)
If an ONLOAD event fires but the target is not the icon, an NPE
occurs. The isCaptionElement method has already used the check
against null before any call happens on the icon which logic is
enough for the onBrowserEvent check as well.
Change-Id: I64de45a07f50f113dcfcb4556f0d8adeea9e1b1b
8 years ago
Marco Collovati
2333da5893
Implemented HasEnabled on VLink (#18530)
Method setWidgetEnabled in AbstractComponentConnector,
called from updateEnabledState, sets enable state only for widgets
implementing HasEnabled interface.
Change-Id: Idc700d0c28efd13b9a9470333b19a1509cca4a51
8 years ago
Denis Anisimov
bf030a07b0
Provide own states for a number of components (#18987).
Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
8 years ago
Teemu Suo-Anttila
97d3acb56f
Remove call to setEnabled in Grid Sidebar constructor (#19126)
Change-Id: I2b700c72bcdc0f3a6c75a5bfb31059a986bd4dc9
8 years ago
Teemu Suo-Anttila
e6165e8e18
Support ContextClicks in empty areas of Table and TreeTable (#19130)
When the user clicks an empty area, the TableContextClickEvent will still
fire, but will have a null property.
Change-Id: I39303f1a72d072db09c4fe6df8141d6caf0764c2
8 years ago
Teemu Suo-Anttila
a2b1860c16
Support Grid context click events in the empty areas of Grid (#19128)
Change-Id: Ia6aebc266c48fb284ebf8f7a89375390555d1bec
8 years ago
Teemu Suo-Anttila
2c7a984542
Move RpcDataProviderExtension and DataGenerator to correct package
New location is com.vaadin.server.communication.data as the extension
only manages the communication of container data to a client-side data
source.
Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
8 years ago
Markus Koivisto
3e7d6c8e5f
Fix empty @since for 7.6.0.alpha7
Change-Id: I8045727400c795fca78561c1a4c859595f7c53af
8 years ago
Markus Koivisto
e5634deaa7
Fix empty @since for 7.6.alpha7
Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d
8 years ago
Johannes Dahlström
2732b77278
Add Grid column resize event API (#16838)
Change-Id: I1cdecb54b3df45b16ddf2c7b06261198be086274
8 years ago
Teemu Suo-Anttila
b73e0d8885
Fix stack overflows in ListDataSource ListWrapper (#19104)
Change-Id: Ie04e673fcdb3ce0f63b07158b5cd9f128ea9c30e
8 years ago
Artur Signell
98f9c438d8
Add Grid.deselectAll() (#18339)
Change-Id: I5d5237fcc06ae184a884cb17fa9b6eee5c37179a
8 years ago
Teemu Suo-Anttila
025f3b2b25
Fix Checkbox event handling in Grid Editor (#19096)
This patch limits event preventDefault calls to happen only with Tab
navigation. No other events are prevented by default anymore. Earlier
implementation that prevented too many events was in patch for #16841
Change-Id: I78924d35c86b822295fdaf720b3e4540c43df5c0
8 years ago
Johannes Dahlström
5eee3acc26
Report user-resized column widths to server (#16838)
Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
8 years ago
Johannes Dahlström
ed5b1f2c27
Add API for setting Grid columns resizable (#16838)
By default columns can be drag-resized by the user. This can be changed on a
column-by-column basis.
Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b
8 years ago
Henri Sara
ddf4e617b2
Update/add @since tags in javadoc
Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
8 years ago
Patrik Lindström
d1e8d68248
Add handles to Grid default header for column drag resize (#16838)
Change-Id: If8399a13585ae691ea3b3ee4a41a1a38b342adb9
8 years ago
Teemu Suo-Anttila
548ee39a92
Remove Grid EditorEvents and Listeners
The EditorEvent API is not mature and useful enough to be present in a
stable release.
Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53
8 years ago
Teemu Suo-Anttila
5097095625
Add support for TreeContextClickEvents (#19062)
Tree connector now overrides the send context click event providing the
row key to the server-side via RPC call. This is then passed on to a
TreeContextClickEvent and fired to listeners.
This patch modifies the test base for context click testing by making it
tolerate 1 piksel differences. This was to fix any subpixel related
issues in coordinate comparison.
Change-Id: Iacced274a6b518b5f89378cbc32b8381362e1e4f
8 years ago
Teemu Suo-Anttila
dd029323df
Add GridContextClickEvent with item ids, properties and section (#16855)
Change-Id: I03091a3a7a22a921c127ed0b37fe792871ba5edd
8 years ago
Leif Åstrand
1d538feb45
Add Tree.htmlContentsAllowed (#7717)
Change-Id: I5c773da806b8358ee203c9c12fd2e2b6fec1970f
8 years ago
Teemu Suo-Anttila
904ae72ed3
Fix TreeTableContextClick support (#19056)
Change-Id: Ib6bac73ba96c4919df2e1bf5c9c83160707530bb
8 years ago
Teemu Suo-Anttila
4e02b7e740
Implement ContextClickEvent for Table (#19042)
This patch also introduces a testing infrastructure for context click
event and listener testing.
Change-Id: I3aa88758278c91086df3d0971edb34914a93fd29
8 years ago
Teemu Suo-Anttila
00dc7ab85e
Add support for ContextClickEvent in AbstractComponent (#19015)
Change-Id: I93d5d20925b8ac9b4b108ccc6deec2090e68aa0d
8 years ago
Teemu Pöntelin
df0fee150d
Close calendar popup when DateField is detached (#18985)
Change-Id: Ib04b7356577dd5027cd9daac351f49a1a1e23f1d
8 years ago
Leif Åstrand
939b0cd26e
Output end-to-end bootstrap time (#19034)
Change-Id: Ie3d75b3ca0c6535f03d08672677ffb95a86bde2f
8 years ago
Artur Signell
f594b3aba5
Skip checking unknown properties for @NoLayout on client side (#18334)
Change-Id: Ic03b419b8c10d5d7010c3d10479883149445fe40
8 years ago
Artur Signell
0fbf5b9307
Log reason for loading a connector bundle (#19024)
Change-Id: Idbad38ccbe519b6e0e5948a4d49e496e42845e3d
8 years ago
Artur Signell
fc2ef4bdc8
Fix resetting of top or left alignment in GridLayout (#18660)
Change-Id: I12b4d792f4d7cc7e3340d5566fda55f0cb23cbd0
8 years ago
Artur Signell
808297cb94
Create ConnectionStateHandler instance to enable overriding (#19017)
Change-Id: Idef9f42d4db109f236bc7b5e756c9e7441a618fc
8 years ago
Artur Signell
c08014ed2c
Do not rely on content-type to detect errors (#19009)
Change-Id: I8be0a85d43033d99ac73724a3c4621e13ba3f32b
8 years ago
Artur Signell
da8b43ed41
Correctly round tr width in Escalator (#18820)
* screenshot based tests for all themes for various features in Grid
Change-Id: Id44f319b517fdfa419b70d30a9f8d4bd5e82fa63
9 years ago
Artur Signell
ca3c460cbd
Adds support for defining the URL to use for push requests (#18989)
Change-Id: I12afaf7e5c5c385f3a19c7dab60f044d8721e082
8 years ago
Teemu Suo-Anttila
50b9c0c472
Fix missing @since, update release notes
Change-Id: Ib4bd0fe70de2189263d2aec7eb9255a2e4389b4b
8 years ago
Teemu Suo-Anttila
ca797d3b92
Prevent moving editor while requests are pending (#18959)
Change-Id: I5551ac7c8d602c7e28cf4ce99d5e7ca69bc925ff
8 years ago
Teemu Suo-Anttila
1695c1a6bd
Fix Grid internal focus tracking with Editor open (#18956)
Change-Id: I92b9f632960c041111ae9aada6055eab14a9bd81
8 years ago
Teemu Suo-Anttila
8f9538dffa
Clean up unneeded logging and focusCell method in Grid
Change-Id: Iaf2848e3873d87a8db3a694cd542a34dc669ec74
8 years ago
Henri Sara
e71f6cfd81
Make ordered layout Slot customizable (#18703)
Change-Id: If425d7196e9393f87659462d5b4488549988ee0d
8 years ago
Teemu Suo-Anttila
be5c159ee9
Fix Grid Editor handling to not track focus events from widgets (#18919)
Change-Id: Icfdc99c39e2a4ae5d1ee580bf0ca9b63a35ba256
8 years ago
Teemu Suo-Anttila
a968da0682
Fix Sidebar isOpen to not throw an exception (#18918)
Change-Id: I4a60e5a4d8939f996d72fe2234ea945e6afb5542
8 years ago
Teemu Suo-Anttila
a2c008be78
Fix Grid unbuffered validation error area theme (#18812)
Change-Id: Ifa37b341b1d49bb7964978a1f2ed0a65efbdcb2a
8 years ago
Teemu Suo-Anttila
32863384d6
Fix Escalator onResize to layout Finally instead of Deferred (#18751)
This patch also corrects a possible issue with calculating columns when
it is not attached.
Change-Id: I616eb0f6d060991d9f461b7e2b1e3f7f30fbd122
8 years ago
Teemu Suo-Anttila
d41455cc3e
Fix RpcDataSourceConnector data handling when scrolling fast (#18909)
Change-Id: Ibd048b322497350cef4a5c2fa675a17912247b0f
8 years ago
Teemu Suo-Anttila
89df22ae86
Fix Grid validation with row change race condition (#18908)
Change-Id: I628f6b2921f800218a2e65d866b2332a9c574bda
8 years ago
Manolo Carrasco
07a3c3c07c
Grid: allow zooming in touch devices.
- Since grid was not cancelling scrolling when multiple touches,
zooming was not working, this patch fixes "zoom trap".
- Prevent default when moving the scroll in touch devices to avoid
parent scrolling
Change-Id: I47856ef20bc835bb2b310b45f6d2749e950e8e7a
8 years ago
Teemu Suo-Anttila
a11bd16d7a
Add Tab move to next/previous row in Editor (#16841)
Change-Id: I142d7e70cd226f01905f34440b6ec5096eaa86d7
8 years ago
Teemu Suo-Anttila
5a876aba43
Add basic tab navigation with focus handling in Editor (#16841)
Change-Id: I89ca61020092cafd3390273ae90736bd6856c8a6
8 years ago
Johannes Dahlström
c522410a14
Fix scrolling bug when moving Grid editor up
Change-Id: I005e17ec8ce7927e5fc36975b1e784444d5904b7
8 years ago