- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/awt/event/TextEvent.java (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/awt/event/TextEvent.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 /* Copyright (C) 1999, 2000 Free Software Foundation 1 /* TextEvent.java -- event for text changes 2 Copyright (C) 1999, 2002 Free Software Foundation, Inc. 2 3 3 This file is part of libjava.4 . 4 5 5 This software is copyrighted work licensed under the terms of the 6 Libjava License. Please consult the file "LIBJAVA_LICENSE" for 7 details. */ 6 GNU Classpath is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 11 GNU Classpath is distributed in the hope that it will be useful, but 12 WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GNU Classpath; see the file COPYING. If not, write to the 18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 19 02111-1307 USA. 20 21 Linking this library statically or dynamically with other modules is 22 making a combined work based on this library. Thus, the terms and 23 conditions of the GNU General Public License cover the whole 24 combination. 25 26 As a special exception, the copyright holders of this library give you 27 permission to link this library with independent modules to produce an 28 executable, regardless of the license terms of these independent 29 modules, and to copy and distribute the resulting executable under 30 terms of your choice, provided that you also meet, for each linked 31 independent module, the terms and conditions of the license of that 32 module. An independent module is a module which is not derived from 33 or based on this library. If you modify this library, you may extend 34 this exception to your version of the library, but you are not 35 obligated to do so. If you do not wish to do so, delete this 36 exception statement from your version. */ 37 8 38 9 39 package java.awt.event; 10 import java.awt.*;11 40 12 /* Status: Believed complete and correct to JDK 1.2. */ 41 import java.awt.AWTEvent; 13 42 43 44 45 46 47 48 49 50 51 52 53 14 54 public class TextEvent extends AWTEvent 15 55 { 56 57 58 59 60 61 16 62 public static final int TEXT_FIRST = 900; 63 64 17 65 public static final int TEXT_LAST = 900; 66 67 18 68 public static final int TEXT_VALUE_CHANGED = 900; 19 69 20 public TextEvent (Object source, int id) 70 /** 71 * Initializes a new instance of <code>TextEvent</code> with the specified 72 * source and id. Note that an invalid id leads to unspecified results. 73 * 74 * @param source the (TextComponent) object that generated this event 75 * @param id the event id 76 * @throws IllegalArgumentException if source is null 77 */ 78 public TextEvent(Object source, int id) 21 79 { 22 super (source, id);80 super(source, id); 23 81 } 24 82 25 public String paramString () 83 /** 84 * Returns a string identifying this event. This is "TEXT_VALUE_CHANGED". 85 * 86 * @return a string identifying this event 87 */ 88 public String paramString() 26 89 { 27 return "TEXT_VALUE_CHANGED";90 return "; 28 91 } 29 } 92 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
