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

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

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

revision 1.6 by brawer, Thu Jun 26 14:53:49 2003 UTC revision 1.7 by mkoch, Wed Jul 2 05:21:52 2003 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package javax.swing.plaf.basic;  package javax.swing.plaf.basic;
40    
41  import javax.swing.text.*;  import java.awt.Color;
42  import javax.swing.plaf.*;  import java.awt.Dimension;
43  import java.awt.*;  import java.awt.Graphics;
44  import javax.swing.*;  import java.awt.Point;
45    import java.awt.Rectangle;
46    import javax.swing.JComponent;
47    import javax.swing.plaf.ComponentUI;
48    import javax.swing.plaf.TextUI;
49    import javax.swing.text.BadLocationException;
50    import javax.swing.text.DefaultEditorKit;
51    import javax.swing.text.EditorKit;
52    import javax.swing.text.Element;
53    import javax.swing.text.JTextComponent;
54    import javax.swing.text.Position;
55    import javax.swing.text.View;
56    import javax.swing.text.ViewFactory;
57    
58  public class BasicTextUI extends TextUI  public class BasicTextUI extends TextUI
59      implements ViewFactory
60  {  {
61      int gap = 3;      int gap = 3;
62      View view = null; // was: new RootView();      View view = null; // was: new RootView();
# Line 167  public class BasicTextUI extends TextUI Line 180  public class BasicTextUI extends TextUI
180      {      {
181          return 0;          return 0;
182      }      }
 }  
   
   
   
   
183    
184      public View create (Element elem)
185      {
186        // subclasses have to implement this to get this functionality
187        return null;
188      }
189    }

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