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

com.github.abel533.echarts.Geo Maven / Gradle / Ivy

package com.github.abel533.echarts;

import com.github.abel533.echarts.code.Roam;
import com.github.abel533.echarts.style.ItemStyle;

/**
 * @author liuzh
 * @since 2016-02-28 17:05
 */
public class Geo extends Basic implements Component {
    private String map;
    private Roam roam;
    private ItemStyle label;
    private ItemStyle itemStyle;

    public String map() {
        return this.map;
    }

    public Geo map(String map) {
        this.map = map;
        return this;
    }

    public Roam roam() {
        return this.roam;
    }

    public Geo roam(Roam roam) {
        this.roam = roam;
        return this;
    }

    public ItemStyle label() {
        if (this.label == null) {
            this.label = new ItemStyle();
        }
        return this.label;
    }

    public Geo label(ItemStyle label) {
        this.label = label;
        return this;
    }

    public ItemStyle itemStyle() {
        if (this.itemStyle == null) {
            this.itemStyle = new ItemStyle();
        }
        return this.itemStyle;
    }

    public Geo itemStyle(ItemStyle itemStyle) {
        this.itemStyle = itemStyle;
        return this;
    }

    public String getMap() {
        return map;
    }

    public void setMap(String map) {
        this.map = map;
    }

    public Roam getRoam() {
        return roam;
    }

    public void setRoam(Roam roam) {
        this.roam = roam;
    }

    public ItemStyle getLabel() {
        return label;
    }

    public void setLabel(ItemStyle label) {
        this.label = label;
    }

    public ItemStyle getItemStyle() {
        return itemStyle;
    }

    public void setItemStyle(ItemStyle itemStyle) {
        this.itemStyle = itemStyle;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy