satc
Class ParserDocumentListener

java.lang.Object
  |
  +--satc.ParserDocumentListener
All Implemented Interfaces:
javax.swing.event.DocumentListener, java.util.EventListener

public class ParserDocumentListener
extends java.lang.Object
implements javax.swing.event.DocumentListener

This class listens for changes in the document and updates the AST.


Constructor Summary
ParserDocumentListener()
           
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
          Gives notification that an attribute or set of attributes changed.
 void insertUpdate(javax.swing.event.DocumentEvent e)
          Gives notification that there was an insert into the document.
 void removeUpdate(javax.swing.event.DocumentEvent e)
          Gives notification that a portion of the document has been removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserDocumentListener

public ParserDocumentListener()
Method Detail

insertUpdate

public final void insertUpdate(javax.swing.event.DocumentEvent e)
Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - the document event

removeUpdate

public final void removeUpdate(javax.swing.event.DocumentEvent e)
Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - the document event

changedUpdate

public final void changedUpdate(javax.swing.event.DocumentEvent e)
Gives notification that an attribute or set of attributes changed.
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener
Parameters:
e - the document event