com.vaadin.flow.component.charts.model.style.StyleWrapper Maven / Gradle / Ivy
/**
* Copyright 2000-2024 Vaadin Ltd.
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See {@literal } for the full
* license.
*/
package com.vaadin.flow.component.charts.model.style;
import com.vaadin.flow.component.charts.model.AbstractConfigurationObject;
/**
* Helper class when JSON structure needs object with just style field
*/
public class StyleWrapper extends AbstractConfigurationObject {
private Style style = new Style();
/**
* Return the style object
*
* @return
*/
public Style getStyle() {
return style;
}
/**
* Set the style object
*
* @param style
*/
public void setStyle(Style style) {
this.style = style;
}
}