public class SequentialColumnGenerator extends Object implements ColumnGenerator<String>
| Constructor and Description |
|---|
SequentialColumnGenerator()
Construtor.
|
SequentialColumnGenerator(Integer startValue,
Integer step)
Construtor.
|
SequentialColumnGenerator(Integer startValue,
Integer step,
String prefix,
String suffix)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix()
Obtém o prefixo do valor.
|
int |
getStartValue()
Obtém o valor inicial.
|
int |
getStep()
Obtém o passo entre os valores.
|
String |
getSufix()
Obtém o sufixo do valor.
|
String |
getValueAt(int rowIndex)
Obtém o valor para a linha de um determinado índice da tabela.
|
void |
setPrefix(String prefix)
Atribui o prefixo do valor.
|
void |
setStartValue(Integer startValue)
Atribui o valor inicial.
|
void |
setStep(Integer step)
Atribui o passo entre os valores.
|
void |
setSufix(String sufix)
Atribui o o sufixo do valor.
|
public SequentialColumnGenerator()
public SequentialColumnGenerator(Integer startValue, Integer step)
startValue - Valor inicial.step - Passo entre os valores.public String getValueAt(int rowIndex)
getValueAt in interface ColumnGenerator<String>rowIndex - o índice da linha.public int getStartValue()
public int getStep()
public String getPrefix()
public String getSufix()
public void setStartValue(Integer startValue)
startValue - o valor inicial.public void setStep(Integer step)
step - o passo.public void setPrefix(String prefix)
prefix - o prefixo.public void setSufix(String sufix)
sufix - o sufixo.Copyright © 2016. All rights reserved.