1
2
3
4
5
6
7
8
9
10
11 package de.jaret.util.ui.table.strategies;
12
13 import java.util.List;
14
15 import de.jaret.util.ui.table.JaretTable;
16 import de.jaret.util.ui.table.model.IJaretTableCell;
17
18 /***
19 * Interface describing a stragey used when cells should be filled after a fill drag.
20 *
21 * @author Peter Kliem
22 * @version $Id: IFillDragStrategy.java 175 2007-01-05 00:01:18Z olk $
23 */
24 public interface IFillDragStrategy {
25 /***
26 * Do a fill operation fro the first cell to the other cells.
27 *
28 * @param table table requesting the operation
29 * @param firstCell originating cell
30 * @param cells cells to be filled
31 */
32 void doFill(JaretTable table, IJaretTableCell firstCell, List<IJaretTableCell> cells);
33 }