/[classpath]/classpath/javax/swing/text/Document.java
ViewVC logotype

Diff of /classpath/javax/swing/text/Document.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mark, Sat Jun 26 16:07:03 2004 UTC revision 1.7 by mark, Thu Jul 22 19:45:39 2004 UTC
# Line 50  public interface Document Line 50  public interface Document
50    
51    void addUndoableEditListener(UndoableEditListener listener);    void addUndoableEditListener(UndoableEditListener listener);
52    
53    Position createPosition(int offs);    Position createPosition(int offs)
54        throws BadLocationException;
55    
56    Element getDefaultRootElement();    Element getDefaultRootElement();
57    
# Line 64  public interface Document Line 65  public interface Document
65    
66    Position getStartPosition();    Position getStartPosition();
67    
68    String getText(int offset, int length);    String getText(int offset, int length)
69        throws BadLocationException;
70    
71    void getText(int offset, int length, Segment txt);    void getText(int offset, int length, Segment txt)
72        throws BadLocationException;
73    
74    void insertString(int offset, String str, AttributeSet a)    void insertString(int offset, String str, AttributeSet a)
75      throws BadLocationException;      throws BadLocationException;
76    
77    void putProperty(Object key, Object value);    void putProperty(Object key, Object value);
78    
79    void remove(int offs, int len);    void remove(int offs, int len)
80        throws BadLocationException;
81    
82    void removeDocumentListener(DocumentListener listener);    void removeDocumentListener(DocumentListener listener);
83    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26