
nl.pvanassen.highchart.api.Title Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highchart-java-api Show documentation
Show all versions of highchart-java-api Show documentation
A Java API to generate highchart json on the server side.
The newest version!
package nl.pvanassen.highchart.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import nl.pvanassen.highchart.api.base.BaseObject;
import nl.pvanassen.highchart.api.base.Style;
@XmlAccessorType(XmlAccessType.NONE)
public class Title extends BaseObject {
@XmlElement
private String text;
private Style style;
@XmlElement
private Integer margin;
public Title() {
style = null;
text = "";
}
public int getMargin() {
return margin;
}
public Style getStyle() {
if (style == null) {
style = new Style();
}
return style;
}
public String getText() {
return text;
}
public Title setMargin(int margin) {
this.margin = margin;
return this;
}
public Title setText(String text) {
this.text = text;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy