/usr/share/doc/libjosql-java/api/org/josql/contrib/JoSQLSwingTableModel.html is in libjosql-java-doc 2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Thu Jun 30 09:42:01 UTC 2011 -->
<TITLE>
JoSQLSwingTableModel (JoSQL 2.2 - SQL for Java Objects)
</TITLE>
<META NAME="date" CONTENT="2011-06-30">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../javadocsStyle.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JoSQLSwingTableModel (JoSQL 2.2 - SQL for Java Objects)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoSQLSwingTableModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/josql/contrib/JoSQLJSPQueryTag.html" title="class in org.josql.contrib"><B>PREV CLASS</B></A>
<A HREF="../../../org/josql/contrib/JoSQLVelocityExecuteTool.html" title="class in org.josql.contrib"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/josql/contrib/JoSQLSwingTableModel.html" target="_top"><B>FRAMES</B></A>
<A HREF="JoSQLSwingTableModel.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.josql.Query">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.josql.contrib</FONT>
<BR>
Class JoSQLSwingTableModel</H2>
<PRE>
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/josql/Query.html" title="class in org.josql">org.josql.Query</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.josql.contrib.JoSQLSwingTableModel</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>JoSQLSwingTableModel</B><DT>extends <A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A><DT>implements <A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></DL>
</PRE>
<P>
A table model suitable for use with Swing JTable.
This is basically just an extension to <A HREF="../../../org/josql/Query.html" title="class in org.josql"><CODE>Query</CODE></A> that allows the
results to be iterated over, thereby providing the ability for objects to be reported on
that are held in memory.
<p>
One limitation here is that the SQL query must return columns rather than the objects
since the values need to be mapped by the renderer and editor. For example:
<pre>
SELECT lastModified,
name
FROM java.io.File
WHERE name LIKE '%.html'
</pre>
<p>
This query would work but it should be noted that the select "columns" (since they do not have
aliases assigned) will be labeled 1, 2, X and so on.
You can assign aliases to the "columns" and then use them in the report definition file.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_org.josql.Query"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.josql.<A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../org/josql/Query.html#ALL">ALL</A>, <A HREF="../../../org/josql/Query.html#ALL_OBJS_VAR_NAME">ALL_OBJS_VAR_NAME</A>, <A HREF="../../../org/josql/Query.html#CURR_OBJ_VAR_NAME">CURR_OBJ_VAR_NAME</A>, <A HREF="../../../org/josql/Query.html#GROUP_BY_RESULTS">GROUP_BY_RESULTS</A>, <A HREF="../../../org/josql/Query.html#GRPBY_OBJ_VAR_NAME">GRPBY_OBJ_VAR_NAME</A>, <A HREF="../../../org/josql/Query.html#GRPBY_OBJ_VAR_NAME_SYNONYM">GRPBY_OBJ_VAR_NAME_SYNONYM</A>, <A HREF="../../../org/josql/Query.html#HAVING_RESULTS">HAVING_RESULTS</A>, <A HREF="../../../org/josql/Query.html#INT_BIND_VAR_PREFIX">INT_BIND_VAR_PREFIX</A>, <A HREF="../../../org/josql/Query.html#nullQueryList">nullQueryList</A>, <A HREF="../../../org/josql/Query.html#ORDER_BY_ASC">ORDER_BY_ASC</A>, <A HREF="../../../org/josql/Query.html#ORDER_BY_DESC">ORDER_BY_DESC</A>, <A HREF="../../../org/josql/Query.html#PARENT_BIND_VAR_NAME">PARENT_BIND_VAR_NAME</A>, <A HREF="../../../org/josql/Query.html#QUERY_BIND_VAR_NAME">QUERY_BIND_VAR_NAME</A>, <A HREF="../../../org/josql/Query.html#RESULTS">RESULTS</A>, <A HREF="../../../org/josql/Query.html#WHERE_RESULTS">WHERE_RESULTS</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#JoSQLSwingTableModel()">JoSQLSwingTableModel</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#addTableModelListener(javax.swing.event.TableModelListener)">addTableModelListener</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/event/TableModelListener.html?is-external=true" title="class or interface in javax.swing.event">TableModelListener</A> l)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#clearResults()">clearResults</A></B>()</CODE>
<BR>
Clear any results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#execute(java.util.List)">execute</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> l)</CODE>
<BR>
Exectute the query and return the results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getColumnClass(int)">getColumnClass</A></B>(int i)</CODE>
<BR>
The expected class of the object at column <b>i</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getColumnCount()">getColumnCount</A></B>()</CODE>
<BR>
Get the number of columns.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getColumnName(int)">getColumnName</A></B>(int ind)</CODE>
<BR>
Get the name of the column, if the query has not yet been parsed then <code>null</code> is returned,
if the column does not have an alias then "ind + 1" is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getResults()">getResults</A></B>()</CODE>
<BR>
Get any results, will be null unless <A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#execute(java.util.List)"><CODE>execute(List)</CODE></A> has been called.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getRowCount()">getRowCount</A></B>()</CODE>
<BR>
Number of rows.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#getValueAt(int, int)">getValueAt</A></B>(int r,
int c)</CODE>
<BR>
Get the object at row <b>r</b>, column <b>c</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#isCellEditable(int, int)">isCellEditable</A></B>(int r,
int c)</CODE>
<BR>
Cells are not editable since we do not store the results separately.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#parse(java.lang.String)">parse</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql)</CODE>
<BR>
Parse the SQL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#removeTableModelListener(javax.swing.event.TableModelListener)">removeTableModelListener</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/event/TableModelListener.html?is-external=true" title="class or interface in javax.swing.event">TableModelListener</A> l)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#reorder(java.util.List, java.util.SortedMap)">reorder</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> objs,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A> dirs)</CODE>
<BR>
Re-order the columns according to the column indices provided in <b>dirs</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#reorder(java.util.List, java.lang.String)">reorder</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> objs,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> orderBys)</CODE>
<BR>
Re-order the columns according to the string representation provided by <b>orderBys</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#setValueAt(java.lang.Object, int, int)">setValueAt</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v,
int r,
int c)</CODE>
<BR>
Not supported, always throws a: <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A>.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.josql.Query"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.josql.<A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../org/josql/Query.html#addBindVariableChangedListener(org.josql.events.BindVariableChangedListener)">addBindVariableChangedListener</A>, <A HREF="../../../org/josql/Query.html#addFunctionHandler(java.lang.Object)">addFunctionHandler</A>, <A HREF="../../../org/josql/Query.html#addSaveValueChangedListener(org.josql.events.SaveValueChangedListener)">addSaveValueChangedListener</A>, <A HREF="../../../org/josql/Query.html#addTiming(java.lang.String, double)">addTiming</A>, <A HREF="../../../org/josql/Query.html#doExecuteOn(java.util.List, java.lang.String)">doExecuteOn</A>, <A HREF="../../../org/josql/Query.html#execute(java.util.Collection)">execute</A>, <A HREF="../../../org/josql/Query.html#execute(java.util.Iterator)">execute</A>, <A HREF="../../../org/josql/Query.html#fireBindVariableChangedEvent(java.lang.String, java.lang.Object, java.lang.Object)">fireBindVariableChangedEvent</A>, <A HREF="../../../org/josql/Query.html#fireSaveValueChangedEvent(java.lang.Object, java.lang.Object, java.lang.Object)">fireSaveValueChangedEvent</A>, <A HREF="../../../org/josql/Query.html#getAliases()">getAliases</A>, <A HREF="../../../org/josql/Query.html#getAllObjects()">getAllObjects</A>, <A HREF="../../../org/josql/Query.html#getAnonymousBindVariableName()">getAnonymousBindVariableName</A>, <A HREF="../../../org/josql/Query.html#getClassLoader()">getClassLoader</A>, <A HREF="../../../org/josql/Query.html#getColumns()">getColumns</A>, <A HREF="../../../org/josql/Query.html#getCurrentObject()">getCurrentObject</A>, <A HREF="../../../org/josql/Query.html#getDefaultFunctionHandlers()">getDefaultFunctionHandlers</A>, <A HREF="../../../org/josql/Query.html#getExecuteOnFunctions()">getExecuteOnFunctions</A>, <A HREF="../../../org/josql/Query.html#getFrom()">getFrom</A>, <A HREF="../../../org/josql/Query.html#getFromObjectClass()">getFromObjectClass</A>, <A HREF="../../../org/josql/Query.html#getFunctionHandler(java.lang.String)">getFunctionHandler</A>, <A HREF="../../../org/josql/Query.html#getFunctionHandlers()">getFunctionHandlers</A>, <A HREF="../../../org/josql/Query.html#getGroupByColumns()">getGroupByColumns</A>, <A HREF="../../../org/josql/Query.html#getGroupBySaveValue(java.lang.Object, java.util.List)">getGroupBySaveValue</A>, <A HREF="../../../org/josql/Query.html#getGroupBySaveValues(java.util.List)">getGroupBySaveValues</A>, <A HREF="../../../org/josql/Query.html#getGroupByVariable(int)">getGroupByVariable</A>, <A HREF="../../../org/josql/Query.html#getHavingClause()">getHavingClause</A>, <A HREF="../../../org/josql/Query.html#getLimit()">getLimit</A>, <A HREF="../../../org/josql/Query.html#getObjectComparator()">getObjectComparator</A>, <A HREF="../../../org/josql/Query.html#getOrderByColumns()">getOrderByColumns</A>, <A HREF="../../../org/josql/Query.html#getOrderByComparator()">getOrderByComparator</A>, <A HREF="../../../org/josql/Query.html#getParent()">getParent</A>, <A HREF="../../../org/josql/Query.html#getQuery()">getQuery</A>, <A HREF="../../../org/josql/Query.html#getQueryResults()">getQueryResults</A>, <A HREF="../../../org/josql/Query.html#getSaveValue(java.lang.Object)">getSaveValue</A>, <A HREF="../../../org/josql/Query.html#getTopLevelQuery()">getTopLevelQuery</A>, <A HREF="../../../org/josql/Query.html#getVariable(int)">getVariable</A>, <A HREF="../../../org/josql/Query.html#getVariable(java.lang.String)">getVariable</A>, <A HREF="../../../org/josql/Query.html#getVariableClass(java.lang.String)">getVariableClass</A>, <A HREF="../../../org/josql/Query.html#getVariables()">getVariables</A>, <A HREF="../../../org/josql/Query.html#getWhereClause()">getWhereClause</A>, <A HREF="../../../org/josql/Query.html#getWildcardCharacter()">getWildcardCharacter</A>, <A HREF="../../../org/josql/Query.html#init()">init</A>, <A HREF="../../../org/josql/Query.html#initOrderByComparator()">initOrderByComparator</A>, <A HREF="../../../org/josql/Query.html#isWantObjects()">isWantObjects</A>, <A HREF="../../../org/josql/Query.html#isWhereTrue(java.lang.Object)">isWhereTrue</A>, <A HREF="../../../org/josql/Query.html#loadClass(java.lang.String)">loadClass</A>, <A HREF="../../../org/josql/Query.html#parseAndExec(java.lang.String, java.util.List)">parseAndExec</A>, <A HREF="../../../org/josql/Query.html#parsed()">parsed</A>, <A HREF="../../../org/josql/Query.html#removeBindVariableChangedListener(org.josql.events.BindVariableChangedListener)">removeBindVariableChangedListener</A>, <A HREF="../../../org/josql/Query.html#removeSaveValueChangedListener(org.josql.events.SaveValueChangedListener)">removeSaveValueChangedListener</A>, <A HREF="../../../org/josql/Query.html#setAllObjects(java.util.List)">setAllObjects</A>, <A HREF="../../../org/josql/Query.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A>, <A HREF="../../../org/josql/Query.html#setClassName(java.lang.String)">setClassName</A>, <A HREF="../../../org/josql/Query.html#setColumns(java.util.List)">setColumns</A>, <A HREF="../../../org/josql/Query.html#setCurrentGroupByObjects(java.util.List)">setCurrentGroupByObjects</A>, <A HREF="../../../org/josql/Query.html#setCurrentObject(java.lang.Object)">setCurrentObject</A>, <A HREF="../../../org/josql/Query.html#setExecuteOnFunctions(java.util.Map)">setExecuteOnFunctions</A>, <A HREF="../../../org/josql/Query.html#setFrom(org.josql.expressions.Expression)">setFrom</A>, <A HREF="../../../org/josql/Query.html#setFromObjectClass(java.lang.Class)">setFromObjectClass</A>, <A HREF="../../../org/josql/Query.html#setGroupByColumns(java.util.List)">setGroupByColumns</A>, <A HREF="../../../org/josql/Query.html#setGroupByLimit(org.josql.internal.Limit)">setGroupByLimit</A>, <A HREF="../../../org/josql/Query.html#setGroupByOrderColumns(java.util.List)">setGroupByOrderColumns</A>, <A HREF="../../../org/josql/Query.html#setHaving(org.josql.expressions.Expression)">setHaving</A>, <A HREF="../../../org/josql/Query.html#setLimit(org.josql.internal.Limit)">setLimit</A>, <A HREF="../../../org/josql/Query.html#setObjectComparator(java.util.Comparator)">setObjectComparator</A>, <A HREF="../../../org/josql/Query.html#setOrderByColumns(java.util.List)">setOrderByColumns</A>, <A HREF="../../../org/josql/Query.html#setParent(org.josql.Query)">setParent</A>, <A HREF="../../../org/josql/Query.html#setSaveValue(java.lang.Object, java.lang.Object)">setSaveValue</A>, <A HREF="../../../org/josql/Query.html#setSaveValues(java.util.Map)">setSaveValues</A>, <A HREF="../../../org/josql/Query.html#setVariable(int, java.lang.Object)">setVariable</A>, <A HREF="../../../org/josql/Query.html#setVariable(java.lang.String, java.lang.Object)">setVariable</A>, <A HREF="../../../org/josql/Query.html#setVariables(java.util.Map)">setVariables</A>, <A HREF="../../../org/josql/Query.html#setWantDistinctResults(boolean)">setWantDistinctResults</A>, <A HREF="../../../org/josql/Query.html#setWantObjects(boolean)">setWantObjects</A>, <A HREF="../../../org/josql/Query.html#setWantTimings(boolean)">setWantTimings</A>, <A HREF="../../../org/josql/Query.html#setWhere(org.josql.expressions.Expression)">setWhere</A>, <A HREF="../../../org/josql/Query.html#setWildcardCharacter(char)">setWildcardCharacter</A>, <A HREF="../../../org/josql/Query.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="JoSQLSwingTableModel()"><!-- --></A><H3>
JoSQLSwingTableModel</H3>
<PRE>
public <B>JoSQLSwingTableModel</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sql)
throws <A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A></PRE>
<DL>
<DD>Parse the SQL. Note: this will cause a TableModelEvent to be fired to all
registered listeners indicating that the table header has changed.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/josql/Query.html#parse(java.lang.String)">parse</A></CODE> in class <CODE><A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sql</CODE> - The SQL.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A></CODE> - If the sql cannot be parsed or if the query will not return
columns.</DL>
</DD>
</DL>
<HR>
<A NAME="reorder(java.util.List, java.util.SortedMap)"><!-- --></A><H3>
reorder</H3>
<PRE>
public <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A> <B>reorder</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> objs,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util">SortedMap</A> dirs)
throws <A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A>,
<A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A></PRE>
<DL>
<DD>Re-order the columns according to the column indices provided in <b>dirs</b>.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/josql/Query.html#reorder(java.util.List, java.util.SortedMap)">reorder</A></CODE> in class <CODE><A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objs</CODE> - The objects to reorder.<DD><CODE>dirs</CODE> - The columns to order by.
<DT><B>Returns:</B><DD>The results.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A></CODE> - If something goes wrong during execution of the
query.
<DD><CODE><A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A></CODE> - If the column indices are out of range for the statement.<DT><B>See Also:</B><DD><A HREF="../../../org/josql/Query.html#reorder(java.util.List, java.util.SortedMap)"><CODE>Query.reorder(List,SortedMap)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="reorder(java.util.List, java.lang.String)"><!-- --></A><H3>
reorder</H3>
<PRE>
public <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A> <B>reorder</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> objs,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> orderBys)
throws <A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A>,
<A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A></PRE>
<DL>
<DD>Re-order the columns according to the string representation provided by <b>orderBys</b>.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/josql/Query.html#reorder(java.util.List, java.lang.String)">reorder</A></CODE> in class <CODE><A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>objs</CODE> - The objects to reorder.<DD><CODE>orderBys</CODE> - The columns to order by.
<DT><B>Returns:</B><DD>The results.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A></CODE> - If something goes wrong during execution of the
query.
<DD><CODE><A HREF="../../../org/josql/QueryParseException.html" title="class in org.josql">QueryParseException</A></CODE> - If the column indices are out of range for the statement.<DT><B>See Also:</B><DD><A HREF="../../../org/josql/Query.html#reorder(java.util.List, java.lang.String)"><CODE>Query.reorder(List,String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="execute(java.util.List)"><!-- --></A><H3>
execute</H3>
<PRE>
public <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A> <B>execute</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> l)
throws <A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A></PRE>
<DL>
<DD>Exectute the query and return the results. A reference to the results is also held to
allow them to be iterated over. Note: this will cause a TableModelEvent to be fired to all
registered listeners indicating that ALL the table data has changed.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/josql/Query.html#execute(java.util.List)">execute</A></CODE> in class <CODE><A HREF="../../../org/josql/Query.html" title="class in org.josql">Query</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - The List of objects to execute the query on.
<DT><B>Returns:</B><DD>The results.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/josql/QueryExecutionException.html" title="class in org.josql">QueryExecutionException</A></CODE> - If the query cannot be executed, or if the query
is set to return objects rather than "columns".</DL>
</DD>
</DL>
<HR>
<A NAME="getResults()"><!-- --></A><H3>
getResults</H3>
<PRE>
public <A HREF="../../../org/josql/QueryResults.html" title="class in org.josql">QueryResults</A> <B>getResults</B>()</PRE>
<DL>
<DD>Get any results, will be null unless <A HREF="../../../org/josql/contrib/JoSQLSwingTableModel.html#execute(java.util.List)"><CODE>execute(List)</CODE></A> has been called.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The results.</DL>
</DD>
</DL>
<HR>
<A NAME="clearResults()"><!-- --></A><H3>
clearResults</H3>
<PRE>
public void <B>clearResults</B>()</PRE>
<DL>
<DD>Clear any results.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getColumnName(int)"><!-- --></A><H3>
getColumnName</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getColumnName</B>(int ind)</PRE>
<DL>
<DD>Get the name of the column, if the query has not yet been parsed then <code>null</code> is returned,
if the column does not have an alias then "ind + 1" is returned.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#getColumnName(int)" title="class or interface in javax.swing.table">getColumnName</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The column name.</DL>
</DD>
</DL>
<HR>
<A NAME="getColumnClass(int)"><!-- --></A><H3>
getColumnClass</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>getColumnClass</B>(int i)</PRE>
<DL>
<DD>The expected class of the object at column <b>i</b>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#getColumnClass(int)" title="class or interface in javax.swing.table">getColumnClass</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The class of the column.</DL>
</DD>
</DL>
<HR>
<A NAME="getValueAt(int, int)"><!-- --></A><H3>
getValueAt</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getValueAt</B>(int r,
int c)</PRE>
<DL>
<DD>Get the object at row <b>r</b>, column <b>c</b>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#getValueAt(int, int)" title="class or interface in javax.swing.table">getValueAt</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>r</CODE> - The row.<DD><CODE>c</CODE> - The column.
<DT><B>Returns:</B><DD>The object at that location.</DL>
</DD>
</DL>
<HR>
<A NAME="setValueAt(java.lang.Object, int, int)"><!-- --></A><H3>
setValueAt</H3>
<PRE>
public void <B>setValueAt</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> v,
int r,
int c)
throws <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></PRE>
<DL>
<DD>Not supported, always throws a: <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><CODE>UnsupportedOperationException</CODE></A>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#setValueAt(java.lang.Object, int, int)" title="class or interface in javax.swing.table">setValueAt</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>v</CODE> - The object to set at the location.<DD><CODE>r</CODE> - The row.<DD><CODE>c</CODE> - The column.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - Not supported.</DL>
</DD>
</DL>
<HR>
<A NAME="isCellEditable(int, int)"><!-- --></A><H3>
isCellEditable</H3>
<PRE>
public boolean <B>isCellEditable</B>(int r,
int c)</PRE>
<DL>
<DD>Cells are not editable since we do not store the results separately.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#isCellEditable(int, int)" title="class or interface in javax.swing.table">isCellEditable</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>r</CODE> - The row.<DD><CODE>c</CODE> - The columns.
<DT><B>Returns:</B><DD>Always returns <code>false</code>.</DL>
</DD>
</DL>
<HR>
<A NAME="getRowCount()"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>()</PRE>
<DL>
<DD>Number of rows.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#getRowCount()" title="class or interface in javax.swing.table">getRowCount</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The row count.</DL>
</DD>
</DL>
<HR>
<A NAME="getColumnCount()"><!-- --></A><H3>
getColumnCount</H3>
<PRE>
public int <B>getColumnCount</B>()</PRE>
<DL>
<DD>Get the number of columns.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#getColumnCount()" title="class or interface in javax.swing.table">getColumnCount</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The column count, returns 0 if the query has not yet been parsed.</DL>
</DD>
</DL>
<HR>
<A NAME="removeTableModelListener(javax.swing.event.TableModelListener)"><!-- --></A><H3>
removeTableModelListener</H3>
<PRE>
public void <B>removeTableModelListener</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/event/TableModelListener.html?is-external=true" title="class or interface in javax.swing.event">TableModelListener</A> l)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#removeTableModelListener(javax.swing.event.TableModelListener)" title="class or interface in javax.swing.table">removeTableModelListener</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addTableModelListener(javax.swing.event.TableModelListener)"><!-- --></A><H3>
addTableModelListener</H3>
<PRE>
public void <B>addTableModelListener</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/event/TableModelListener.html?is-external=true" title="class or interface in javax.swing.event">TableModelListener</A> l)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true#addTableModelListener(javax.swing.event.TableModelListener)" title="class or interface in javax.swing.table">addTableModelListener</A></CODE> in interface <CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/swing/table/TableModel.html?is-external=true" title="class or interface in javax.swing.table">TableModel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JoSQLSwingTableModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/josql/contrib/JoSQLJSPQueryTag.html" title="class in org.josql.contrib"><B>PREV CLASS</B></A>
<A HREF="../../../org/josql/contrib/JoSQLVelocityExecuteTool.html" title="class in org.josql.contrib"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/josql/contrib/JoSQLSwingTableModel.html" target="_top"><B>FRAMES</B></A>
<A HREF="JoSQLSwingTableModel.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.josql.Query">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<center><dd><a href='http://sourceforge.net'><img border='0' height='31' width='88' title='SourceForge' src='http://sourceforge.net/sflogo.php?group_id=josql&type=1' />  </a>Copyright © 2010 Gary Bentley. All Rights Reserved.</dd></center>
</BODY>
</HTML>
|