edu.northwestern.at.utils.swing
Interface SelectedTextReplacer


public interface SelectedTextReplacer

SelectedTextReplacer -- interface for selected text replacement.

This interface defines the replaceSelection method which is intended to replace selected text some kind of Document type typically held in a JTextPane or descendant.


Method Summary
 void replaceSelection(java.lang.String replacementText)
          Replace currently selected document text.
 

Method Detail

replaceSelection

void replaceSelection(java.lang.String replacementText)
Replace currently selected document text.

Parameters:
replacementText - The replacement text.