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.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Cell.TextChangedListener
private Cell.TextChangedListener()
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate in interface javax.swing.event.DocumentListener