Document « javax.swing.text « Java by API






1.Document: addDocumentListener(DocumentListener listener)
2.Document: addUndoableEditListener(UndoableEditListener listener)
3.Document: dump(PrintStream out)
4.Document: getDefaultRootElement()
5.Document: getLength()
6.Document: getText(int offset, int length)
7.Document: insertString(int offset, String str, AttributeSet a)
8.Document: remove(int offs, int len)