01: /*
02: *
03: * (c) Copyright 2004 con:cern development team.
04: *
05: * This file is part of con:cern (http://concern.org).
06: *
07: * con:cern is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU Lesser General Public License
09: * as published by the Free Software Foundation; either version 2.1
10: * of the License, or (at your option) any later version.
11: *
12: * Please see COPYING for the complete licence.
13: */
14: package org.wingx.table;
15:
16: import javax.swing.table.TableModel;
17:
18: /**
19: * @author hengels
20: */
21: public interface SortableTableModel extends TableModel,
22: RefreshableModel {
23: public static final int SORT_NONE = 0;
24: public static final int SORT_ASCENDING = 1;
25: public static final int SORT_DESCENDING = 2;
26:
27: int getSort(int col);
28:
29: void setSort(int col, int order);
30: }
|