net.sourceforge.fixagora.basis.client.model.editor
Class CellUpdateHandler

java.lang.Object
  extended by net.sourceforge.fixagora.basis.client.model.editor.CellUpdateHandler

public class CellUpdateHandler
extends java.lang.Object

The Class CellUpdateHandler.


Constructor Summary
CellUpdateHandler()
           
 
Method Summary
 void addFailedSheetCell(SpreadSheetCell spreadSheetCell)
          Adds the failed sheet cell.
 void addSpreadSheetCells(java.util.List<SpreadSheetCell> list)
          Adds the spread sheet cells.
 java.awt.Color getFadeoutColor(java.awt.Color color, java.awt.Color fadeOut, SpreadSheetCell spreadSheetCell)
          Gets the fadeout color.
 java.awt.Color getHighlightColor(java.awt.Color color, SpreadSheetCell spreadSheetCell)
          Gets the highlight color.
 boolean isRepaintRequired()
          Checks if is repaint required.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellUpdateHandler

public CellUpdateHandler()
Method Detail

addSpreadSheetCells

public void addSpreadSheetCells(java.util.List<SpreadSheetCell> list)
Adds the spread sheet cells.

Parameters:
list - the list

addFailedSheetCell

public void addFailedSheetCell(SpreadSheetCell spreadSheetCell)
Adds the failed sheet cell.

Parameters:
spreadSheetCell - the spread sheet cell

isRepaintRequired

public boolean isRepaintRequired()
Checks if is repaint required.

Returns:
true, if is repaint required

getHighlightColor

public java.awt.Color getHighlightColor(java.awt.Color color,
                                        SpreadSheetCell spreadSheetCell)
Gets the highlight color.

Parameters:
color - the color
spreadSheetCell - the spread sheet cell
Returns:
the highlight color

getFadeoutColor

public java.awt.Color getFadeoutColor(java.awt.Color color,
                                      java.awt.Color fadeOut,
                                      SpreadSheetCell spreadSheetCell)
Gets the fadeout color.

Parameters:
color - the color
fadeOut - the fade out
spreadSheetCell - the spread sheet cell
Returns:
the fadeout color