bad.robot.excel.row
Class DefaultStyledRowBuilder

java.lang.Object
  extended by bad.robot.excel.row.DefaultStyledRowBuilder
All Implemented Interfaces:
RowBuilder, StyledRowBuilder

public class DefaultStyledRowBuilder
extends Object
implements RowBuilder, StyledRowBuilder


Method Summary
static StyledRowBuilder aRow()
           
static StyledRowBuilder aRowWithDefaultStyle(Style defaultStyle)
           
 Row build()
           
 RowBuilder withBlank(ColumnIndex index)
           
 StyledRowBuilder withBlank(ColumnIndex index, Style style)
           
 RowBuilder withDate(ColumnIndex index, Date date)
           
 StyledRowBuilder withDate(ColumnIndex index, Date date, Style style)
           
 RowBuilder withDouble(ColumnIndex index, Double value)
           
 StyledRowBuilder withDouble(ColumnIndex index, Double value, Style style)
           
 RowBuilder withFormula(ColumnIndex index, String formula)
           
 StyledRowBuilder withFormula(ColumnIndex index, String formula, Style style)
           
 RowBuilder withInteger(ColumnIndex index, Integer value)
           
 StyledRowBuilder withInteger(ColumnIndex index, Integer value, Style style)
           
 RowBuilder withString(ColumnIndex index, String text)
           
 StyledRowBuilder withString(ColumnIndex index, String text, Style style)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

aRowWithDefaultStyle

public static StyledRowBuilder aRowWithDefaultStyle(Style defaultStyle)

aRow

public static StyledRowBuilder aRow()

withBlank

public RowBuilder withBlank(ColumnIndex index)
Specified by:
withBlank in interface RowBuilder

withBlank

public StyledRowBuilder withBlank(ColumnIndex index,
                                  Style style)
Specified by:
withBlank in interface StyledRowBuilder

withString

public RowBuilder withString(ColumnIndex index,
                             String text)
Specified by:
withString in interface RowBuilder

withString

public StyledRowBuilder withString(ColumnIndex index,
                                   String text,
                                   Style style)
Specified by:
withString in interface StyledRowBuilder

withDouble

public RowBuilder withDouble(ColumnIndex index,
                             Double value)
Specified by:
withDouble in interface RowBuilder

withDouble

public StyledRowBuilder withDouble(ColumnIndex index,
                                   Double value,
                                   Style style)
Specified by:
withDouble in interface StyledRowBuilder

withInteger

public RowBuilder withInteger(ColumnIndex index,
                              Integer value)
Specified by:
withInteger in interface RowBuilder

withInteger

public StyledRowBuilder withInteger(ColumnIndex index,
                                    Integer value,
                                    Style style)
Specified by:
withInteger in interface StyledRowBuilder

withDate

public RowBuilder withDate(ColumnIndex index,
                           Date date)
Specified by:
withDate in interface RowBuilder

withDate

public StyledRowBuilder withDate(ColumnIndex index,
                                 Date date,
                                 Style style)
Specified by:
withDate in interface StyledRowBuilder

withFormula

public RowBuilder withFormula(ColumnIndex index,
                              String formula)
Specified by:
withFormula in interface RowBuilder

withFormula

public StyledRowBuilder withFormula(ColumnIndex index,
                                    String formula,
                                    Style style)
Specified by:
withFormula in interface StyledRowBuilder

build

public Row build()
Specified by:
build in interface RowBuilder


Copyright © 2013. All Rights Reserved.