net.sf.jeppers.grid
Interface ResizableGrid

All Known Implementing Classes:
DefaultGridModel, DefaultRulerModel, DefaultSpanModel, DefaultStyleModel

public interface ResizableGrid

This interface defines the methods to implement for models (StyleModel, RulerModel, SpanModel, SelectionModel) that need to sync dimensions with GridModel.

Author:
Cameron Zemek

Method Summary
 void insertColumns(int column, int columnCount)
          Insert columnCount columns at column.
 void insertRows(int row, int rowCount)
          Insert rowCount rows at row.
 void removeColumns(int column, int columnCount)
          Remove columnCount columns at column.
 void removeRows(int row, int rowCount)
          Remove rowCount rows at row.
 

Method Detail

insertRows

public void insertRows(int row,
                       int rowCount)
Insert rowCount rows at row.

Parameters:
row - the row to insert at
rowCount - the number of rows to insert

removeRows

public void removeRows(int row,
                       int rowCount)
Remove rowCount rows at row.

Parameters:
row - the row to remove from
rowCount - the number of rows to remove

insertColumns

public void insertColumns(int column,
                          int columnCount)
Insert columnCount columns at column.

Parameters:
column - the column to insert at
columnCount - the number of columns to insert

removeColumns

public void removeColumns(int column,
                          int columnCount)
Remove columnCount columns at column.

Parameters:
column - the column to remove from
columnCount - the number of columns to remove