summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2016-09-28 15:18:44 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2016-10-03 17:18:49 +0300
commitac84fe6b5837cda6345d676313283a6e9a9ccab0 (patch)
tree9f2b1e26b813a543c9aeead4cf09c893b095b798 /shared
parent9583be47338d2831aca345f7483d6df45f7da94b (diff)
downloadvaadin-framework-ac84fe6b5837cda6345d676313283a6e9a9ccab0.tar.gz
vaadin-framework-ac84fe6b5837cda6345d676313283a6e9a9ccab0.zip
Make ColorPicker an AbstractField<Color>
Remove old ColorSelector API from ColorPicker. The various subcomponents still implement ColorSelector for now. Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java
index 074ab06270..922534b8b9 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerState.java
@@ -15,7 +15,7 @@
*/
package com.vaadin.shared.ui.colorpicker;
-import com.vaadin.shared.AbstractComponentState;
+import com.vaadin.shared.AbstractFieldState;
import com.vaadin.shared.annotations.DelegateToWidget;
/**
@@ -23,7 +23,7 @@ import com.vaadin.shared.annotations.DelegateToWidget;
*
* @since 7.0.0
*/
-public class ColorPickerState extends AbstractComponentState {
+public class ColorPickerState extends AbstractFieldState {
{
primaryStyleName = "v-colorpicker";
}
@@ -35,5 +35,4 @@ public class ColorPickerState extends AbstractComponentState {
public String color = null;
public boolean showDefaultCaption;
-
}