jdbreport.grid.undo
Class SetValueItem

java.lang.Object
  extended by jdbreport.grid.undo.AbstractGridUndo
      extended by jdbreport.grid.undo.SetValueItem
All Implemented Interfaces:
UndoItem

public class SetValueItem
extends AbstractGridUndo

Version:
1.1 03/09/08
Author:
Andrey Kholmanskih

Field Summary
static String CELL_VALUE
           
 
Fields inherited from class jdbreport.grid.undo.AbstractGridUndo
selectedRect
 
Fields inherited from interface jdbreport.grid.undo.UndoItem
ADD_COLUMNS, ADD_GROUP, ADD_ROWS, CELL_ALIGN, CELL_AUTOHEIGHT, CELL_BACKGROUND, CELL_BORDER, CELL_FONT_NAME, CELL_FONT_SIZE, CELL_FONT_STYLE, CHANGE_ROWTYPE, CLEAR_UNION_CELLS, COLUMN_MOVED, DEC_DECIMAL, DELETE_CELLS, DELETE_ICON, INC_DECIMAL, INSERT_ICON, NOT_REPEATE, PASTE_CELLS, REMOVE_CELL_BORDER, REMOVE_COLUMNS, REMOVE_ROWS, RESIZING_COLUMN, RESIZING_ROW, ROW_MOVED, SCALE_ICON, TOTAL_FUNCTION, UNION_CELLS
 
Constructor Summary
SetValueItem(JReportGrid grid, Object value, int row, int column)
           
 
Method Summary
 void clear()
           
 String getDescription()
           
 UndoItem undo()
           
 
Methods inherited from class jdbreport.grid.undo.AbstractGridUndo
equals, getGrid, initSelectedGrid, selectRect
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CELL_VALUE

public static final String CELL_VALUE
Constructor Detail

SetValueItem

public SetValueItem(JReportGrid grid,
                    Object value,
                    int row,
                    int column)
Method Detail

undo

public UndoItem undo()
Specified by:
undo in interface UndoItem
Overrides:
undo in class AbstractGridUndo

clear

public void clear()
Specified by:
clear in interface UndoItem
Overrides:
clear in class AbstractGridUndo

getDescription

public String getDescription()
Specified by:
getDescription in interface UndoItem
Overrides:
getDescription in class AbstractGridUndo