New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature #9357 - addStyleNames(...) #9537
Conversation
Reviewed 2 of 2 files at r1. server/src/main/java/com/vaadin/ui/Component.java, line 181 at r1 (raw file):
Link to addStyleName for a more complete description of the feature server/src/main/java/com/vaadin/ui/Component.java, line 185 at r1 (raw file):
Since this is aimed for Vaadin 8, you should use Interface default methods from Java 8. This change as it is right now will break any custom implementation of Component that does not extend AbstractComponent. server/src/main/java/com/vaadin/ui/Component.java, line 216 at r1 (raw file):
see above comment about default method. Comments from Reviewable |
- removed implementation from AbstractComponent - added implementation as default method to Component
You are right, I wasn't aware of possible custom implementations of Component. |
- added @see to addStyleNames and removeStyleNames
Review status: 0 of 1 files reviewed at latest revision, 3 unresolved discussions. server/src/main/java/com/vaadin/ui/Component.java, line 181 at r1 (raw file): Previously, tsuoanttila (Teemu Suo-Anttila) wrote…
Done. server/src/main/java/com/vaadin/ui/Component.java, line 185 at r1 (raw file): Previously, tsuoanttila (Teemu Suo-Anttila) wrote…
Done. server/src/main/java/com/vaadin/ui/Component.java, line 216 at r1 (raw file): Previously, tsuoanttila (Teemu Suo-Anttila) wrote…
Done. Comments from Reviewable |
- dismissed Teemu's addressed review comments as he is on vacation Reviewed 1 of 1 files at r3. Comments from Reviewable |
Review status: all files reviewed at latest revision, 3 unresolved discussions. Comments from Reviewable |
#9357
Add the following functions to Abstract Component and the respective Interface Component:
This change is