/[classpath]/classpath/java/awt/TextComponent.java
ViewVC logotype

Diff of /classpath/java/awt/TextComponent.java

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

revision 1.17 by mkoch, Thu Dec 30 19:02:06 2004 UTC revision 1.18 by tromey, Tue Apr 26 18:56:18 2005 UTC
# Line 76  private static final long serialVersionU Line 76  private static final long serialVersionU
76    
77  /**  /**
78    * @serial Indicates whether or not this component is editable.    * @serial Indicates whether or not this component is editable.
79      * This is package-private to avoid an accessor method.
80    */    */
81  private boolean editable;  boolean editable;
82    
83  /**  /**
84    * @serial The starting position of the selected text region.    * @serial The starting position of the selected text region.
85      * This is package-private to avoid an accessor method.
86    */    */
87  private int selectionStart;  int selectionStart;
88    
89  /**  /**
90    * @serial The ending position of the selected text region.    * @serial The ending position of the selected text region.
91      * This is package-private to avoid an accessor method.
92    */    */
93  private int selectionEnd;  int selectionEnd;
94    
95  /**  /**
96    * @serial The text in the component    * @serial The text in the component
97      * This is package-private to avoid an accessor method.
98    */    */
99  private String text;  String text;
100    
101  /**  /**
102    * A list of listeners that will receive events from this object.    * A list of listeners that will receive events from this object.
# Line 708  paramString() Line 712  paramString()
712        
713    /*******************************/    /*******************************/
714    // Provide AccessibleAWTTextComponent access to several peer functions that    // Provide AccessibleAWTTextComponent access to several peer functions that
715    // aren't publicly exposed.    // aren't publicly exposed.  This is package-private to avoid an accessor
716    private synchronized int    // method.
717      synchronized int
718    getIndexAtPoint(Point p)    getIndexAtPoint(Point p)
719    {    {
720      TextComponentPeer tcp = (TextComponentPeer)getPeer();      TextComponentPeer tcp = (TextComponentPeer)getPeer();
# Line 718  paramString() Line 723  paramString()
723      return -1;      return -1;
724    }    }
725        
726    private synchronized Rectangle    synchronized Rectangle
727    getCharacterBounds(int i)    getCharacterBounds(int i)
728    {    {
729      TextComponentPeer tcp = (TextComponentPeer)getPeer();      TextComponentPeer tcp = (TextComponentPeer)getPeer();

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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