/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.reporting.adhoc.pojo.components;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
public class TextComponent extends Component {
|
|
protected String fontName = "Serif";
|
|
protected int size = 8;
|
|
protected boolean bold;
|
|
protected boolean underLine;
|
|
protected boolean blankWhenNull = true;
|
|
protected boolean printInFirtWholeBand = true;
|
|
protected boolean printWhenDetailOverflows = true;
|
|
protected String textAdjust = "CutText";
|
|
protected String foreColor = "#000000";
|
|
protected Paragraph paragraph = new Paragraph();
|
|
private boolean removeLineWhenBlank;
|
|
public String getFontName() {
|
return fontName;
|
}
|
|
public void setFontName(String fontName) {
|
this.fontName = fontName;
|
}
|
|
public int getSize() {
|
return size;
|
}
|
|
public void setSize(int size) {
|
this.size = size;
|
}
|
|
public boolean isBold() {
|
return bold;
|
}
|
|
public void setBold(boolean bold) {
|
this.bold = bold;
|
}
|
|
public boolean isBlankWhenNull() {
|
return blankWhenNull;
|
}
|
|
public void setBlankWhenNull(boolean blankWhenNull) {
|
this.blankWhenNull = blankWhenNull;
|
}
|
|
public String getTextAdjust() {
|
return textAdjust;
|
}
|
|
public void setTextAdjust(String textAdjust) {
|
this.textAdjust = textAdjust;
|
}
|
|
public boolean isPrintInFirtWholeBand() {
|
return printInFirtWholeBand;
|
}
|
|
public void setPrintInFirtWholeBand(boolean printInFirtWholeBand) {
|
this.printInFirtWholeBand = printInFirtWholeBand;
|
}
|
|
public boolean isPrintWhenDetailOverflows() {
|
return printWhenDetailOverflows;
|
}
|
|
public void setPrintWhenDetailOverflows(boolean printWhenDetailOverflows) {
|
this.printWhenDetailOverflows = printWhenDetailOverflows;
|
}
|
|
public String getForeColor() {
|
return foreColor;
|
}
|
|
public void setForeColor(String foreColor) {
|
this.foreColor = foreColor;
|
}
|
|
public Paragraph getParagraph() {
|
return paragraph;
|
}
|
|
public void setParagraph(Paragraph paragraph) {
|
this.paragraph = paragraph;
|
}
|
|
public boolean isUnderLine() {
|
return underLine;
|
}
|
|
public void setUnderLine(boolean underLine) {
|
this.underLine = underLine;
|
}
|
|
public boolean isRemoveLineWhenBlank() {
|
return removeLineWhenBlank;
|
}
|
|
public void setRemoveLineWhenBlank(boolean removeLineWhenBlank) {
|
this.removeLineWhenBlank = removeLineWhenBlank;
|
}
|
}
|