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

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

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

revision 1.7 by mark, Sat Jul 2 20:32:51 2005 UTC revision 1.8 by rabbit78, Wed Oct 19 14:57:30 2005 UTC
# Line 48  import java.io.Writer; Line 48  import java.io.Writer;
48  import javax.swing.Action;  import javax.swing.Action;
49  import javax.swing.JEditorPane;  import javax.swing.JEditorPane;
50    
51  public abstract class EditorKit  public abstract class EditorKit implements Cloneable, Serializable
   implements Cloneable, Serializable  
52  {  {
53    private static final long serialVersionUID = -5044124649345887822L;    private static final long serialVersionUID = -5044124649345887822L;
54        
55    public EditorKit()    public EditorKit()
56    {    {
57        // Nothing to do here.
58    }    }
59    
60    public Object clone()    public Object clone()
61    {    {
62      try      try
63        {        {
64          return super.clone();          return super.clone();
65        }        }
66      catch (CloneNotSupportedException e)      catch (CloneNotSupportedException e)
67        {        {
68          return null;          return null;
69        }        }
70    }    }
71    
# Line 74  public abstract class EditorKit Line 74  public abstract class EditorKit
74     */     */
75    public void deinstall(JEditorPane c)    public void deinstall(JEditorPane c)
76    {    {
77        // This default implementation does nothing.
78    }    }
79    
80    public void install(JEditorPane c)    public void install(JEditorPane c)
81    {    {
82        // This default implementation does nothing.
83    }    }
84    
85    public abstract Caret createCaret();    public abstract Caret createCaret();

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

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