android.view
Class FocusFinder

java.lang.Object
  extended by android.view.FocusFinder

public class FocusFinder
extends Object


Method Summary
 View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas)
           
 View findNextFocus(ViewGroup root, View focused, int direction)
           
 View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction)
           
static FocusFinder getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FocusFinder getInstance()

findNextFocus

public final View findNextFocus(ViewGroup root,
                                View focused,
                                int direction)

findNextFocusFromRect

public View findNextFocusFromRect(ViewGroup root,
                                  Rect focusedRect,
                                  int direction)

findNearestTouchable

public View findNearestTouchable(ViewGroup root,
                                 int x,
                                 int y,
                                 int direction,
                                 int[] deltas)


Copyright © 2008-2012. All Rights Reserved.