All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.pvanassen.highchart.api.base.Style Maven / Gradle / Ivy

The newest version!
package nl.pvanassen.highchart.api.base;

import java.util.HashMap;
import java.util.Map;

public class Style extends BaseObject {

    private Map properties;

    public Style() {
        properties = null;
    }

    public Map getProperties() {
        return properties;
    }

    public String getProperty(String property) {
        return properties != null ? properties.get(property) : null;
    }

    public Style setProperty(String property, String value) {
        if (properties == null) {
            properties = new HashMap();
        }
        properties.put(property, value);
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy