|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttecgraf.javautils.excel.v1.poi.PoiExcelStyle
public class PoiExcelStyle
Classe responsável por criar um estilo para ser aplicado em celulas de uma planilha.
| Constructor Summary | |
|---|---|
PoiExcelStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
Construtor padrão |
|
| Method Summary | |
|---|---|
PoiExcelStyle |
backcolor(ExcelColor color)
Aplica um fundo para o estilo |
PoiExcelStyle |
bold()
Aplica negrito no estilo |
ExcelStyle |
borderBottom(ExcelStroke stroke,
ExcelColor color)
Aplica a borda em baixo |
ExcelStyle |
borderLeft(ExcelStroke stroke,
ExcelColor color)
Aplica a borda |
ExcelStyle |
borderRight(ExcelStroke stroke,
ExcelColor color)
Aplica a borda |
ExcelStyle |
borderTop(ExcelStroke stroke,
ExcelColor color)
Aplica a borda no topo |
Object |
buildAdapter()
Cria um adpter novo |
ExcelStyle |
center()
Aplica o alinhamento para o centro |
PoiExcelStyle |
clone()
|
boolean |
equals(Object obj)
|
PoiExcelStyle |
forecolor(ExcelColor color)
Aplica uma cor para o texto no estilo |
Object |
getAdapter()
Retorna o objeto de implementação |
protected org.apache.poi.hssf.usermodel.HSSFFont |
getFont()
Retorna a fonte |
protected org.apache.poi.hssf.usermodel.HSSFCellStyle |
getStyle()
Retorna o estilo criado |
protected org.apache.poi.hssf.usermodel.HSSFWorkbook |
getWorkbook()
Retorna a planilha excel |
int |
hashCode()
|
PoiExcelStyle |
italic()
Aplica italico no estilo |
ExcelStyle |
left()
Aplica o alinhamento para esquerda |
ExcelStyle |
right()
Aplica o alinhamento para direita |
PoiExcelStyle |
size(int height)
Aplica um tamanho de fonte diferente para o estilo |
PoiExcelStyle |
strikeout()
Aplica sobrelinha no estilo |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PoiExcelStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
workbook - | Method Detail |
|---|
public ExcelStyle left()
left in interface ExcelStylepublic ExcelStyle center()
center in interface ExcelStylepublic ExcelStyle right()
right in interface ExcelStylepublic PoiExcelStyle bold()
bold in interface ExcelStylepublic PoiExcelStyle italic()
italic in interface ExcelStylepublic PoiExcelStyle strikeout()
strikeout in interface ExcelStylepublic PoiExcelStyle forecolor(ExcelColor color)
forecolor in interface ExcelStylecolor - cor do texto
public PoiExcelStyle backcolor(ExcelColor color)
backcolor in interface ExcelStylecolor - cor do fundo
public PoiExcelStyle size(int height)
size in interface ExcelStyleheight - altura em pixel
public ExcelStyle borderTop(ExcelStroke stroke,
ExcelColor color)
borderTop in interface ExcelStylestroke - espessura da linhacolor - cor da linha
public ExcelStyle borderBottom(ExcelStroke stroke,
ExcelColor color)
borderBottom in interface ExcelStylestroke - espessura da linhacolor - cor da linha
public ExcelStyle borderLeft(ExcelStroke stroke,
ExcelColor color)
borderLeft in interface ExcelStylestroke - espessura da linhacolor - cor da linha
public ExcelStyle borderRight(ExcelStroke stroke,
ExcelColor color)
borderRight in interface ExcelStylestroke - espessura da linhacolor - cor da linha
protected org.apache.poi.hssf.usermodel.HSSFCellStyle getStyle()
protected org.apache.poi.hssf.usermodel.HSSFFont getFont()
public Object buildAdapter()
protected org.apache.poi.hssf.usermodel.HSSFWorkbook getWorkbook()
public Object getAdapter()
getAdapter in interface ExcelStylepublic PoiExcelStyle clone()
clone in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||