com.borland.primetime.editor
Interface Scanner

All Known Implementing Classes:
AbstractScanner, NullScanner

public interface Scanner

This is the interface that all of the scanner implementations must implement. It defines a single method that will be called with a DocumentEvent that signifies a change in the document.


Method Summary
 void parse(javax.swing.event.DocumentEvent e)
          The parse method will be called by the EditorDocument when a change has occurred.
 

Method Detail

parse

public void parse(javax.swing.event.DocumentEvent e)
The parse method will be called by the EditorDocument when a change has occurred. The DocumentEvent passed describes the change, and it is up to the scanner to update the RunInfo data in the Document to correspond to the new document contents.
Parameters:
e - The DocumentEvent that describes the change.