perenono.pac.easytable
Class Table.AListSelectionModel

java.lang.Object
  |
  +--javax.swing.DefaultListSelectionModel
        |
        +--perenono.pac.easytable.Table.AListSelectionModel
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.ListSelectionModel, java.io.Serializable
Enclosing class:
Table

public class Table.AListSelectionModel
extends javax.swing.DefaultListSelectionModel

classe gerant le changemet de ligne ( afin de tester les requis ) elle est placé en interne afin de ne pas doubler les données toute les fonctions sont celle standard ( voir doc Sun )

Author:
Noël Perez
See Also:
Serialized Form

Fields inherited from class javax.swing.DefaultListSelectionModel
leadAnchorNotificationEnabled, listenerList
 
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
 
Constructor Summary
Table.AListSelectionModel()
          constructeur
 
Method Summary
 void setSelectionInterval(int _first, int _last)
          fonction surcharger afin de tester la ligne s'il y a changement de ligne on test chaque champs, s'il y a une erreur on empêche le passage sur une nouvelle ligne
 
Methods inherited from class javax.swing.DefaultListSelectionModel
addListSelectionListener, addSelectionInterval, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionMode, setValueIsAdjusting, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table.AListSelectionModel

public Table.AListSelectionModel()
constructeur
Method Detail

setSelectionInterval

public void setSelectionInterval(int _first,
                                 int _last)
fonction surcharger afin de tester la ligne s'il y a changement de ligne on test chaque champs, s'il y a une erreur on empêche le passage sur une nouvelle ligne
Overrides:
setSelectionInterval in class javax.swing.DefaultListSelectionModel


Copyright © 2002 Pere-nono. All Rights Reserved.