jdbreport.grid.undo
Class StoredGridUndo
java.lang.Object
jdbreport.grid.undo.AbstractGridUndo
jdbreport.grid.undo.StoredGridUndo
- All Implemented Interfaces:
- UndoItem
- Direct Known Subclasses:
- BackupItem
public abstract class StoredGridUndo
- extends AbstractGridUndo
- Version:
- 2.0 30.05.2011
- Author:
- Andrey Kholmanskih
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 |
MAX_SIZE
protected static final int MAX_SIZE
- See Also:
- Constant Field Values
MAX_CELLS
protected static final int MAX_CELLS
- See Also:
- Constant Field Values
fileName
protected String fileName
buffer
protected String buffer
StoredGridUndo
public StoredGridUndo(JReportGrid grid,
String descr)
saveReport
protected void saveReport()
throws SaveReportException,
IOException
- Throws:
IOException
SaveReportException
createWriter
protected Writer createWriter(File file)
throws UnsupportedEncodingException,
FileNotFoundException
- Throws:
UnsupportedEncodingException
FileNotFoundException
createReader
protected Reader createReader(File file)
throws UnsupportedEncodingException,
FileNotFoundException
- Throws:
UnsupportedEncodingException
FileNotFoundException
clear
public void clear()
- Specified by:
clear
in interface UndoItem
- Overrides:
clear
in class AbstractGridUndo