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

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

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

revision 1.6 by mark, Sat Jul 31 23:18:08 2004 UTC revision 1.7 by mark, Sat Jul 31 23:24:23 2004 UTC
# Line 1  Line 1 
1  /* DefaultEditorKit.java --  /* DefaultEditorKit.java --
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 125  public class DefaultEditorKit extends Ed Line 125  public class DefaultEditorKit extends Ed
125     * Called when the kit is being removed from the JEditorPane.     * Called when the kit is being removed from the JEditorPane.
126     */     */
127    public void deinstall(JEditorPane c)    public void deinstall(JEditorPane c)
128      {    {
129      }    }
130    
131    public void install(JEditorPane c)    public void install(JEditorPane c)
132      {    {
133      }    }
134    
135    public Caret createCaret()    public Caret createCaret()
136      {    {
137          return null;      return null;
138      }    }
139    
140    public Document createDefaultDocument()    public Document createDefaultDocument()
141      {    {
142          return new PlainDocument();      return new PlainDocument();
143      }    }
144    
145    public Action[] getActions()    public Action[] getActions()
146      {    {
147          return null;      return null;
148      }    }
149    
150    public String getContentType()    public String getContentType()
151      {    {
152          return "text/plain";      return "text/plain";
153      }    }
154          
155    public ViewFactory getViewFactory()    public ViewFactory getViewFactory()
156      {    {
157          return null;      return null;
158      }    }
159    
160    public void read(InputStream in, Document doc, int pos)    public void read(InputStream in, Document doc, int pos)
161      throws BadLocationException, IOException      throws BadLocationException, IOException
162      {    {
163      }    }
164    
165    public void read(Reader in, Document doc, int pos)    public void read(Reader in, Document doc, int pos)
166      throws BadLocationException, IOException      throws BadLocationException, IOException
167      {    {
168      }    }
169    
170    public void write(OutputStream out, Document doc, int pos, int len)    public void write(OutputStream out, Document doc, int pos, int len)
171      throws BadLocationException, IOException      throws BadLocationException, IOException
172      {    {
173      }    }
174    
175    public void write(Writer out, Document doc, int pos, int len)    public void write(Writer out, Document doc, int pos, int len)
176      throws BadLocationException, IOException      throws BadLocationException, IOException
177      {    {
178      }    }
179  }  }

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