1
2
3
4
5
6
7
8
9
10
11 package de.jaret.util.ui.table.strategies;
12
13 import de.jaret.util.ui.table.JaretTable;
14
15 /***
16 * Interface describing the strategies used for Cut, Copy and Paste.
17 *
18 * @author Peter Kliem
19 * @version $Id: ICCPStrategy.java 179 2007-01-07 17:37:50Z olk $
20 */
21 public interface ICCPStrategy {
22 /***
23 * Do the cut operation.
24 *
25 * @param table table the operation should be performed on
26 */
27 void cut(JaretTable table);
28
29 /***
30 * Do the copy operation.
31 *
32 * @param table table the operation should be performed on
33 */
34 void copy(JaretTable table);
35
36 /***
37 * Do the paste operation.
38 *
39 * @param table table the operation should be performed on
40 */
41 void paste(JaretTable table);
42
43 /***
44 * If there is something to dispose ... most probably the clipboard instance.
45 *
46 */
47 void dispose();
48 }