|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.fixagora.basis.server.control.spreadsheet.SpreadSheetWorker
public class SpreadSheetWorker
The Class SpreadSheetWorker.
Constructor Summary | |
---|---|
SpreadSheetWorker(SpreadSheet spreadSheet,
org.apache.poi.ss.usermodel.Workbook workbook,
SpreadSheetHandler spreadSheetHandler,
java.util.Set<org.jboss.netty.channel.Channel> channels)
Instantiates a new spread sheet worker. |
Method Summary | |
---|---|
void |
checkTrigger(java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> updatedCells)
Check trigger. |
void |
close()
Close. |
void |
close(org.jboss.netty.channel.Channel channel)
Close. |
org.apache.poi.hssf.usermodel.HSSFWorkbook |
copyWorkbook()
Copy workbook. |
java.util.Set<org.jboss.netty.channel.Channel> |
getChannels()
Gets the channels. |
java.lang.Double |
getDeltaValue(java.lang.String string)
Gets the delta value. |
java.lang.Object |
getOldValue(java.lang.String string)
Gets the old value. |
org.apache.poi.hssf.usermodel.HSSFSheet |
getSheet()
Gets the sheet. |
SpreadSheet |
getSpreadSheet()
Gets the spread sheet. |
SpreadSheetCellFormat |
getSpreadSheetCellFormat(java.lang.String formatAsString)
Gets the spread sheet cell format. |
SpreadSheetConditionalFormat |
getSpreadSheetConditionalFormat(java.lang.String formatAsString)
Gets the spread sheet conditional format. |
java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> |
getUpdatedCells()
Gets the updated cells. |
void |
handleFIXMessage(java.util.List<MDInputEntry> mdInputEntries)
Handle fix message. |
void |
init()
Inits the. |
void |
onClearSpreadSheetCellFormat(int sourceRow,
int sourceRowCount,
int sourceColumn,
int sourceColumnCount,
java.util.Set<SpreadSheetCellFormat> copySpreadSheetCellFormatSet,
java.util.Set<SpreadSheetConditionalFormat> copySpreadSheetConditionalFormatSet)
On clear spread sheet cell format. |
org.apache.poi.hssf.usermodel.HSSFWorkbook |
onCutSpreadSheetCellRequest(CutSpreadSheetCellRequest cutSpreadSheetCellRequest)
On cut spread sheet cell request. |
void |
onDeleteColumnRequest(DeleteColumnRequest deleteColumnRequest,
org.jboss.netty.channel.Channel channel)
On delete column request. |
void |
onDeleteRowRequest(DeleteRowRequest deleteRowRequest,
org.jboss.netty.channel.Channel channel)
On delete row request. |
void |
onInsertColumnRequest(InsertColumnRequest insertColumnRequest,
org.jboss.netty.channel.Channel channel)
On insert column request. |
void |
onInsertRowRequest(InsertRowRequest insertRowRequest,
org.jboss.netty.channel.Channel channel)
On insert row request. |
void |
onModifyColumnVisibleRequest(ModifyColumnVisibleRequest modifyColumnVisibleRequest,
org.jboss.netty.channel.Channel channel)
On modify column visible request. |
void |
onModifyColumnWidthRequest(ModifyColumnWidthRequest modifyColumnWidthRequest,
org.jboss.netty.channel.Channel channel)
On modify column width request. |
void |
onModifyRowVisibleResponse(ModifyRowVisibleRequest modifyRowVisibleRequest,
org.jboss.netty.channel.Channel channel)
On modify row visible response. |
void |
onModifySheetCellRequest(java.util.Collection<ModifySheetCellRequest> modifySheetCellRequests,
org.jboss.netty.channel.Channel channel)
On modify sheet cell request. |
void |
onModifySpreadSheetCellFormatRequest(ModifySpreadSheetCellFormatRequest modifySpreadSheetCellFormatRequest,
org.jboss.netty.channel.Channel channel)
On modify spread sheet cell format request. |
void |
onModifySpreadSheetConditionalFormatRequest(ModifySpreadSheetConditionalFormatRequest modifySpreadSheetConditionalFormatRequest,
org.jboss.netty.channel.Channel channel)
On modify spread sheet conditional format request. |
void |
onPasteSpreadSheetCellRequest(PasteSpreadSheetCellRequest pasteSpreadSheetCellRequest,
org.apache.poi.hssf.usermodel.HSSFWorkbook pasteWorkbook,
java.util.Set<SpreadSheetCellFormat> spreadSheetCellFormatSet,
java.util.Set<SpreadSheetConditionalFormat> spreadSheetConditionalFormatSet,
SpreadSheetLocation spreadSheetLocation,
org.jboss.netty.channel.Channel channel)
On paste spread sheet cell request. |
void |
open(org.jboss.netty.channel.Channel channel)
Open. |
double |
parseDate(SpreadSheetCellFormat spreadSheetCellFormat,
SpreadSheetCell spreadSheetCell)
Parses the date. |
void |
putDeltaValue(java.lang.String string,
double value)
Put delta value. |
void |
sendUpdates(java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> updatedCell)
Send updates. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpreadSheetWorker(SpreadSheet spreadSheet, org.apache.poi.ss.usermodel.Workbook workbook, SpreadSheetHandler spreadSheetHandler, java.util.Set<org.jboss.netty.channel.Channel> channels)
spreadSheet
- the spread sheetworkbook
- the workbookspreadSheetHandler
- the spread sheet handlerchannels
- the channelsMethod Detail |
---|
public void init()
public void checkTrigger(java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> updatedCells)
updatedCells
- the updated cellspublic org.apache.poi.hssf.usermodel.HSSFSheet getSheet()
public SpreadSheet getSpreadSheet()
public void close(org.jboss.netty.channel.Channel channel)
channel
- the channelpublic void open(org.jboss.netty.channel.Channel channel)
channel
- the channelpublic java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> getUpdatedCells()
public void onModifySheetCellRequest(java.util.Collection<ModifySheetCellRequest> modifySheetCellRequests, org.jboss.netty.channel.Channel channel)
modifySheetCellRequests
- the modify sheet cell requestschannel
- the channelpublic double parseDate(SpreadSheetCellFormat spreadSheetCellFormat, SpreadSheetCell spreadSheetCell)
spreadSheetCellFormat
- the spread sheet cell formatspreadSheetCell
- the spread sheet cell
public void sendUpdates(java.util.Set<org.apache.poi.hssf.usermodel.HSSFCell> updatedCell)
updatedCell
- the updated cellpublic void onPasteSpreadSheetCellRequest(PasteSpreadSheetCellRequest pasteSpreadSheetCellRequest, org.apache.poi.hssf.usermodel.HSSFWorkbook pasteWorkbook, java.util.Set<SpreadSheetCellFormat> spreadSheetCellFormatSet, java.util.Set<SpreadSheetConditionalFormat> spreadSheetConditionalFormatSet, SpreadSheetLocation spreadSheetLocation, org.jboss.netty.channel.Channel channel)
pasteSpreadSheetCellRequest
- the paste spread sheet cell requestpasteWorkbook
- the paste workbookspreadSheetCellFormatSet
- the spread sheet cell format setspreadSheetConditionalFormatSet
- the spread sheet conditional format setspreadSheetLocation
- the spread sheet locationchannel
- the channelpublic void onModifySpreadSheetCellFormatRequest(ModifySpreadSheetCellFormatRequest modifySpreadSheetCellFormatRequest, org.jboss.netty.channel.Channel channel)
modifySpreadSheetCellFormatRequest
- the modify spread sheet cell format requestchannel
- the channelpublic org.apache.poi.hssf.usermodel.HSSFWorkbook onCutSpreadSheetCellRequest(CutSpreadSheetCellRequest cutSpreadSheetCellRequest)
cutSpreadSheetCellRequest
- the cut spread sheet cell request
public SpreadSheetCellFormat getSpreadSheetCellFormat(java.lang.String formatAsString)
formatAsString
- the format as string
public void onClearSpreadSheetCellFormat(int sourceRow, int sourceRowCount, int sourceColumn, int sourceColumnCount, java.util.Set<SpreadSheetCellFormat> copySpreadSheetCellFormatSet, java.util.Set<SpreadSheetConditionalFormat> copySpreadSheetConditionalFormatSet)
sourceRow
- the source rowsourceRowCount
- the source row countsourceColumn
- the source columnsourceColumnCount
- the source column countcopySpreadSheetCellFormatSet
- the copy spread sheet cell format setcopySpreadSheetConditionalFormatSet
- the copy spread sheet conditional format setpublic void onModifyColumnWidthRequest(ModifyColumnWidthRequest modifyColumnWidthRequest, org.jboss.netty.channel.Channel channel)
modifyColumnWidthRequest
- the modify column width requestchannel
- the channelpublic void onModifyColumnVisibleRequest(ModifyColumnVisibleRequest modifyColumnVisibleRequest, org.jboss.netty.channel.Channel channel)
modifyColumnVisibleRequest
- the modify column visible requestchannel
- the channelpublic void onModifyRowVisibleResponse(ModifyRowVisibleRequest modifyRowVisibleRequest, org.jboss.netty.channel.Channel channel)
modifyRowVisibleRequest
- the modify row visible requestchannel
- the channelpublic java.lang.Object getOldValue(java.lang.String string)
string
- the string
public java.lang.Double getDeltaValue(java.lang.String string)
string
- the string
public void putDeltaValue(java.lang.String string, double value)
string
- the stringvalue
- the valuepublic void onModifySpreadSheetConditionalFormatRequest(ModifySpreadSheetConditionalFormatRequest modifySpreadSheetConditionalFormatRequest, org.jboss.netty.channel.Channel channel)
modifySpreadSheetConditionalFormatRequest
- the modify spread sheet conditional format requestchannel
- the channelpublic SpreadSheetConditionalFormat getSpreadSheetConditionalFormat(java.lang.String formatAsString)
formatAsString
- the format as string
public void onDeleteRowRequest(DeleteRowRequest deleteRowRequest, org.jboss.netty.channel.Channel channel)
deleteRowRequest
- the delete row requestchannel
- the channelpublic void onDeleteColumnRequest(DeleteColumnRequest deleteColumnRequest, org.jboss.netty.channel.Channel channel)
deleteColumnRequest
- the delete column requestchannel
- the channelpublic void onInsertRowRequest(InsertRowRequest insertRowRequest, org.jboss.netty.channel.Channel channel)
insertRowRequest
- the insert row requestchannel
- the channelpublic void onInsertColumnRequest(InsertColumnRequest insertColumnRequest, org.jboss.netty.channel.Channel channel)
insertColumnRequest
- the insert column requestchannel
- the channelpublic java.util.Set<org.jboss.netty.channel.Channel> getChannels()
public void handleFIXMessage(java.util.List<MDInputEntry> mdInputEntries)
mdInputEntries
- the md input entriespublic void close()
public org.apache.poi.hssf.usermodel.HSSFWorkbook copyWorkbook()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |