|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
net.sourceforge.fixagora.basis.client.model.editor.SpreadSheetTableModel
public class SpreadSheetTableModel
The Class SpreadSheetTableModel.
Constructor Summary | |
---|---|
SpreadSheetTableModel(SpreadSheetEditor spreadSheetEditor)
Instantiates a new spread sheet table model. |
Method Summary | |
---|---|
void |
addDropShadow(java.util.Set<java.lang.String> cellRefs)
Adds the drop shadow. |
int |
getColumnCount()
|
java.lang.String |
getColumnName(int column)
|
java.lang.Integer |
getFractionalOffset(int column)
Gets the fractional offset. |
int |
getRowCount()
|
SpreadSheet |
getSpreadSheet()
Gets the spread sheet. |
SpreadSheetCellFormat |
getSpreadSheetCellFormatAt(int row,
int column)
Gets the spread sheet cell format at. |
SpreadSheetConditionalFormat |
getSpreadSheetConditionalFormatAt(int row,
int column)
Gets the spread sheet conditional format at. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
|
void |
increaseColumnCount()
Increase column count. |
void |
increaseRowCount()
Increase row count. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
boolean |
isDropShadow(int row,
int column)
Checks if is drop shadow. |
boolean |
isShowingFormula()
Checks if is showing formula. |
void |
onUpdateSheetCellFormatResponse(UpdateSheetCellFormatResponse updateSheetCellFormatResponse)
On update sheet cell format response. |
void |
onUpdateSheetCellResponse(UpdateSheetCellResponse updateSheetCellResponse)
On update sheet cell response. |
void |
onUpdateSheetConditionalFormatResponse(UpdateSheetConditionalFormatResponse updateSheetConditionalFormatResponse)
On update sheet conditional format response. |
void |
switchShowingFormula(boolean showingFormula)
Switch showing formula. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpreadSheetTableModel(SpreadSheetEditor spreadSheetEditor)
spreadSheetEditor
- the spread sheet editorMethod Detail |
---|
public SpreadSheet getSpreadSheet()
public int getColumnCount()
public void increaseColumnCount()
public void increaseRowCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void onUpdateSheetCellResponse(UpdateSheetCellResponse updateSheetCellResponse)
updateSheetCellResponse
- the update sheet cell responsepublic void onUpdateSheetCellFormatResponse(UpdateSheetCellFormatResponse updateSheetCellFormatResponse)
updateSheetCellFormatResponse
- the update sheet cell format responsepublic java.lang.Integer getFractionalOffset(int column)
column
- the column
public SpreadSheetCellFormat getSpreadSheetCellFormatAt(int row, int column)
row
- the rowcolumn
- the column
public SpreadSheetConditionalFormat getSpreadSheetConditionalFormatAt(int row, int column)
row
- the rowcolumn
- the column
public void onUpdateSheetConditionalFormatResponse(UpdateSheetConditionalFormatResponse updateSheetConditionalFormatResponse)
updateSheetConditionalFormatResponse
- the update sheet conditional format responsepublic boolean isShowingFormula()
public void switchShowingFormula(boolean showingFormula)
showingFormula
- the showing formulapublic void addDropShadow(java.util.Set<java.lang.String> cellRefs)
cellRefs
- the cell refspublic boolean isDropShadow(int row, int column)
row
- the rowcolumn
- the column
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |