Thread: [Ejtools-cvs] libraries/common/src/main/org/ejtools/swing/table TableModelDecorator.java,1.7,1.8 Tab
Brought to you by:
letiemble
Update of /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table In directory sc8-pr-cvs1:/tmp/cvs-serv20661/common/src/main/org/ejtools/swing/table Modified Files: TableModelDecorator.java TableModelFilter.java TableModelIndexed.java TableModelMatchFilter.java TableModelSorter.java Log Message: Adjust Eclipse build files Adjust some Javadoc Integrate Persistence framework Integrate Image export as PNG Index: TableModelDecorator.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table/TableModelDecorator.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TableModelDecorator.java 8 Jan 2003 21:17:53 -0000 1.7 --- TableModelDecorator.java 15 Sep 2003 22:23:45 -0000 1.8 *************** *** 1,2 **** --- 1,8 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package org.ejtools.swing.table; *************** *** 7,12 **** /** ! * @author <a href="mailto:let...@us...">Laurent Etiemble</a> ! * @created 28 septembre 2002 * @version $Revision$ */ --- 13,17 ---- /** ! * @author Laurent Etiemble * @version $Revision$ */ Index: TableModelFilter.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table/TableModelFilter.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TableModelFilter.java 21 Dec 2002 22:09:07 -0000 1.5 --- TableModelFilter.java 15 Sep 2003 22:23:45 -0000 1.6 *************** *** 1,2 **** --- 1,8 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package org.ejtools.swing.table; *************** *** 5,10 **** /** ! * @author <a href="mailto:let...@us...">Laurent Etiemble</a> ! * @created 31 octobre 2002 * @version $Revision$ */ --- 11,15 ---- /** ! * @author Laurent Etiemble * @version $Revision$ */ Index: TableModelIndexed.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table/TableModelIndexed.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TableModelIndexed.java 8 Jan 2003 21:17:51 -0000 1.6 --- TableModelIndexed.java 15 Sep 2003 22:23:45 -0000 1.7 *************** *** 1,2 **** --- 1,8 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package org.ejtools.swing.table; *************** *** 4,9 **** /** ! * @author <a href="mailto:let...@us...">Laurent Etiemble</a> ! * @created 28 septembre 2002 * @version $Revision$ */ --- 10,14 ---- /** ! * @author Laurent Etiemble * @version $Revision$ */ Index: TableModelMatchFilter.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table/TableModelMatchFilter.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TableModelMatchFilter.java 21 Feb 2003 22:40:59 -0000 1.6 --- TableModelMatchFilter.java 15 Sep 2003 22:23:45 -0000 1.7 *************** *** 1,2 **** --- 1,8 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package org.ejtools.swing.table; *************** *** 6,11 **** /** ! * @author <a href="mailto:let...@us...">Laurent Etiemble</a> ! * @created 31 octobre 2002 * @version $Revision$ */ --- 12,16 ---- /** ! * @author Laurent Etiemble * @version $Revision$ */ Index: TableModelSorter.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/org/ejtools/swing/table/TableModelSorter.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TableModelSorter.java 25 Dec 2002 22:03:55 -0000 1.6 --- TableModelSorter.java 15 Sep 2003 22:23:45 -0000 1.7 *************** *** 1,2 **** --- 1,8 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package org.ejtools.swing.table; *************** *** 14,19 **** /** ! * @author <a href="mailto:let...@us...">Laurent Etiemble</a> ! * @created 31 octobre 2002 * @version $Revision$ */ --- 20,24 ---- /** ! * @author Laurent Etiemble * @version $Revision$ */ *************** *** 43,50 **** /** ! * Add a mouse listener to the Table to trigger a table sort ! * when a column heading is clicked in the JTable. * ! * @param table The feature to be added to the MouseListenerToHeaderInTable attribute */ public void addMouseListenerToHeaderInTable(JTable table) --- 48,56 ---- /** ! * Add a mouse listener to the Table to trigger a table sort when a column ! * heading is clicked in the JTable. * ! * @param table The feature to be added to the MouseListenerToHeaderInTable ! * attribute */ public void addMouseListenerToHeaderInTable(JTable table) *************** *** 354,364 **** /** ! * This is a home-grown implementation which we have not had time ! * to research - it may perform poorly in some circumstances. It ! * requires twice the space of an in-place algorithm and makes ! * NlogN assigments shuttling the values between the two ! * arrays. The number of compares appears to vary between N-1 and ! * NlogN depending on the initial order but the main reason for ! * using it here is that, unlike qsort, it is stable. * * @param from Description of the Parameter --- 360,369 ---- /** ! * This is a home-grown implementation which we have not had time to research ! * - it may perform poorly in some circumstances. It requires twice the space ! * of an in-place algorithm and makes NlogN assigments shuttling the values ! * between the two arrays. The number of compares appears to vary between N-1 ! * and NlogN depending on the initial order but the main reason for using it ! * here is that, unlike qsort, it is stable. * * @param from Description of the Parameter *************** *** 428,437 **** public void sort(Object sender) { ! checkModel(); ! compares = 0; // n2sort(); // qsort(0, indexes.length-1); ! shuttlesort((int[]) indexes.clone(), indexes, 0, indexes.length); //System.out.println("Compares: "+compares); } --- 433,442 ---- public void sort(Object sender) { ! this.checkModel(); ! this.compares = 0; // n2sort(); // qsort(0, indexes.length-1); ! this.shuttlesort((int[]) indexes.clone(), indexes, 0, indexes.length); //System.out.println("Compares: "+compares); } |