FileDocCategorySizeDatePackage
TextEvent.javaAPI DocAndroid 1.5 API1904Wed May 06 22:41:54 BST 2009java.awt.event

TextEvent

public class TextEvent extends AWTEvent
This class is not supported in Android 1.0. It is merely provided to maintain interface compatibility with desktop Java implementations.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
public static final int
TEXT_FIRST
public static final int
TEXT_LAST
public static final int
TEXT_VALUE_CHANGED
Constructors Summary
public TextEvent(Object src, int id)


         
        super(src, id);
    
Methods Summary
public java.lang.StringparamString()

        /* The format is based on 1.5 release behavior 
         * which can be revealed by the following code:
         * 
         * TextEvent e = new TextEvent(new Component(){}, 
         *          TextEvent.TEXT_VALUE_CHANGED); 
         * System.out.println(e);
         */

        return (id == TEXT_VALUE_CHANGED) ? 
                "TEXT_VALUE_CHANGED" : "unknown type"; //$NON-NLS-1$ //$NON-NLS-2$