svn-gvsig-desktop / tags / DielmoOpenLiDAR-0.1.0-1015_4 / docs / gvSIG / gvSIG-api / com / iver / cit / gvsig / gui / TableSorter.html @ 33816
History | View | Annotate | Download (28 KB)
1 | 1935 | vcaballero | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|---|---|
2 | <!--NewPage-->
|
||
3 | <HTML>
|
||
4 | <HEAD>
|
||
5 | <!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:49:13 CET 2005 -->
|
||
6 | <TITLE>
|
||
7 | TableSorter (gvSIG API) |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="com.iver.cit.gvsig.gui.TableSorter class"> |
||
11 | |||
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
||
13 | |||
14 | <SCRIPT type="text/javascript"> |
||
15 | function windowTitle() |
||
16 | { |
||
17 | parent.document.title="TableSorter (gvSIG API)"; |
||
18 | } |
||
19 | </SCRIPT>
|
||
20 | |||
21 | </HEAD>
|
||
22 | |||
23 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
24 | |||
25 | |||
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
||
27 | <A NAME="navbar_top"><!-- --></A> |
||
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
30 | <TR>
|
||
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
32 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
34 | <TR ALIGN="center" VALIGN="top"> |
||
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
42 | </TR>
|
||
43 | </TABLE>
|
||
44 | </TD>
|
||
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
46 | </EM>
|
||
47 | </TD>
|
||
48 | </TR>
|
||
49 | |||
50 | <TR>
|
||
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
52 | <A HREF="../../../../../com/iver/cit/gvsig/gui/Table.TableSelectionListener.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
||
53 | <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui"><B>NEXT CLASS</B></A></FONT></TD> |
||
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
56 | <A HREF="TableSorter.html" target="_top"><B>NO FRAMES</B></A> |
||
57 | <SCRIPT type="text/javascript"> |
||
58 | <!--
|
||
59 | if(window==top) {
|
||
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
61 | }
|
||
62 | //-->
|
||
63 | </SCRIPT>
|
||
64 | <NOSCRIPT>
|
||
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
66 | </NOSCRIPT>
|
||
67 | |||
68 | </FONT></TD> |
||
69 | </TR>
|
||
70 | <TR>
|
||
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
72 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
75 | </TR>
|
||
76 | </TABLE>
|
||
77 | <A NAME="skip-navbar_top"></A> |
||
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
||
79 | |||
80 | <HR>
|
||
81 | <!-- ======== START OF CLASS DATA ======== -->
|
||
82 | <H2>
|
||
83 | <FONT SIZE="-1"> |
||
84 | com.iver.cit.gvsig.gui</FONT>
|
||
85 | <BR>
|
||
86 | Class TableSorter</H2>
|
||
87 | <PRE>
|
||
88 | java.lang.Object |
||
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.swing.table.AbstractTableModel |
||
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.gui.TableSorter</B> |
||
91 | </PRE>
|
||
92 | <DL>
|
||
93 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.swing.table.TableModel</DD> |
||
94 | </DL>
|
||
95 | <HR>
|
||
96 | <DL>
|
||
97 | <DT>public class <B>TableSorter</B><DT>extends javax.swing.table.AbstractTableModel</DL> |
||
98 | |||
99 | <P>
|
||
100 | TableSorter is a decorator for TableModels; adding sorting |
||
101 | functionality to a supplied TableModel. TableSorter does |
||
102 | not store or copy the data in its TableModel; instead it maintains |
||
103 | a map from the row indexes of the view to the row indexes of the |
||
104 | model. As requests are made of the sorter (like getValueAt(row, col)) |
||
105 | they are passed to the underlying model after the row numbers |
||
106 | have been translated via the internal mapping array. This way, |
||
107 | the TableSorter appears to hold another copy of the table |
||
108 | with the rows in a different order. |
||
109 | <p/> |
||
110 | TableSorter registers itself as a listener to the underlying model, |
||
111 | just as the JTable itself would. Events recieved from the model |
||
112 | are examined, sometimes manipulated (typically widened), and then |
||
113 | passed on to the TableSorter's listeners (typically the JTable). |
||
114 | If a change to the model has invalidated the order of TableSorter's |
||
115 | rows, a note of this is made and the sorter will resort the |
||
116 | rows the next time a value is requested. |
||
117 | <p/> |
||
118 | When the tableHeader property is set, either by using the |
||
119 | setTableHeader() method or the two argument constructor, the |
||
120 | table header may be used as a complete UI for TableSorter. |
||
121 | The default renderer of the tableHeader is decorated with a renderer |
||
122 | that indicates the sorting status of each column. In addition, |
||
123 | a mouse listener is installed with the following behavior: |
||
124 | <ul>
|
||
125 | <li>
|
||
126 | Mouse-click: Clears the sorting status of all other columns |
||
127 | and advances the sorting status of that column through three |
||
128 | values: {NOT_SORTED, ASCENDING, DESCENDING} (then back to |
||
129 | NOT_SORTED again). |
||
130 | <li>
|
||
131 | SHIFT-mouse-click: Clears the sorting status of all other columns |
||
132 | and cycles the sorting status of the column through the same |
||
133 | three values, in the opposite order: {NOT_SORTED, DESCENDING, ASCENDING}. |
||
134 | <li>
|
||
135 | CONTROL-mouse-click and CONTROL-SHIFT-mouse-click: as above except |
||
136 | that the changes to the column do not cancel the statuses of columns |
||
137 | that are already sorting - giving a way to initiate a compound |
||
138 | sort. |
||
139 | </ul>
|
||
140 | <p/> |
||
141 | This is a long overdue rewrite of a class of the same name that |
||
142 | first appeared in the swing table demos in 1997. |
||
143 | <P>
|
||
144 | |||
145 | <P>
|
||
146 | <DL>
|
||
147 | <DT><B>Version:</B></DT> |
||
148 | <DD>2.0 02/27/04</DD> |
||
149 | <DT><B>Author:</B></DT> |
||
150 | <DD>Philip Milne, Brendon McLean, Dan van Enckevort, Parwinder Sekhon</DD> |
||
151 | <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#com.iver.cit.gvsig.gui.TableSorter">Serialized Form</A></DL> |
||
152 | <HR>
|
||
153 | |||
154 | <P>
|
||
155 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
156 | |||
157 | |||
158 | <!-- =========== FIELD SUMMARY =========== -->
|
||
159 | |||
160 | <A NAME="field_summary"><!-- --></A> |
||
161 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
162 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
163 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
164 | <B>Field Summary</B></FONT></TD> |
||
165 | </TR>
|
||
166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
168 | <CODE>static int</CODE></FONT></TD> |
||
169 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#ASCENDING">ASCENDING</A></B></CODE> |
||
170 | |||
171 | <BR>
|
||
172 | </TD> |
||
173 | </TR>
|
||
174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
176 | <CODE>static java.util.Comparator</CODE></FONT></TD> |
||
177 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#COMPARABLE_COMAPRATOR">COMPARABLE_COMAPRATOR</A></B></CODE> |
||
178 | |||
179 | <BR>
|
||
180 | </TD> |
||
181 | </TR>
|
||
182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
184 | <CODE>static int</CODE></FONT></TD> |
||
185 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#DESCENDING">DESCENDING</A></B></CODE> |
||
186 | |||
187 | <BR>
|
||
188 | </TD> |
||
189 | </TR>
|
||
190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
192 | <CODE>static java.util.Comparator</CODE></FONT></TD> |
||
193 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#LEXICAL_COMPARATOR">LEXICAL_COMPARATOR</A></B></CODE> |
||
194 | |||
195 | <BR>
|
||
196 | </TD> |
||
197 | </TR>
|
||
198 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
200 | <CODE>static int</CODE></FONT></TD> |
||
201 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#NOT_SORTED">NOT_SORTED</A></B></CODE> |
||
202 | |||
203 | <BR>
|
||
204 | </TD> |
||
205 | </TR>
|
||
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
208 | <CODE>protected javax.swing.table.TableModel</CODE></FONT></TD> |
||
209 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#tableModel">tableModel</A></B></CODE> |
||
210 | |||
211 | <BR>
|
||
212 | </TD> |
||
213 | </TR>
|
||
214 | </TABLE>
|
||
215 | <A NAME="fields_inherited_from_class_javax.swing.table.AbstractTableModel"><!-- --></A> |
||
216 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
217 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
218 | <TD><B>Fields inherited from class javax.swing.table.AbstractTableModel</B></TD> |
||
219 | </TR>
|
||
220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
221 | <TD><CODE>listenerList</CODE></TD> |
||
222 | </TR>
|
||
223 | </TABLE>
|
||
224 |
|
||
225 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
226 | |||
227 | <A NAME="constructor_summary"><!-- --></A> |
||
228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
229 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
230 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
231 | <B>Constructor Summary</B></FONT></TD> |
||
232 | </TR>
|
||
233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
234 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#TableSorter()">TableSorter</A></B>()</CODE> |
||
235 | |||
236 | <BR>
|
||
237 | </TD> |
||
238 | </TR>
|
||
239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
240 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#TableSorter(javax.swing.table.TableModel)">TableSorter</A></B>(javax.swing.table.TableModel tableModel)</CODE> |
||
241 | |||
242 | <BR>
|
||
243 | </TD> |
||
244 | </TR>
|
||
245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
246 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#TableSorter(javax.swing.table.TableModel, javax.swing.table.JTableHeader)">TableSorter</A></B>(javax.swing.table.TableModel tableModel, |
||
247 | javax.swing.table.JTableHeader tableHeader)</CODE> |
||
248 | |||
249 | <BR>
|
||
250 | </TD> |
||
251 | </TR>
|
||
252 | </TABLE>
|
||
253 |
|
||
254 | <!-- ========== METHOD SUMMARY =========== -->
|
||
255 | |||
256 | <A NAME="method_summary"><!-- --></A> |
||
257 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
258 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
259 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
260 | <B>Method Summary</B></FONT></TD> |
||
261 | </TR>
|
||
262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
264 | <CODE> java.lang.Class</CODE></FONT></TD> |
||
265 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getColumnClass(int)">getColumnClass</A></B>(int column)</CODE> |
||
266 | |||
267 | <BR>
|
||
268 | </TD> |
||
269 | </TR>
|
||
270 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
272 | <CODE> int</CODE></FONT></TD> |
||
273 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getColumnCount()">getColumnCount</A></B>()</CODE> |
||
274 | |||
275 | <BR>
|
||
276 | </TD> |
||
277 | </TR>
|
||
278 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
279 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
280 | <CODE> java.lang.String</CODE></FONT></TD> |
||
281 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getColumnName(int)">getColumnName</A></B>(int column)</CODE> |
||
282 | |||
283 | <BR>
|
||
284 | </TD> |
||
285 | </TR>
|
||
286 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
287 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
288 | <CODE>protected java.util.Comparator</CODE></FONT></TD> |
||
289 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getComparator(int)">getComparator</A></B>(int column)</CODE> |
||
290 | |||
291 | <BR>
|
||
292 | </TD> |
||
293 | </TR>
|
||
294 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
295 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
296 | <CODE>protected javax.swing.Icon</CODE></FONT></TD> |
||
297 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getHeaderRendererIcon(int, int)">getHeaderRendererIcon</A></B>(int column, |
||
298 | int size)</CODE> |
||
299 | |||
300 | <BR>
|
||
301 | </TD> |
||
302 | </TR>
|
||
303 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
304 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
305 | <CODE> int</CODE></FONT></TD> |
||
306 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getRowCount()">getRowCount</A></B>()</CODE> |
||
307 | |||
308 | <BR>
|
||
309 | </TD> |
||
310 | </TR>
|
||
311 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
312 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
313 | <CODE> int</CODE></FONT></TD> |
||
314 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getSortingStatus(int)">getSortingStatus</A></B>(int column)</CODE> |
||
315 | |||
316 | <BR>
|
||
317 | </TD> |
||
318 | </TR>
|
||
319 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
320 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
321 | <CODE> javax.swing.table.JTableHeader</CODE></FONT></TD> |
||
322 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getTableHeader()">getTableHeader</A></B>()</CODE> |
||
323 | |||
324 | <BR>
|
||
325 | </TD> |
||
326 | </TR>
|
||
327 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
328 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
329 | <CODE> javax.swing.table.TableModel</CODE></FONT></TD> |
||
330 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getTableModel()">getTableModel</A></B>()</CODE> |
||
331 | |||
332 | <BR>
|
||
333 | </TD> |
||
334 | </TR>
|
||
335 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
336 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
337 | <CODE> java.lang.Object</CODE></FONT></TD> |
||
338 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#getValueAt(int, int)">getValueAt</A></B>(int row, |
||
339 | int column)</CODE> |
||
340 | |||
341 | <BR>
|
||
342 | </TD> |
||
343 | </TR>
|
||
344 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
345 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
346 | <CODE> boolean</CODE></FONT></TD> |
||
347 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#isCellEditable(int, int)">isCellEditable</A></B>(int row, |
||
348 | int column)</CODE> |
||
349 | |||
350 | <BR>
|
||
351 | </TD> |
||
352 | </TR>
|
||
353 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
354 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
355 | <CODE> boolean</CODE></FONT></TD> |
||
356 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#isSorting()">isSorting</A></B>()</CODE> |
||
357 | |||
358 | <BR>
|
||
359 | </TD> |
||
360 | </TR>
|
||
361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
363 | <CODE> int</CODE></FONT></TD> |
||
364 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#modelIndex(int)">modelIndex</A></B>(int viewIndex)</CODE> |
||
365 | |||
366 | <BR>
|
||
367 | </TD> |
||
368 | </TR>
|
||
369 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
370 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
371 | <CODE> void</CODE></FONT></TD> |
||
372 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#setColumnComparator(java.lang.Class, java.util.Comparator)">setColumnComparator</A></B>(java.lang.Class type, |
||
373 | java.util.Comparator comparator)</CODE> |
||
374 | |||
375 | <BR>
|
||
376 | </TD> |
||
377 | </TR>
|
||
378 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
379 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
380 | <CODE> void</CODE></FONT></TD> |
||
381 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#setSortingStatus(int, int)">setSortingStatus</A></B>(int column, |
||
382 | int status)</CODE> |
||
383 | |||
384 | <BR>
|
||
385 | </TD> |
||
386 | </TR>
|
||
387 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
388 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
389 | <CODE> void</CODE></FONT></TD> |
||
390 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#setTableHeader(javax.swing.table.JTableHeader)">setTableHeader</A></B>(javax.swing.table.JTableHeader tableHeader)</CODE> |
||
391 | |||
392 | <BR>
|
||
393 | </TD> |
||
394 | </TR>
|
||
395 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
396 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
397 | <CODE> void</CODE></FONT></TD> |
||
398 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#setTableModel(javax.swing.table.TableModel)">setTableModel</A></B>(javax.swing.table.TableModel tableModel)</CODE> |
||
399 | |||
400 | <BR>
|
||
401 | </TD> |
||
402 | </TR>
|
||
403 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
404 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
405 | <CODE> void</CODE></FONT></TD> |
||
406 | <TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html#setValueAt(java.lang.Object, int, int)">setValueAt</A></B>(java.lang.Object aValue, |
||
407 | int row,
|
||
408 | int column)</CODE> |
||
409 | |||
410 | <BR>
|
||
411 | </TD> |
||
412 | </TR>
|
||
413 | </TABLE>
|
||
414 | <A NAME="methods_inherited_from_class_javax.swing.table.AbstractTableModel"><!-- --></A> |
||
415 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
416 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
417 | <TD><B>Methods inherited from class javax.swing.table.AbstractTableModel</B></TD> |
||
418 | </TR>
|
||
419 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
420 | <TD><CODE>addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener</CODE></TD> |
||
421 | </TR>
|
||
422 | </TABLE>
|
||
423 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
424 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
425 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
426 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
427 | </TR>
|
||
428 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
429 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
430 | </TR>
|
||
431 | </TABLE>
|
||
432 |
|
||
433 | <P>
|
||
434 | |||
435 | <!-- ============ FIELD DETAIL =========== -->
|
||
436 | |||
437 | <A NAME="field_detail"><!-- --></A> |
||
438 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
439 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
440 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
441 | <B>Field Detail</B></FONT></TD> |
||
442 | </TR>
|
||
443 | </TABLE>
|
||
444 | |||
445 | <A NAME="tableModel"><!-- --></A><H3> |
||
446 | tableModel</H3>
|
||
447 | <PRE>
|
||
448 | protected javax.swing.table.TableModel <B>tableModel</B></PRE> |
||
449 | <DL>
|
||
450 | <DL>
|
||
451 | </DL>
|
||
452 | </DL>
|
||
453 | <HR>
|
||
454 | |||
455 | <A NAME="DESCENDING"><!-- --></A><H3> |
||
456 | DESCENDING</H3>
|
||
457 | <PRE>
|
||
458 | public static final int <B>DESCENDING</B></PRE> |
||
459 | <DL>
|
||
460 | <DL>
|
||
461 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.TableSorter.DESCENDING">Constant Field Values</A></DL> |
||
462 | </DL>
|
||
463 | <HR>
|
||
464 | |||
465 | <A NAME="NOT_SORTED"><!-- --></A><H3> |
||
466 | NOT_SORTED</H3>
|
||
467 | <PRE>
|
||
468 | public static final int <B>NOT_SORTED</B></PRE> |
||
469 | <DL>
|
||
470 | <DL>
|
||
471 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.TableSorter.NOT_SORTED">Constant Field Values</A></DL> |
||
472 | </DL>
|
||
473 | <HR>
|
||
474 | |||
475 | <A NAME="ASCENDING"><!-- --></A><H3> |
||
476 | ASCENDING</H3>
|
||
477 | <PRE>
|
||
478 | public static final int <B>ASCENDING</B></PRE> |
||
479 | <DL>
|
||
480 | <DL>
|
||
481 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.iver.cit.gvsig.gui.TableSorter.ASCENDING">Constant Field Values</A></DL> |
||
482 | </DL>
|
||
483 | <HR>
|
||
484 | |||
485 | <A NAME="COMPARABLE_COMAPRATOR"><!-- --></A><H3> |
||
486 | COMPARABLE_COMAPRATOR</H3>
|
||
487 | <PRE>
|
||
488 | public static final java.util.Comparator <B>COMPARABLE_COMAPRATOR</B></PRE> |
||
489 | <DL>
|
||
490 | <DL>
|
||
491 | </DL>
|
||
492 | </DL>
|
||
493 | <HR>
|
||
494 | |||
495 | <A NAME="LEXICAL_COMPARATOR"><!-- --></A><H3> |
||
496 | LEXICAL_COMPARATOR</H3>
|
||
497 | <PRE>
|
||
498 | public static final java.util.Comparator <B>LEXICAL_COMPARATOR</B></PRE> |
||
499 | <DL>
|
||
500 | <DL>
|
||
501 | </DL>
|
||
502 | </DL>
|
||
503 | |||
504 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
505 | |||
506 | <A NAME="constructor_detail"><!-- --></A> |
||
507 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
508 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
509 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
510 | <B>Constructor Detail</B></FONT></TD> |
||
511 | </TR>
|
||
512 | </TABLE>
|
||
513 | |||
514 | <A NAME="TableSorter()"><!-- --></A><H3> |
||
515 | TableSorter</H3>
|
||
516 | <PRE>
|
||
517 | public <B>TableSorter</B>()</PRE> |
||
518 | <DL>
|
||
519 | </DL>
|
||
520 | <HR>
|
||
521 | |||
522 | <A NAME="TableSorter(javax.swing.table.TableModel)"><!-- --></A><H3> |
||
523 | TableSorter</H3>
|
||
524 | <PRE>
|
||
525 | public <B>TableSorter</B>(javax.swing.table.TableModel tableModel)</PRE> |
||
526 | <DL>
|
||
527 | </DL>
|
||
528 | <HR>
|
||
529 | |||
530 | <A NAME="TableSorter(javax.swing.table.TableModel, javax.swing.table.JTableHeader)"><!-- --></A><H3> |
||
531 | TableSorter</H3>
|
||
532 | <PRE>
|
||
533 | public <B>TableSorter</B>(javax.swing.table.TableModel tableModel, |
||
534 | javax.swing.table.JTableHeader tableHeader)</PRE> |
||
535 | <DL>
|
||
536 | </DL>
|
||
537 | |||
538 | <!-- ============ METHOD DETAIL ========== -->
|
||
539 | |||
540 | <A NAME="method_detail"><!-- --></A> |
||
541 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
542 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
543 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
544 | <B>Method Detail</B></FONT></TD> |
||
545 | </TR>
|
||
546 | </TABLE>
|
||
547 | |||
548 | <A NAME="getTableModel()"><!-- --></A><H3> |
||
549 | getTableModel</H3>
|
||
550 | <PRE>
|
||
551 | public javax.swing.table.TableModel <B>getTableModel</B>()</PRE> |
||
552 | <DL>
|
||
553 | <DD><DL> |
||
554 | </DL>
|
||
555 | </DD>
|
||
556 | </DL>
|
||
557 | <HR>
|
||
558 | |||
559 | <A NAME="setTableModel(javax.swing.table.TableModel)"><!-- --></A><H3> |
||
560 | setTableModel</H3>
|
||
561 | <PRE>
|
||
562 | public void <B>setTableModel</B>(javax.swing.table.TableModel tableModel)</PRE> |
||
563 | <DL>
|
||
564 | <DD><DL> |
||
565 | </DL>
|
||
566 | </DD>
|
||
567 | </DL>
|
||
568 | <HR>
|
||
569 | |||
570 | <A NAME="getTableHeader()"><!-- --></A><H3> |
||
571 | getTableHeader</H3>
|
||
572 | <PRE>
|
||
573 | public javax.swing.table.JTableHeader <B>getTableHeader</B>()</PRE> |
||
574 | <DL>
|
||
575 | <DD><DL> |
||
576 | </DL>
|
||
577 | </DD>
|
||
578 | </DL>
|
||
579 | <HR>
|
||
580 | |||
581 | <A NAME="setTableHeader(javax.swing.table.JTableHeader)"><!-- --></A><H3> |
||
582 | setTableHeader</H3>
|
||
583 | <PRE>
|
||
584 | public void <B>setTableHeader</B>(javax.swing.table.JTableHeader tableHeader)</PRE> |
||
585 | <DL>
|
||
586 | <DD><DL> |
||
587 | </DL>
|
||
588 | </DD>
|
||
589 | </DL>
|
||
590 | <HR>
|
||
591 | |||
592 | <A NAME="isSorting()"><!-- --></A><H3> |
||
593 | isSorting</H3>
|
||
594 | <PRE>
|
||
595 | public boolean <B>isSorting</B>()</PRE> |
||
596 | <DL>
|
||
597 | <DD><DL> |
||
598 | </DL>
|
||
599 | </DD>
|
||
600 | </DL>
|
||
601 | <HR>
|
||
602 | |||
603 | <A NAME="getSortingStatus(int)"><!-- --></A><H3> |
||
604 | getSortingStatus</H3>
|
||
605 | <PRE>
|
||
606 | public int <B>getSortingStatus</B>(int column)</PRE> |
||
607 | <DL>
|
||
608 | <DD><DL> |
||
609 | </DL>
|
||
610 | </DD>
|
||
611 | </DL>
|
||
612 | <HR>
|
||
613 | |||
614 | <A NAME="setSortingStatus(int, int)"><!-- --></A><H3> |
||
615 | setSortingStatus</H3>
|
||
616 | <PRE>
|
||
617 | public void <B>setSortingStatus</B>(int column, |
||
618 | int status)</PRE> |
||
619 | <DL>
|
||
620 | <DD><DL> |
||
621 | </DL>
|
||
622 | </DD>
|
||
623 | </DL>
|
||
624 | <HR>
|
||
625 | |||
626 | <A NAME="getHeaderRendererIcon(int, int)"><!-- --></A><H3> |
||
627 | getHeaderRendererIcon</H3>
|
||
628 | <PRE>
|
||
629 | protected javax.swing.Icon <B>getHeaderRendererIcon</B>(int column, |
||
630 | int size)</PRE> |
||
631 | <DL>
|
||
632 | <DD><DL> |
||
633 | </DL>
|
||
634 | </DD>
|
||
635 | </DL>
|
||
636 | <HR>
|
||
637 | |||
638 | <A NAME="setColumnComparator(java.lang.Class, java.util.Comparator)"><!-- --></A><H3> |
||
639 | setColumnComparator</H3>
|
||
640 | <PRE>
|
||
641 | public void <B>setColumnComparator</B>(java.lang.Class type, |
||
642 | java.util.Comparator comparator)</PRE> |
||
643 | <DL>
|
||
644 | <DD><DL> |
||
645 | </DL>
|
||
646 | </DD>
|
||
647 | </DL>
|
||
648 | <HR>
|
||
649 | |||
650 | <A NAME="getComparator(int)"><!-- --></A><H3> |
||
651 | getComparator</H3>
|
||
652 | <PRE>
|
||
653 | protected java.util.Comparator <B>getComparator</B>(int column)</PRE> |
||
654 | <DL>
|
||
655 | <DD><DL> |
||
656 | </DL>
|
||
657 | </DD>
|
||
658 | </DL>
|
||
659 | <HR>
|
||
660 | |||
661 | <A NAME="modelIndex(int)"><!-- --></A><H3> |
||
662 | modelIndex</H3>
|
||
663 | <PRE>
|
||
664 | public int <B>modelIndex</B>(int viewIndex)</PRE> |
||
665 | <DL>
|
||
666 | <DD><DL> |
||
667 | </DL>
|
||
668 | </DD>
|
||
669 | </DL>
|
||
670 | <HR>
|
||
671 | |||
672 | <A NAME="getRowCount()"><!-- --></A><H3> |
||
673 | getRowCount</H3>
|
||
674 | <PRE>
|
||
675 | public int <B>getRowCount</B>()</PRE> |
||
676 | <DL>
|
||
677 | <DD><DL> |
||
678 | </DL>
|
||
679 | </DD>
|
||
680 | </DL>
|
||
681 | <HR>
|
||
682 | |||
683 | <A NAME="getColumnCount()"><!-- --></A><H3> |
||
684 | getColumnCount</H3>
|
||
685 | <PRE>
|
||
686 | public int <B>getColumnCount</B>()</PRE> |
||
687 | <DL>
|
||
688 | <DD><DL> |
||
689 | </DL>
|
||
690 | </DD>
|
||
691 | </DL>
|
||
692 | <HR>
|
||
693 | |||
694 | <A NAME="getColumnName(int)"><!-- --></A><H3> |
||
695 | getColumnName</H3>
|
||
696 | <PRE>
|
||
697 | public java.lang.String <B>getColumnName</B>(int column)</PRE> |
||
698 | <DL>
|
||
699 | <DD><DL> |
||
700 | </DL>
|
||
701 | </DD>
|
||
702 | </DL>
|
||
703 | <HR>
|
||
704 | |||
705 | <A NAME="getColumnClass(int)"><!-- --></A><H3> |
||
706 | getColumnClass</H3>
|
||
707 | <PRE>
|
||
708 | public java.lang.Class <B>getColumnClass</B>(int column)</PRE> |
||
709 | <DL>
|
||
710 | <DD><DL> |
||
711 | </DL>
|
||
712 | </DD>
|
||
713 | </DL>
|
||
714 | <HR>
|
||
715 | |||
716 | <A NAME="isCellEditable(int, int)"><!-- --></A><H3> |
||
717 | isCellEditable</H3>
|
||
718 | <PRE>
|
||
719 | public boolean <B>isCellEditable</B>(int row, |
||
720 | int column)</PRE> |
||
721 | <DL>
|
||
722 | <DD><DL> |
||
723 | </DL>
|
||
724 | </DD>
|
||
725 | </DL>
|
||
726 | <HR>
|
||
727 | |||
728 | <A NAME="getValueAt(int, int)"><!-- --></A><H3> |
||
729 | getValueAt</H3>
|
||
730 | <PRE>
|
||
731 | public java.lang.Object <B>getValueAt</B>(int row, |
||
732 | int column)</PRE> |
||
733 | <DL>
|
||
734 | <DD><DL> |
||
735 | </DL>
|
||
736 | </DD>
|
||
737 | </DL>
|
||
738 | <HR>
|
||
739 | |||
740 | <A NAME="setValueAt(java.lang.Object, int, int)"><!-- --></A><H3> |
||
741 | setValueAt</H3>
|
||
742 | <PRE>
|
||
743 | public void <B>setValueAt</B>(java.lang.Object aValue, |
||
744 | int row,
|
||
745 | int column)</PRE> |
||
746 | <DL>
|
||
747 | <DD><DL> |
||
748 | </DL>
|
||
749 | </DD>
|
||
750 | </DL>
|
||
751 | <!-- ========= END OF CLASS DATA ========= -->
|
||
752 | <HR>
|
||
753 | |||
754 | |||
755 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
756 | <A NAME="navbar_bottom"><!-- --></A> |
||
757 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
758 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
759 | <TR>
|
||
760 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
761 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
762 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
763 | <TR ALIGN="center" VALIGN="top"> |
||
764 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
765 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
766 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
767 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
768 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
769 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
770 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
771 | </TR>
|
||
772 | </TABLE>
|
||
773 | </TD>
|
||
774 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
775 | </EM>
|
||
776 | </TD>
|
||
777 | </TR>
|
||
778 | |||
779 | <TR>
|
||
780 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
781 | <A HREF="../../../../../com/iver/cit/gvsig/gui/Table.TableSelectionListener.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
||
782 | <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html" title="class in com.iver.cit.gvsig.gui"><B>NEXT CLASS</B></A></FONT></TD> |
||
783 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
784 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
785 | <A HREF="TableSorter.html" target="_top"><B>NO FRAMES</B></A> |
||
786 | <SCRIPT type="text/javascript"> |
||
787 | <!--
|
||
788 | if(window==top) {
|
||
789 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
790 | }
|
||
791 | //-->
|
||
792 | </SCRIPT>
|
||
793 | <NOSCRIPT>
|
||
794 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
795 | </NOSCRIPT>
|
||
796 | |||
797 | </FONT></TD> |
||
798 | </TR>
|
||
799 | <TR>
|
||
800 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
801 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
802 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
803 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
804 | </TR>
|
||
805 | </TABLE>
|
||
806 | <A NAME="skip-navbar_bottom"></A> |
||
807 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
808 | |||
809 | <HR>
|
||
810 | |||
811 | </BODY>
|
||
812 | </HTML> |