public abstract class AdaptingSpreadsheet<T> extends Object implements Spreadsheet
Constructor and Description |
---|
AdaptingSpreadsheet(Spreadsheet aSpreadsheet) |
public AdaptingSpreadsheet(Spreadsheet aSpreadsheet)
public void activateSheet(String aName)
activateSheet
in interface Spreadsheet
public abstract T getAdaptedObject()
public Boolean getBooleanCellValue()
getBooleanCellValue
in interface Spreadsheet
public Date getDateCellValue()
getDateCellValue
in interface Spreadsheet
public BasicMatrix getMatrixSheetValue()
getMatrixSheetValue
in interface Spreadsheet
public Number getNumberCellValue()
getNumberCellValue
in interface Spreadsheet
public String[] getSheetNames()
getSheetNames
in interface Spreadsheet
public final Spreadsheet getSpreadsheet()
public String getStringCellValue()
getStringCellValue
in interface Spreadsheet
public void goHome()
goHome
in interface Spreadsheet
public void goTo(int aColumn, int aRow)
goTo
in interface Spreadsheet
public void goToFirstColumnOnNextRow()
goToFirstColumnOnNextRow
in interface Spreadsheet
public void goToFirstRowInNextColumn()
goToFirstRowInNextColumn
in interface Spreadsheet
public void goToNextColumn()
goToNextColumn
in interface Spreadsheet
public void goToNextRow()
goToNextRow
in interface Spreadsheet
public abstract void setAdaptedObject(T anObj)
public void setBooleanCellValue(Boolean aCellValue)
setBooleanCellValue
in interface Spreadsheet
public void setBooleanColumnValues(List<Boolean> someColumnValues)
setBooleanColumnValues
in interface Spreadsheet
public void setBooleanRowValues(List<Boolean> someRowValues)
setBooleanRowValues
in interface Spreadsheet
public void setDateCellValue(Date aCellValue)
setDateCellValue
in interface Spreadsheet
public void setDateColumnValues(List<Date> someColumnValues)
setDateColumnValues
in interface Spreadsheet
public void setDateRowValues(List<Date> someRowValues)
setDateRowValues
in interface Spreadsheet
public void setMatrixSheetValue(BasicMatrix aSheetValue)
setMatrixSheetValue
in interface Spreadsheet
public void setNumberCellValue(Number aCellValue)
setNumberCellValue
in interface Spreadsheet
public void setNumberCellValue(Number aCellValue, String aPattern)
setNumberCellValue
in interface Spreadsheet
public void setNumberColumnValues(List<Number> someColumnValues)
setNumberColumnValues
in interface Spreadsheet
public void setNumberRowValues(List<Number> someRowValues)
setNumberRowValues
in interface Spreadsheet
public void setStringCellValue(String aCellValue)
setStringCellValue
in interface Spreadsheet
public void setStringColumnValues(List<String> someColumnValues)
setStringColumnValues
in interface Spreadsheet
public void setStringRowValues(List<String> someRowValues)
setStringRowValues
in interface Spreadsheet
public void setTableSheetValue(Table aSheetValue)
setTableSheetValue
in interface Spreadsheet
public byte[] toByteArray()
toByteArray
in interface Spreadsheet
public void writeToFile(File aFile)
writeToFile
in interface Spreadsheet