/[classpath]/classpath/javax/swing/plaf/basic/BasicEditorPaneUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicEditorPaneUI.java

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

revision 1.2.2.2 by gnu_andrew, Tue Aug 2 20:12:38 2005 UTC revision 1.2.2.3 by gnu_andrew, Sun Nov 27 21:00:38 2005 UTC
# Line 42  import javax.swing.JComponent; Line 42  import javax.swing.JComponent;
42  import javax.swing.JEditorPane;  import javax.swing.JEditorPane;
43  import javax.swing.plaf.ComponentUI;  import javax.swing.plaf.ComponentUI;
44  import javax.swing.text.EditorKit;  import javax.swing.text.EditorKit;
 import javax.swing.text.Element;  
45  import javax.swing.text.JTextComponent;  import javax.swing.text.JTextComponent;
 import javax.swing.text.PlainView;  
 import javax.swing.text.View;  
46    
47  /**  /**
48   * The UI class for  {@link JEditorPane}s.   * The UI class for  {@link JEditorPane}s.
# Line 76  public class BasicEditorPaneUI extends B Line 73  public class BasicEditorPaneUI extends B
73      // Do nothing here.      // Do nothing here.
74    }    }
75    
   // FIXME: Should not be overridden here but instead be handled by the  
   // JEditorPane's EditorKit. However, as long as we don't have styles in  
   // place this doesn't make much sense.  
   public View create(Element elem)  
   {  
     return new PlainView(elem);  
   }  
   
76    /**    /**
77     * Returns the property prefix to be used by this UI class. This is     * Returns the property prefix to be used by this UI class. This is
78     * <code>EditorPane</code> in this case.     * <code>EditorPane</code> in this case.

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

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