jdbreport.grid.undo
Class RowMovedUndoItem

java.lang.Object
  extended by jdbreport.grid.undo.AbstractGridUndo
      extended by jdbreport.grid.undo.StoredGridUndo
          extended by jdbreport.grid.undo.BackupItem
              extended by jdbreport.grid.undo.RowMovedUndoItem
All Implemented Interfaces:
UndoItem

public class RowMovedUndoItem
extends BackupItem

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

Field Summary
 
Fields inherited from class jdbreport.grid.undo.StoredGridUndo
buffer, fileName, MAX_CELLS, MAX_SIZE
 
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
RowMovedUndoItem(JReportGrid grid, String descr, int fromIndex, int toIndex)
           
 
Method Summary
 int getFromIndex()
           
 int getToIndex()
           
 
Methods inherited from class jdbreport.grid.undo.BackupItem
loadGrid, undo
 
Methods inherited from class jdbreport.grid.undo.StoredGridUndo
clear, createReader, createWriter, saveReport
 
Methods inherited from class jdbreport.grid.undo.AbstractGridUndo
equals, getDescription, getGrid, initSelectedGrid, selectRect
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowMovedUndoItem

public RowMovedUndoItem(JReportGrid grid,
                        String descr,
                        int fromIndex,
                        int toIndex)
                 throws Exception
Throws:
Exception
Method Detail

getFromIndex

public int getFromIndex()
Returns:
the fromIndex

getToIndex

public int getToIndex()
Returns:
the toIndex