aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Table.java
Commit message (Collapse)AuthorAgeFilesLines
* Table.setVisibleColumns() causes table to forget column headers, icons, ↵Ilya Ermakov2015-06-091-20/+0
| | | | | | | | | alignment (#6245) Effect of this patch: when making column invisible and visible again, column headers, icons, alignment are preserved. Change-Id: Ia0718699f1a5fb8f60fec25a835ee64c58ca5404
* Fix TreeTable declarative support (#16368)Johannes Dahlström2015-04-281-22/+40
| | | | | | | | Also fix some small issues in Table declarative: * Write null property values as empty strings instead of NPEing * Read/write item ids from/to <tr item-id="..."> Change-Id: Ieccc3f49c5021f8a4a50d4ea671f9086ad8f997c
* Declarative write support for Table (#16367)Johannes Dahlström2015-04-201-0/+103
| | | | Change-Id: I9caa766be3152b35f7fe354b989e8cd6d615a043
* Declarative read support for Table (#16367)Johannes Dahlström2015-04-171-1/+162
| | | | Change-Id: I2327af18b2e1e4d31a057b110eee9495f16d9633
* Fixed typos in javadoc (#17384)Raphael Ackermann2015-04-041-19/+19
| | | | Change-Id: Ic74c269031e0131e2db55dace81ae51869308f12
* Add missing @since to VScrollTable and Table.Sauli Tähkäpää2015-02-051-1/+7
| | | | Change-Id: I7f249c880464b38226856a00882a05af80991d48
* Make table selectable based on presence of ValueChangeListener (#13864).Denis Anisimov2015-01-261-6/+13
| | | | Change-Id: I272703f1e3178c91a2b1e3e4d0f7c79e4c86e552
* ICON_ONLY mode should not show icon row header for TreeTable (#14799).Denis Anisimov2015-01-151-1/+1
| | | | Change-Id: If854186547e3d7b8e67710113ec6754bc84ace2f
* Fixed typo in JavadocMarkus Koivisto2014-10-291-1/+1
| | | | Change-Id: I8c84e09c8c485e310638a814fe686fe5f856656e
* Re-adding content in Table causes table to lose scroll position (#14581)Anna Miroshnik2014-10-071-64/+18
| | | | | | | | | | | | At this moment behavior of restoring scroll position more like as in 7.2.6. But restoring is only in case of removeAll() - addAll() (or add() one time - then restore index is reset). In 7.2.6 restoring of scroll position was the result of client defect (scrolling in lazyScroller was not changed if variable "firstvisible" fromserver was 0). This "defect" was fixed in one of the patches. Change-Id: I2e2fb8749ec95f3409caeacafff46c4c29159e74
* Re-adding all rows in Table causes table to loose scroll position (#14581)Anna Miroshnik2014-09-191-209/+285
| | | | | | | | | | Fix: if to remove (container.removeAllItems()) and then to re-add(container.addAll(..)) the same collection in table container - > scroll position is not loosed now. The hash code and scroll position of the old container is stored when a new container is added. If the new container has the same hash code, we restore the scroll position. The scroll position is not restored if another items added to the container. Change-Id: I52a22c3c1c7b71f1b3447b9d592ab8fececd67b8
* Make Vaadin component handling proxy-friendly (#14639)Juuso Valli2014-09-121-2/+2
| | | | | | Comparisons with the ==-operator between a proxy and it's underlying instance fail, so we should use a custom equals method instead. Change-Id: Iaa86ae830fecbedfb1f55636e25f5affebf5aba3
* Fix regression caused by #14147 patch (#14147)Anthony Guerreiro2014-08-061-212/+227
| | | | | | The previous patch caused TestCurrentPageFirstItem to fail. Change-Id: I6eec8818f5ba2ce847a696afa40ba423ec482668
* Reverting multiple commits that caused 100+ regression tests to fail.Markus Koivisto2014-08-051-1/+1
| | | | | | | | | | Commits reverted: * 392e8a0 - Minor refactor to #14147 patch * 8d470c9 - Context menu is not shown in Table body on mobi... (#13694) * f7dc719 - Fix Table stuck scroll position after setting ... (#14147) Change-Id: I3f5ed7fa15a9cfebce7a57662d229bf46118c5d6
* Fix Table stuck scroll position after setting scroll to last page (#14147)Anthony Guerreiro2014-07-291-1/+1
| | | | Change-Id: I9c39db5c2ccafd495a1ecc8b28687eeeebe3b6c2
* Fix Push update race condition (#13562)Juuso Valli2014-05-271-2/+9
| | | | Change-Id: I50094bc2d236f6dbb02a8b82d6cc9b5f7e4733a5
* Revert "Fix Push inserts producing duplicate rows in Table (#13562)"Sauli Tähkäpää2014-05-261-10/+2
| | | | | | This reverts commit ce1764fb1bad1b82462d73fbfe293b676c2a9c00. Change-Id: I897e0f3a0876eaea4b68f0e3b75671ccb1398242
* Fix Push inserts producing duplicate rows in Table (#13562)Juuso Valli2014-05-151-2/+10
| | | | Change-Id: I050553b233fb7024049c31d9495d90f4d88239c8
* Merge changes from origin/7.2 into masterJonatan Kronqvist2014-05-051-1/+1
|\ | | | | | | | | | | | | | | | | | | Conflicts: build.properties client/src/com/vaadin/client/ApplicationConnection.java client/src/com/vaadin/client/extensions/ResponsiveConnector.java server/src/com/vaadin/server/Responsive.java Change-Id: I49f90521611d1b86704a60c3d003cdeea9c3b864
| * Merge changes from origin/7.1Artur Signell2014-04-231-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e77e73c Update copyright year to 2014 Conflicts: client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ConnectorBundle.java client/src/com/vaadin/client/ApplicationConnection.java server/src/com/vaadin/data/util/converter/StringToNumberConverter.java shared/src/com/vaadin/shared/ui/ui/PageState.java shared/src/com/vaadin/shared/ui/window/WindowState.java theme-compiler/src/com/vaadin/sass/SassCompiler.java theme-compiler/src/com/vaadin/sass/internal/ScssStylesheet.java theme-compiler/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluator.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryExpression.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryOperator.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/ArithmeticException.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/IncompatibleUnitsException.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandler.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandlerImpl.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSErrorHandler.java theme-compiler/src/com/vaadin/sass/internal/parser/CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/Generic_CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/LexicalUnitImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/LocatorImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/MediaListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/ParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSLexicalUnit.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/SelectorListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/Selectors.java theme-compiler/src/com/vaadin/sass/internal/parser/ThrowedParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Token.java theme-compiler/src/com/vaadin/sass/internal/parser/TokenMgrError.java theme-compiler/src/com/vaadin/sass/internal/resolver/ClassloaderResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/FilesystemResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/ScssStylesheetResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/VaadinResolver.java theme-compiler/src/com/vaadin/sass/internal/selector/SelectorUtil.java theme-compiler/src/com/vaadin/sass/internal/tree/BlockNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ExtendNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ForNode.java theme-compiler/src/com/vaadin/sass/internal/tree/FunctionNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ImportNode.java theme-compiler/src/com/vaadin/sass/internal/tree/KeyframesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListContainsNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListModifyNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListRemoveNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MediaNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MicrosoftRuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinNode.java theme-compiler/src/com/vaadin/sass/internal/tree/NestPropertiesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/Node.java theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/SimpleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/VariableNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/EachDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfElseDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfNode.java theme-compiler/src/com/vaadin/sass/internal/util/ColorUtil.java theme-compiler/src/com/vaadin/sass/internal/util/DeepCopy.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayInputStream.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayOutputStream.java theme-compiler/src/com/vaadin/sass/internal/util/StringUtil.java theme-compiler/src/com/vaadin/sass/internal/visitor/BlockNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/EachNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ExtendNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/IfElseNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/NestedNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/VariableNodeHandler.java theme-compiler/tests/src/com/vaadin/sass/AbstractTestBase.java theme-compiler/tests/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluatorTest.java theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java theme-compiler/tests/src/com/vaadin/sass/resolvers/VaadinResolverTest.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Interpolation.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Selectors.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AbstractDirectoryScanningSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AutomaticSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ControlDirectives.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Extends.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Functions.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Imports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Mixins.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/NestedProperties.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Nesting.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentImports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentSelector.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTestsBroken.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassTestRunner.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Variables.java theme-compiler/tests/src/com/vaadin/sass/tree/ImportNodeTest.java uitest/src/com/vaadin/tests/push/BasicPushTest.java uitest/src/com/vaadin/tests/push/PushConfigurationTest.java uitest/src/com/vaadin/tests/push/PushReconnectTest.java Change-Id: Ic08c4f9aecd4c684ce74408de4e0b0d0ff617273
| | * Update copyright year to 2014Artur Signell2014-04-161-1/+1
| | | | | | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* | | Fix Table.sort(...) to update the sort indicator (#8978)Juuso Valli2014-04-251-1/+9
| | | | | | | | | | | | Change-Id: I2df7de7648a8a311a913267ef0d0d0e57f52f19d
* | | Clarify comments in Table.typeIsCompatible (#8168)Juuso Valli2014-04-231-16/+2
| | | | | | | | | | | | Change-Id: Idc9b2e2052afe2b5586904c535674ec686bb4685
* | | Clean Table.propertyValueConverters if the property is removed (#8168)Juuso Valli2014-04-231-9/+65
|/ / | | | | | | | | | | | | | | Clean Table.propertyValueConverters if the property it attached to is removed, or if the container is changed and the new container does not contain a property with that identifier with a matching type. Change-Id: I894ee6462ea7b9c1f9138a24fcb84db829165c7d
* / Remove dead codeJohannes Dahlström2014-01-171-1/+0
|/ | | | Change-Id: I1ac813afa47e38fb508e676d25d103a29bfada6a
* Fixes issue with Table not scrolling completely to the end #12651John Ahlroos2013-09-261-4/+28
| | | | | | | | Made the Table notice if the user is trying to scroll to an item on the last "page" and in those cases actually scroll to that item, not just to the page's first item as it did before. Change-Id: I47df33c75aa9b7e4f9a5f4bd5daeb301028517e8
* Table ignores Container updates while painting (#12258)Henrik Paul2013-09-021-0/+19
| | | | | | | | | Vaadin threw an IllegalStateException if a Container was updated while Table was being painted. SQLContainer was known to invalidate its cached size during a Table repaint, resulting in an ItemSetChangeEvent. This fix has been copied over from how ComboBox handles this situation. Change-Id: I04af71a5ea3844da245cb9e31ada4a30ff704619
* Fix issue with hidden component cells in Table and TreeTable #12119John Ahlroos2013-07-241-1/+4
| | | | Change-Id: I2f491d04ff177f7f0ce104c96b1c4a84ee7a2bc0
* Ensure table's cells aren't refreshed if table is detached. (#9138)Anna Koskinen2013-06-281-1/+1
| | | | Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a
* Updated Javadoc for Table.getColumnAlignment fixing #6810Sami Ekblad2013-06-281-1/+2
| | | | Change-Id: I05004cb874f5c32c03d28119d0522d3184a82292
* Use varargs instead of array where appropriate (#4513)Artur Signell2013-06-261-3/+3
| | | | Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
* Added type parameter to converter methods (#11895)Artur Signell2013-06-111-1/+2
| | | | Change-Id: I6562c537d9e5a0745eb67bc613123a265578ae00
* Fixed setting column width back to undefined by setting it to -1. #7922Leif Åstrand2013-03-141-21/+50
| | | | | | | | | | | | | svn changeset:25591/svn branch:6.8 Conflicts: server/src/com/vaadin/ui/Table.java Reverted change included by mistake in changeset [25591] for #7922 svn changeset:25606/svn branch:6.8 Change-Id: I6765a52ab213c131cca053227ee72b0007552f7f
* Merge of (#6160) and (#10470) to Vaadin 7.Johannes Dahlström2013-02-141-62/+145
| | | | | | Cache handling update. Change-Id: I81ba74d457eb484f6f2c350629534ab284ead7b7
* Set the first cause as the cause of CacheUpdateException (#10951)Leif Åstrand2013-02-061-3/+14
| | | | Change-Id: Icadfd46919c14fccfa1531b6f2b3e245dea3b111
* Merge of (#10563) to Vaadin 7.Anna Koskinen2013-02-051-32/+47
| | | | | | | Use template strings and log level checks to improve performance when logging is disabled. Change-Id: I48d370f523c6361ce8704afc7a0903412b31b2a0
* Merge of (#10312) to Vaadin 7.Anna Koskinen2013-02-011-7/+95
| | | | | | Cache update exception handling to Table. Change-Id: I882e78c3a2eb1ceaab484be748b6890ee321c290
* Merge of (#9133) to Vaadin 7.Anna Koskinen2013-01-111-1/+4
| | | | | | Sort optimization. Change-Id: I2b75de400acde7fe23574d6439b75e6f05b4eb55
* Merge of (#5681) to Vaadin 7.Anna Koskinen2013-01-111-5/+12
| | | | | | Column collapsing optimization. Change-Id: I3b27024569ee2c5aa464ff6a63e50dcf4a90a8ba
* Updated copyright notices and added missing license headersArtur Signell2013-01-041-1/+1
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Merge of (#6476) to Vaadin 7.Anna Koskinen2013-01-021-11/+10
| | | | | | | Table.setVisibleColumns should throw exception from duplicate property ids. Change-Id: I1465a99bd0c6241c3b31d88f5480fee99bbdc0ad
* Added method setContainerDataSource(Container newDataSource,Anna Koskinen2012-12-171-9/+59
| | | | | | Collection<?> visibleIds) to Table. (#10419) Change-Id: Ib10f430c786b1d0130f86eb5a97e271ac71e806f
* Fixed tooltip handling for Table (#9088)Artur Signell2012-11-291-2/+1
| | | | Change-Id: I0de74785fbc9eb68f958875031df59f1c61c8ec2
* Fixed Table to actually use converter from factory (#10408)Artur Signell2012-11-281-2/+2
| | | | Change-Id: I02dce8628def6ed926e79fff5762169a129f2426
* Unified deprecation messagesArtur Signell2012-11-221-26/+26
| | | | Change-Id: If3fc2c2d9b251cbc6f2a9da2ede23ff17f7362ef
* Moved isComponentVisible to separate interface (#10303)Artur Signell2012-11-201-5/+0
| | | | | | HasComponents.isComponentVisible is now SelectiveRenderer.isRendered Change-Id: Ic3b9cd65278ffc2a38ee20c76ec771ee057268bf
* Move deprecated getComponentIterator() from HasComponents to implementing ↵Johannes Dahlström2012-10-301-6/+8
| | | | | | classes (#10085) Change-Id: Iedcb7b51f6d2a095b402a7141dc906b112ee6fe7
* Fixed problem with Table calling markAsDirty in paint (#10071)Artur Signell2012-10-261-0/+9
| | | | | | AbstractCommunicationManager now sets the writingResponse flag after calling beforeClientResponse to adhere to beforeClientResponse javadoc which says markAsDirty is ignored if called from beforeClientResponse. Change-Id: I58f4d009c85bef6756e2f2938d6f42ed88e11143
* Constants -> enums (#9072)Pekka Hyvönen2012-09-111-0/+1
| | | | Patch from Pekka with minor changes (ButtonCode -> MouseButton, FilteringMode -> ComboBox)
* Remove unneeded requestRepaint methods (#9325)Leif Åstrand2012-09-071-6/+0
|