Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
72 строки
1.6 KiB
72 строки
1.6 KiB
package com.bstek.ureport.chart.option.impl;
|
|
|
|
import com.bstek.ureport.chart.option.FontStyle;
|
|
import com.bstek.ureport.chart.option.Option;
|
|
import com.bstek.ureport.chart.option.Position;
|
|
|
|
/**
|
|
* @author Jacky.gao
|
|
* @since 2017年6月8日
|
|
*/
|
|
public class TitleOption implements Option {
|
|
private boolean display;
|
|
private Position position=Position.top;
|
|
private int fontSize=12;
|
|
private String fontFamily="'Helvetica Neue', 'Helvetica', 'Arial', sans-serif";
|
|
private String fontColor="#666";
|
|
private FontStyle fontStyle=FontStyle.bold;
|
|
private int padding=10;
|
|
private String text;
|
|
@Override
|
|
public String getConfiguration() {
|
|
return null;
|
|
}
|
|
public boolean isDisplay() {
|
|
return display;
|
|
}
|
|
public void setDisplay(boolean display) {
|
|
this.display = display;
|
|
}
|
|
public Position getPosition() {
|
|
return position;
|
|
}
|
|
public void setPosition(Position position) {
|
|
this.position = position;
|
|
}
|
|
public int getFontSize() {
|
|
return fontSize;
|
|
}
|
|
public void setFontSize(int fontSize) {
|
|
this.fontSize = fontSize;
|
|
}
|
|
public String getFontFamily() {
|
|
return fontFamily;
|
|
}
|
|
public void setFontFamily(String fontFamily) {
|
|
this.fontFamily = fontFamily;
|
|
}
|
|
public String getFontColor() {
|
|
return fontColor;
|
|
}
|
|
public void setFontColor(String fontColor) {
|
|
this.fontColor = fontColor;
|
|
}
|
|
public FontStyle getFontStyle() {
|
|
return fontStyle;
|
|
}
|
|
public void setFontStyle(FontStyle fontStyle) {
|
|
this.fontStyle = fontStyle;
|
|
}
|
|
public int getPadding() {
|
|
return padding;
|
|
}
|
|
public void setPadding(int padding) {
|
|
this.padding = padding;
|
|
}
|
|
public String getText() {
|
|
return text;
|
|
}
|
|
public void setText(String text) {
|
|
this.text = text;
|
|
}
|
|
}
|
|
|