Source code: javax/ide/model/text/TextModel.java
1 package javax.ide.model.text;
2
3 import javax.ide.model.Transaction;
4
5 /**
6 * The <CODE>TextModel</CODE> class. Encapsulates the
7 * {@link javax.swing.text.Document} interface to support
8 * reading from and writing into the model.
9 */
10 public interface TextModel extends Transaction
11 {
12
13 /**
14 * Gets the {@link javax.swing.text.Document}.
15 *
16 * @return The text document.
17 */
18 public javax.swing.text.Document getDocument();
19 }