template_applicatif.wListe
Class ListeModele

Object
  extended by javax.swing.table.AbstractTableModel
      extended by template_applicatif.wListe.ListeModele
All Implemented Interfaces:
Serializable, javax.swing.table.TableModel, ListeIEditableColumn

public class ListeModele
extends javax.swing.table.AbstractTableModel
implements ListeIEditableColumn


A_doc
Licence.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ListeModele(Sql sql)
           
 
Method Summary
 void addEditableColumn(JComponent jc)
           
 void dispose()
           
 void enableEditableColumn(String name, boolean enable)
           
protected  void finalize()
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 JComponent getComponent(int column)
           
 ListeFastEdit getFastedit()
           
 String getName(int column)
           
 int getRowCount()
           
 Edit getType(int column)
           
 Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 boolean isFastListe(int column)
           
 boolean isFastListeEnable(int column)
           
 void removeEditableColumn(String name)
           
 void setValueAt(Object obj, int row, int col)
           
 int size()
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListeModele

public ListeModele(Sql sql)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getValueAt

public Object getValueAt(int row,
                         int col)
Specified by:
getValueAt in interface javax.swing.table.TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

getColumnName

public String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel

setValueAt

public void setValueAt(Object obj,
                       int row,
                       int col)
Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel

addEditableColumn

public void addEditableColumn(JComponent jc)
Specified by:
addEditableColumn in interface ListeIEditableColumn

isFastListe

public boolean isFastListe(int column)

isFastListeEnable

public boolean isFastListeEnable(int column)

getName

public String getName(int column)

size

public int size()

getType

public Edit getType(int column)

getComponent

public JComponent getComponent(int column)

enableEditableColumn

public void enableEditableColumn(String name,
                                 boolean enable)
Specified by:
enableEditableColumn in interface ListeIEditableColumn

removeEditableColumn

public void removeEditableColumn(String name)
Specified by:
removeEditableColumn in interface ListeIEditableColumn

getFastedit

public ListeFastEdit getFastedit()

dispose

public void dispose()

finalize

protected void finalize()
Overrides:
finalize in class Object