Directory

← Back

ColorPickerField

A field wrapper for the Vaadin 7 color picker component

Author

Rating

Popularity

<100

A field wrapper for the Vaadin 7 color picker component including converter implementations for the Color class.

Sample code

VerticalLayout layout = new VerticalLayout();
        
ColorPickerField colorPicker = new ColorPickerField();
layout.addComponent(colorPicker);
        
TextField textField = new TextField("Your Color:");
textField.setConverter(new RgbToColorConverter());
textField.setPropertyDataSource(colorPicker);
layout.addComponent(textField);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Added ColorTo*Converters

Released
2015-11-29
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.4+
Browser
N/A

ColorPickerField - Vaadin Add-on Directory

A field wrapper for the Vaadin 7 color picker component ColorPickerField - Vaadin Add-on Directory
A field wrapper for the Vaadin 7 color picker component including converter implementations for the Color class.
Online