01: package org.swingml.treetablebrowser.ext;
02:
03: import java.util.*;
04:
05: /**
06: * @author dpitt
07: *
08: * To change this generated comment edit the template variable "typecomment":
09: * Window>Preferences>Java>Templates.
10: * To enable and disable the creation of type comments go to
11: * Window>Preferences>Java>Code Generation.
12: */
13: public interface BrowserContract {
14: public String editValue(String column, int row, String value);
15:
16: public void filter(String colname, String value);
17:
18: public ArrayList getColumnSortOrder();
19:
20: public boolean getColumnSortType(int col);
21:
22: public String[] getHeadings();
23:
24: public int getSortedColumn();
25:
26: public String getValue(int row, int col);
27:
28: public boolean hasMore(int row);
29:
30: public boolean hasSameSortTypeAsPrevious(int theSortedColumn,
31: int theSecondSortedColumn);
32:
33: public boolean isEditable(int row);
34:
35: public boolean isEditable(String heading);
36:
37: public Integer matchColumn(int column);
38:
39: public void removeColumnFromSortOrder(int column);
40:
41: public void setColumnToPrimarySearch(int column);
42:
43: public void setSortedColumn(int col);
44:
45: public void switchColumnSortType(int col);
46: }
|