List of usage examples for com.vaadin.shared.ui.colorpicker Color WHITE
Color WHITE
To view the source code for com.vaadin.shared.ui.colorpicker Color WHITE.
Click Source Link
From source file:eu.maxschuster.vaadin.colorpickerfield.AbstractColorPickerField.java
License:Apache License
@Override public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); Attributes attributes = design.attributes(); DesignAttributeHandler.writeAttribute("color", attributes, getClientColor(getValue()).getCSS(), Color.WHITE.getCSS(), String.class); DesignAttributeHandler.writeAttribute("popup-style", attributes, (popupStyle == AbstractColorPicker.PopupStyle.POPUP_NORMAL ? "normal" : "simple"), "normal", String.class); DesignAttributeHandler.writeAttribute("position", attributes, positionX + "," + positionY, "0,0", String.class); }