android.view.accessibility
Class AccessibilityNodeInfo

java.lang.Object
  extended by android.view.accessibility.AccessibilityNodeInfo
All Implemented Interfaces:
Parcelable

public class AccessibilityNodeInfo
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static int ACTION_CLEAR_FOCUS
           
static int ACTION_CLEAR_SELECTION
           
static int ACTION_FOCUS
           
static int ACTION_SELECT
           
static Parcelable.Creator<AccessibilityNodeInfo> CREATOR
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 void addAction(int action)
           
 void addChild(View child)
           
 int describeContents()
           
 boolean equals(Object object)
           
 List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text)
           
 int getActions()
           
 void getBoundsInParent(Rect outBounds)
           
 void getBoundsInScreen(Rect outBounds)
           
 AccessibilityNodeInfo getChild(int index)
           
 int getChildCount()
           
 CharSequence getClassName()
           
 CharSequence getContentDescription()
           
 CharSequence getPackageName()
           
 AccessibilityNodeInfo getParent()
           
 CharSequence getText()
           
 int getWindowId()
           
 int hashCode()
           
 boolean isCheckable()
           
 boolean isChecked()
           
 boolean isClickable()
           
 boolean isEnabled()
           
 boolean isFocusable()
           
 boolean isFocused()
           
 boolean isLongClickable()
           
 boolean isPassword()
           
 boolean isScrollable()
           
 boolean isSelected()
           
static AccessibilityNodeInfo obtain()
           
static AccessibilityNodeInfo obtain(AccessibilityNodeInfo info)
           
static AccessibilityNodeInfo obtain(View source)
           
 boolean performAction(int action)
           
 void recycle()
           
 void setBoundsInParent(Rect bounds)
           
 void setBoundsInScreen(Rect bounds)
           
 void setCheckable(boolean checkable)
           
 void setChecked(boolean checked)
           
 void setClassName(CharSequence className)
           
 void setClickable(boolean clickable)
           
 void setContentDescription(CharSequence contentDescription)
           
 void setEnabled(boolean enabled)
           
 void setFocusable(boolean focusable)
           
 void setFocused(boolean focused)
           
 void setLongClickable(boolean longClickable)
           
 void setPackageName(CharSequence packageName)
           
 void setParent(View parent)
           
 void setPassword(boolean password)
           
 void setScrollable(boolean scrollable)
           
 void setSelected(boolean selected)
           
 void setSource(View source)
           
 void setText(CharSequence text)
           
 String toString()
           
 void writeToParcel(Parcel parcel, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_FOCUS

public static final int ACTION_FOCUS
See Also:
Constant Field Values

ACTION_CLEAR_FOCUS

public static final int ACTION_CLEAR_FOCUS
See Also:
Constant Field Values

ACTION_SELECT

public static final int ACTION_SELECT
See Also:
Constant Field Values

ACTION_CLEAR_SELECTION

public static final int ACTION_CLEAR_SELECTION
See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<AccessibilityNodeInfo> CREATOR
Method Detail

setSource

public void setSource(View source)

getWindowId

public int getWindowId()

getChildCount

public int getChildCount()

getChild

public AccessibilityNodeInfo getChild(int index)

addChild

public void addChild(View child)

getActions

public int getActions()

addAction

public void addAction(int action)

performAction

public boolean performAction(int action)

findAccessibilityNodeInfosByText

public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text)

getParent

public AccessibilityNodeInfo getParent()

setParent

public void setParent(View parent)

getBoundsInParent

public void getBoundsInParent(Rect outBounds)

setBoundsInParent

public void setBoundsInParent(Rect bounds)

getBoundsInScreen

public void getBoundsInScreen(Rect outBounds)

setBoundsInScreen

public void setBoundsInScreen(Rect bounds)

isCheckable

public boolean isCheckable()

setCheckable

public void setCheckable(boolean checkable)

isChecked

public boolean isChecked()

setChecked

public void setChecked(boolean checked)

isFocusable

public boolean isFocusable()

setFocusable

public void setFocusable(boolean focusable)

isFocused

public boolean isFocused()

setFocused

public void setFocused(boolean focused)

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean selected)

isClickable

public boolean isClickable()

setClickable

public void setClickable(boolean clickable)

isLongClickable

public boolean isLongClickable()

setLongClickable

public void setLongClickable(boolean longClickable)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

isPassword

public boolean isPassword()

setPassword

public void setPassword(boolean password)

isScrollable

public boolean isScrollable()

setScrollable

public void setScrollable(boolean scrollable)

getPackageName

public CharSequence getPackageName()

setPackageName

public void setPackageName(CharSequence packageName)

getClassName

public CharSequence getClassName()

setClassName

public void setClassName(CharSequence className)

getText

public CharSequence getText()

setText

public void setText(CharSequence text)

getContentDescription

public CharSequence getContentDescription()

setContentDescription

public void setContentDescription(CharSequence contentDescription)

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

obtain

public static AccessibilityNodeInfo obtain(View source)

obtain

public static AccessibilityNodeInfo obtain()

obtain

public static AccessibilityNodeInfo obtain(AccessibilityNodeInfo info)

recycle

public void recycle()

writeToParcel

public void writeToParcel(Parcel parcel,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.