summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Pöntelin <teemu@vaadin.com>2014-06-13 15:57:37 +0300
committerSauli Tähkäpää <sauli@vaadin.com>2014-06-18 14:22:31 +0300
commit8a5613e4d0048b78e2251d13510cb01c5f9f4eab (patch)
treebac29355d7c6cfb1075f2445f85e35189b73be9d
parent6f1535311578d01bcf92314751d57985afa35054 (diff)
downloadvaadin-framework-8a5613e4d0048b78e2251d13510cb01c5f9f4eab.tar.gz
vaadin-framework-8a5613e4d0048b78e2251d13510cb01c5f9f4eab.zip
Added initial style name for VColorPickerArea (#14021)
Change-Id: I0f7be75f51ec771a68f6e388b412346f2c366957
-rw-r--r--client/src/com/vaadin/client/ui/VColorPickerArea.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VColorPickerArea.java b/client/src/com/vaadin/client/ui/VColorPickerArea.java
index e581cf3448..23a9379c80 100644
--- a/client/src/com/vaadin/client/ui/VColorPickerArea.java
+++ b/client/src/com/vaadin/client/ui/VColorPickerArea.java
@@ -34,6 +34,7 @@ import com.google.gwt.user.client.ui.Widget;
public class VColorPickerArea extends Widget implements ClickHandler, HasHTML,
HasClickHandlers {
+ public static final String CLASSNAME = "v-colorpicker";
private String color = null;
private boolean isOpen;
@@ -47,6 +48,7 @@ public class VColorPickerArea extends Widget implements ClickHandler, HasHTML,
public VColorPickerArea() {
super();
setElement(DOM.createDiv());
+ setStyleName(CLASSNAME);
caption = new HTML();
caption.addStyleName("v-caption");