/[classpath]/classpath/javax/swing/text/html/HTMLEditorKit.java
ViewVC logotype

Diff of /classpath/javax/swing/text/html/HTMLEditorKit.java

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

revision 1.9 by langel, Thu Dec 8 21:43:22 2005 UTC revision 1.10 by langel, Fri Dec 9 15:38:45 2005 UTC
# Line 268  public class HTMLEditorKit Line 268  public class HTMLEditorKit
268    public static final String PARA_INDENT_RIGHT = "html-para-indent-right";    public static final String PARA_INDENT_RIGHT = "html-para-indent-right";
269    
270    /**    /**
271     * The ViewFactory for HTMLViewFactory.     * The ViewFactory for HTMLFactory.
272     */     */
273    HTMLViewFactory viewFactory;    HTMLFactory viewFactory;
274        
275    /**    /**
276     * Create a text storage model for this type of editor.     * Create a text storage model for this type of editor.
# Line 374  public class HTMLEditorKit Line 374  public class HTMLEditorKit
374    public ViewFactory getViewFactory()    public ViewFactory getViewFactory()
375    {    {
376      if (viewFactory == null)      if (viewFactory == null)
377        viewFactory = new HTMLViewFactory();        viewFactory = new HTMLFactory();
378      return viewFactory;      return viewFactory;
379    }    }
380        
# Line 382  public class HTMLEditorKit Line 382  public class HTMLEditorKit
382     * A {@link ViewFactory} that is able to create {@link View}s for     * A {@link ViewFactory} that is able to create {@link View}s for
383     * the <code>Element</code>s that are supported.     * the <code>Element</code>s that are supported.
384     */     */
385    static class HTMLViewFactory    public static class HTMLFactory
386      implements ViewFactory      implements ViewFactory
387    {    {
388      /**      /**

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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