/[classpath]/classpath/javax/swing/JTextPane.java
ViewVC logotype

Diff of /classpath/javax/swing/JTextPane.java

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

revision 1.11 by rabbit78, Fri Sep 30 19:54:18 2005 UTC revision 1.12 by rabbit78, Wed Oct 19 15:45:04 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package javax.swing;  package javax.swing;
40    
41  import java.awt.Component;  import java.awt.Component;
 import java.io.IOException;  
 import java.io.ObjectOutputStream;  
42    
43  import javax.swing.text.AttributeSet;  import javax.swing.text.AttributeSet;
44  import javax.swing.text.BadLocationException;  import javax.swing.text.BadLocationException;
# Line 49  import javax.swing.text.Document; Line 47  import javax.swing.text.Document;
47  import javax.swing.text.EditorKit;  import javax.swing.text.EditorKit;
48  import javax.swing.text.Element;  import javax.swing.text.Element;
49  import javax.swing.text.MutableAttributeSet;  import javax.swing.text.MutableAttributeSet;
 import javax.swing.text.SimpleAttributeSet;  
50  import javax.swing.text.Style;  import javax.swing.text.Style;
51  import javax.swing.text.StyledDocument;  import javax.swing.text.StyledDocument;
52  import javax.swing.text.StyledEditorKit;  import javax.swing.text.StyledEditorKit;
# Line 106  public class JTextPane Line 103  public class JTextPane
103     * @throws IllegalArgumentException if <code>document</code> is not an     * @throws IllegalArgumentException if <code>document</code> is not an
104     *         instance of <code>StyledDocument</code>     *         instance of <code>StyledDocument</code>
105     *     *
106     * @see {@link #setStyledDocument}     * @see #setStyledDocument
107     */     */
108    public void setDocument(Document document)    public void setDocument(Document document)
109    {    {
# Line 120  public class JTextPane Line 117  public class JTextPane
117    /**    /**
118     * Returns the {@link StyledDocument} that is the content model for     * Returns the {@link StyledDocument} that is the content model for
119     * this <code>JTextPane</code>. This is a typed wrapper for     * this <code>JTextPane</code>. This is a typed wrapper for
120     * {@link #getDocument}.     * {@link #getDocument()}.
121     *     *
122     * @return the content model of this <code>JTextPane</code>     * @return the content model of this <code>JTextPane</code>
123     */     */
# Line 298  public class JTextPane Line 295  public class JTextPane
295     * @param replace if <code>true</code>, the attributes of the current     * @param replace if <code>true</code>, the attributes of the current
296     *     selection are overridden, otherwise they are merged     *     selection are overridden, otherwise they are merged
297     *     *
298     * @see {@link #getInputAttributes}     * @see #getInputAttributes
299     */     */
300    public void setCharacterAttributes(AttributeSet attribute,    public void setCharacterAttributes(AttributeSet attribute,
301                                       boolean replace)                                       boolean replace)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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