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

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

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

revision 1.2 by mark, Tue Apr 30 21:37:27 2002 UTC revision 1.3 by mark, Thu Jul 22 19:45:39 2004 UTC
# Line 1  Line 1 
1  /* Position.java --  /* Position.java --
2     Copyright (C) 2002 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.
5    
# Line 42  public interface Position Line 42  public interface Position
42  {  {
43      static class Bias      static class Bias
44      {      {
45        public static final Bias Backward = new Bias("backward");
46        public static final Bias Forward = new Bias("forward");
47    
48        private String name;
49        
50        private Bias(String n)
51        {
52          name = n;
53        }
54    
55        public String toString()
56        {
57          return name;
58        }
59      }      }
60            
61      int getOffset();      int getOffset();

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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