Android
android.text.method
public class

android.text.method.Touch

java.lang.Object
android.text.method.Touch

Summary

Public Methods

      static    boolean  onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
Handles touch events for dragging.
      static    void  scrollTo(TextView widget, Layout layout, int x, int y)
Scrolls the specified widget to the specified coordinates, except constrains the X scrolling position to the horizontal regions of the text that will be visible after scrolling to the specified Y position.
Methods inherited from class java.lang.Object

Details

Public Methods

public static boolean onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)

Handles touch events for dragging. You may want to do other actions like moving the cursor on touch as well.

public static void scrollTo(TextView widget, Layout layout, int x, int y)

Scrolls the specified widget to the specified coordinates, except constrains the X scrolling position to the horizontal regions of the text that will be visible after scrolling to the specified Y position.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56