SpreadSheetApplet
Class Cell.TextChangedListener

java.lang.Object
  |
  +--SpreadSheetApplet.Cell.TextChangedListener

private class Cell.TextChangedListener
extends java.lang.Object
implements javax.swing.event.DocumentListener

Classe interne permettant de gèrer l'introduction de formules. A chaque modification du texte, elle vérifie le contenu du texte pour voir si elle est du type TYPE_TEXT, TYPE_NUMBER ou TYPE_FORMULA. Elle ne s'occupe pas de calculer la valeur numérique de la formule, qui doit être effectué uniquement quand on appui sur "Enter" ou qu'on déselectionne la cellule.


Constructor Summary
private Cell.TextChangedListener()
           
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Cell.TextChangedListener

private Cell.TextChangedListener()

Method Detail

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)


removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)


changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)