Build 1.0_r1(from source)

android.text.method
Class LinkMovementMethod

java.lang.Object
  extended by android.text.method.ScrollingMovementMethod
      extended by android.text.method.LinkMovementMethod
All Implemented Interfaces:
MovementMethod

public class LinkMovementMethod
extends ScrollingMovementMethod


Constructor Summary
LinkMovementMethod()
           
 
Method Summary
protected  boolean down(TextView widget, Spannable buffer)
          Scrolls the text down if possible.
static MovementMethod getInstance()
           
 void initialize(TextView widget, Spannable text)
           
protected  boolean left(TextView widget, Spannable buffer)
          Scrolls the text to the left if possible.
 boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
           
 boolean onKeyUp(TextView widget, Spannable buffer, int keyCode, KeyEvent event)
           
 void onTakeFocus(TextView view, Spannable text, int dir)
           
 boolean onTouchEvent(TextView widget, Spannable buffer, MotionEvent event)
           
protected  boolean right(TextView widget, Spannable buffer)
          Scrolls the text to the right if possible.
protected  boolean up(TextView widget, Spannable buffer)
          Scrolls the text up if possible.
 
Methods inherited from class android.text.method.ScrollingMovementMethod
canSelectArbitrarily, onTrackballEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkMovementMethod

public LinkMovementMethod()
Method Detail

onKeyDown

public boolean onKeyDown(TextView widget,
                         Spannable buffer,
                         int keyCode,
                         KeyEvent event)
Specified by:
onKeyDown in interface MovementMethod
Overrides:
onKeyDown in class ScrollingMovementMethod

up

protected boolean up(TextView widget,
                     Spannable buffer)
Description copied from class: ScrollingMovementMethod
Scrolls the text up if possible.

Overrides:
up in class ScrollingMovementMethod

down

protected boolean down(TextView widget,
                       Spannable buffer)
Description copied from class: ScrollingMovementMethod
Scrolls the text down if possible.

Overrides:
down in class ScrollingMovementMethod

left

protected boolean left(TextView widget,
                       Spannable buffer)
Description copied from class: ScrollingMovementMethod
Scrolls the text to the left if possible.

Overrides:
left in class ScrollingMovementMethod

right

protected boolean right(TextView widget,
                        Spannable buffer)
Description copied from class: ScrollingMovementMethod
Scrolls the text to the right if possible.

Overrides:
right in class ScrollingMovementMethod

onKeyUp

public boolean onKeyUp(TextView widget,
                       Spannable buffer,
                       int keyCode,
                       KeyEvent event)
Specified by:
onKeyUp in interface MovementMethod
Overrides:
onKeyUp in class ScrollingMovementMethod

onTouchEvent

public boolean onTouchEvent(TextView widget,
                            Spannable buffer,
                            MotionEvent event)
Specified by:
onTouchEvent in interface MovementMethod
Overrides:
onTouchEvent in class ScrollingMovementMethod

initialize

public void initialize(TextView widget,
                       Spannable text)
Specified by:
initialize in interface MovementMethod
Overrides:
initialize in class ScrollingMovementMethod

onTakeFocus

public void onTakeFocus(TextView view,
                        Spannable text,
                        int dir)
Specified by:
onTakeFocus in interface MovementMethod
Overrides:
onTakeFocus in class ScrollingMovementMethod

getInstance

public static MovementMethod getInstance()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature