summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Grid theme API changes and style fixesJouni Koivuviita2014-12-1712-843/+617
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed decorative element style names: - “headercorner” -> “header-deco” - “footercorner” -> “footer-deco” - “horizontalscrollbarbackground” -> “horizontal-scrollbar-deco” The “-stripe” style name is now added for odd rows, not even (like in all Table themes). Re-implemented the Base mixins for Grid and Escalator. They are now used for all themes, which should make future development easier because things should only be implemented in one place. This change makes the theme also less brittle hopefully, because it reduces the amount of pixel calculations for paddings etc. and relies more on plain CSS. The Base theme now offers many variables for extending themes. This reduces unnecessary CSS output, and makes it easier to maintain multiple themes for the Grid. Added a box-shadow and box-sizing mixins to Base. Converted all CSS comments to Sass comments. Change-Id: Iba925062c754c115b5f15e155659cfdccc702945
| * Move SortDirection from grid package to data package (#13334)Teemu Suo-Anttila2014-12-1715-15/+18
| | | | | | | | Change-Id: Id8fecbee0171b783a62d747433667267f530a6a7
| * Merge "Merge remote-tracking branch 'origin/master' into grid" into gridHenrik Paul2014-12-17129-261/+780
| |\
| | * Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-12-17129-261/+780
| | |\ | | | | | | | | | | | | Change-Id: If3dd8380afe425491dfb877c08c4ff078312a3aa
| * | | Fix keyboard navigation from footer/header to body (#13334)Teemu Suo-Anttila2014-12-171-2/+2
| |/ / | | | | | | | | | Change-Id: I2537a0931e26e001f641b27f7bb428e7941be56f
| * | Fix Grid Tests to test features correctly (#13334)Teemu Suo-Anttila2014-12-1711-91/+187
| | | | | | | | | | | | Change-Id: Ib7d8863487cc645f83539de2c9d8006fd8995da0
| * | Fixes an issue with Escalator.getVisibleRowRange() if it's emptyHenrik Paul2014-12-164-14/+52
| | | | | | | | | | | | Change-Id: I091248c4b4151769b351b45b7715d116de56c41a
| * | Remove unused "header-active" classname and style (#13334)Johannes Dahlström2014-12-165-54/+0
| | | | | | | | | | | | Change-Id: I11de89a69161d9b355d0de63b8a61470259b518e
| * | Fix IE8 exceptions when setting width to negative value (#13334)Teemu Suo-Anttila2014-12-152-4/+12
| | | | | | | | | | | | Change-Id: Ib0e2c2aa36568473d8aa98b53832128133127263
| * | Fix EditorRow not displaying widgets when opened for the first time (#13334)Johannes Dahlström2014-12-153-24/+53
| | | | | | | | | | | | Change-Id: If900558c4a927d7db7b206145e9f59fbb04afdf4
| * | GeneratedPropertyContainer returns the original containerHenrik Paul2014-12-151-0/+9
| | | | | | | | | | | | Change-Id: Ia766f1e989d6a06d4b1746b0612c090b6fbd2735
| * | Fixes removing Widgets from Grid header/footerTeemu Suo-Anttila2014-12-123-6/+107
| | | | | | | | | | | | Change-Id: Ic2872fec49851ea3c8ed32ca2a77dcbd27e739a8
| * | Merge remote-tracking branch 'origin/master' into gridLeif Åstrand2014-12-126-15/+206
| |\ \ | | | | | | | | | | | | Change-Id: I7f2c5de8200028b11223e2be3c673bef3339306a
| * | | Removes a stowaway file from Grid (#13334)Henrik Paul2014-12-121-922/+0
| | | | | | | | | | | | | | | | Change-Id: I010bf540b521bcec5f3f6a6d53693bdd042fd1ce
| * | | Refactor Grid client side package structure (#13334)Teemu Suo-Anttila2014-12-1292-751/+684
| | | | | | | | | | | | | | | | Change-Id: Iab81d2344480d2b60303172a96f4e5e4fa8e1623
| * | | Fixes a bug in Grid expand logic (#13334)Henrik Paul2014-12-122-14/+25
| | | | | | | | | | | | | | | | Change-Id: I0ec1ccc0bc88c9fac63abc67cf50f8b12013d984
| * | | Rename client side SelectionChangeEvent (#13334)Teemu Suo-Anttila2014-12-128-45/+44
| | | | | | | | | | | | | | | | Change-Id: I317e7eaa0613e1ce87cef0f4e19f29110104ada7
| * | | Rename SelectionChangeEvent and SortOrderChangeEvent (#13334)Teemu Suo-Anttila2014-12-127-91/+78
| | | | | | | | | | | | | | | | | | | | Also renames related listeners and notifiers. Change-Id: I96bfdae8173a1c691623938cc7dbcddee7198e46
| * | | Split CellStyleGenerator into separate cell and row style generatorsArtur Signell2014-12-1213-199/+767
| | | | | | | | | | | | | | | | | | | | | | | | (#13334) Change-Id: If07018b6f74ff1a4c616705f61b6118647d64342
| * | | Add expand and min/max width for GridColumns (#13334)Henrik Paul2014-12-129-97/+881
| | | | | | | | | | | | | | | | Change-Id: I6cb2f4a11d97c3704c1fd8f8571889f1a8d5c4b8
| * | | Refactor server-side editor row to work in real(er) cases (#13334)Leif Åstrand2014-12-127-219/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't configure fields for properties without columns - Rename "bind" to "set" to match the getter - Make it possible to get a field before editing has started - Remove setting of editable since the field can be configured directly - Remove error handler concept since we have not tests and no use cases - Unbind and detach field when removing a column Change-Id: I38ead4e680cdbab2525fe08ff09ed045255e2d4f
| * | | Remove unnecessary @since and @author JavaDoc markings (#13334)Teemu Suo-Anttila2014-12-121-15/+0
| | | | | | | | | | | | | | | | Change-Id: I5fe9fb9a5ec27ec047ef2286bd429efabaa0e818
| * | | Patches up the themes for Grid a bit (#13334)Henrik Paul2014-12-126-80/+159
| | | | | | | | | | | | | | | | Change-Id: I1231b8097d06d8230ddee640894ceaf749dab0ee
| * | | Remove SortEventOriginator and replace it with a boolean (#13334)Teemu Suo-Anttila2014-12-127-82/+27
| | | | | | | | | | | | | | | | Change-Id: I8a203c5e2f4bc9074ccf3cb4e7f347f17d89fe52
| * | | Merge remote-tracking branch 'origin/master' into gridArtur Signell2014-12-12114-512/+3723
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: server/tests/src/com/vaadin/data/util/BeanItemContainerTest.java Change-Id: I04938bd8c5b4f01c3ca801c9f7adbb20d279523c
| * | | | Columns can now have subpixel accuracy widths (#13334)Henrik Paul2014-12-1213-105/+1040
| | | | | | | | | | | | | | | | | | | | Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272
| * | | | Do not prefix generated styles (#13334)Artur Signell2014-12-124-77/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unprefixed styles are easier to use, are consistent with header styles and multiple styles are consistent instead of the first one being prefixed. Change-Id: I9ef7502e2e9ece33982f6bf563f95458bf6ea63d
| * | | | Make AbstractRemoteDataSource easier to use (#13334)Leif Åstrand2014-12-129-132/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds a callback to requestRows so implementors know what to do when receiving data - Guestimate the initial amount of available rows so an initial request can be made before the actual size is known Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4
| * | | | Move Sort related helpers and events to correct packages (#13334)Teemu Suo-Anttila2014-12-1212-128/+134
| | | | | | | | | | | | | | | Change-Id: I3aa86364b61d42f971c4fca2b4c4895ddae870c4
| * | | | Make SelectionChangeEvent general and move it to event packacge (#13334)Teemu Suo-Anttila2014-12-116-91/+50
| | | | | | | | | | | | | | | | | | | | Change-Id: I232bf1d021dd95dfa3e9697cef4d8e9987da3373
| * | | | Move server-side SelectionModels inside Grid (#13334)Teemu Suo-Anttila2014-12-119-677/+578
| | | | | | | | | | | | | | | Change-Id: I382ad0bcb192f44270eb60ec70d9141e8dd463f5
| * | | | Remove editor row discard methods; rename "commit" to "save" (#13334)Johannes Dahlström2014-12-1110-175/+68
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic7cec3c3750db8a2e0b23a4d38f63e9642999e3e
| * | | | Flatten client-side EditorRow API (#13334)Johannes Dahlström2014-12-114-21/+131
| | | | | | | | | | | | | | | | | | | | Change-Id: I44d8bf004616473481056bdaaa082a898b71438e
| * | | | Fix GridColumnAutoWidthClient test to use TestWidgetComponent (#13334)Teemu Suo-Anttila2014-12-114-38/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: I9189e0a547d2a40ebb61b30870194c27dd775b7c
| * | | | Move client-side EditorRow inside Grid (#13334)Johannes Dahlström2014-12-112-423/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step in the planned API flattening. Change-Id: I0127108b70131f328895dd8d7376c30b9a613464
| * | | | Move Renderers to com.vaadin.ui.renderer package (#13334)Teemu Suo-Anttila2014-12-1124-38/+37
| | | | | | | | | | | | | | | | | | | | Change-Id: I80370f05cfa8123d64728abd5ede9642931e0cd8
| * | | | Create harness for testing standalone widgets (#13334)Leif Åstrand2014-12-1113-157/+330
| | | | | | | | | | | | | | | | | | | | Change-Id: I4cce45280c1b55f1c6e3efe7ea9485f2cf25d08a
| * | | | Add missing TestCategory annotations (#13334)Teemu Suo-Anttila2014-12-116-28/+26
| | | | | | | | | | | | | | | | | | | | Change-Id: Iebae8ebe7fae01f886440b4f31e3a916c352baa8
| * | | | Fix selecting logic of SingleSelectionModel API (#13334)Teemu Suo-Anttila2014-12-115-28/+169
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib48e586cb791669efc4aa98442a31c1dda42e1aa
| * | | | Fixes some JavaDoc (#13334)Henrik Paul2014-12-111-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's still a lot of things you could explain, but no time for that now. Change-Id: I9f3bffe4d14f41b6370f02d0cab05a7559d385c2
| * | | | Avoid eager cache refresh after insert and remove (#13334)Leif Åstrand2014-12-113-2/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By doing the cache coverage check lazily, multiple inserts or removes happening "at the same time" can be taken into account when deciding which rows to fetch. Change-Id: I25c8248a1ec4cae76484c959efd474c9a880d329
| * | | | Split and capitalize header captions by defaultArtur Signell2014-12-106-58/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only done on the server side where we have property ids to generate the default headers from. On the client side you must always specify the header. Change-Id: Ic743fb3f52517116193b022cfdd2df7dea8dd487
| * | | | Add sanity checking to server side selection models (#13334)Teemu Suo-Anttila2014-12-105-7/+51
| | | | | | | | | | | | | | | | | | | | Change-Id: I9686cdbf82c017f834502cf56eafe23ca9829d5f
| * | | | Render empty cell instead of stopping rendering if a converter is missingArtur Signell2014-12-104-6/+98
| | | | | | | | | | | | | | | | | | | | Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656
| * | | | Fix client-side Fluid Sort API Javadoc (#13334)Artur Signell2014-12-101-2/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: If5f8508cb8d4572fd8f9176b0a62dcdd61a321a9
| * | | | GridColumns can resize-to-fit. (#13334)Henrik Paul2014-12-1020-135/+676
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SelectionColumns do that now automatically. Colspanned cells get ignored Change-Id: Ie427ba8df43ad84786c381def8cec216297feb06
| * | | | Introduce GridClickEvents and handlers (#13334)Teemu Suo-Anttila2014-12-109-8/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch also adds body cell click selecting to single selection model to test this feature. Change-Id: I06819799c97457dc0e7bd38dd5855eb33ba91943
| * | | | Remove selection column from single selection model (#13334)Teemu Suo-Anttila2014-12-107-85/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes some changes to selection model logic and refactors the space selection handling from MultiSelectionRenderer to its own class. Change-Id: I5c4a7d68531a8b4f38991719ae54c9f87119e9a4
| * | | | Don't set frozen column count before columns have been updated (#13334)Leif Åstrand2014-12-104-1/+86
| | | | | | | | | | | | | | | | | | | | Change-Id: I63ab65dad6dacfb5dafe55147c18d3e4ec0e36a5
| * | | | Flattening server-side EditorRow API (#13334)Leif Åstrand2014-12-104-508/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit just flattens the EditorRow class into Grid without changing any behavior. isEditing() was changed to isEditorRowActive() since isEditorRowEditing() didn't make any sense. Some javadocs have also been slightly tweaked. Change-Id: I7c266328ea93bde3e476bfb6e4d594469de26c76