android.view.accessibility
Class AccessibilityEvent

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

public final class AccessibilityEvent
extends java.lang.Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<AccessibilityEvent> CREATOR
           
static int INVALID_POSITION
           
static int MAX_TEXT_LENGTH
           
static int TYPE_NOTIFICATION_STATE_CHANGED
           
static int TYPE_VIEW_CLICKED
           
static int TYPE_VIEW_FOCUSED
           
static int TYPE_VIEW_LONG_CLICKED
           
static int TYPE_VIEW_SELECTED
           
static int TYPE_VIEW_TEXT_CHANGED
           
static int TYPE_WINDOW_STATE_CHANGED
           
static int TYPES_ALL_MASK
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
 int getAddedCount()
           
 java.lang.CharSequence getBeforeText()
           
 java.lang.CharSequence getClassName()
           
 java.lang.CharSequence getContentDescription()
           
 int getCurrentItemIndex()
           
 long getEventTime()
           
 int getEventType()
           
 int getFromIndex()
           
 int getItemCount()
           
 java.lang.CharSequence getPackageName()
           
 Parcelable getParcelableData()
           
 int getRemovedCount()
           
 java.util.List<java.lang.CharSequence> getText()
           
 void initFromParcel(Parcel parcel)
           
 boolean isChecked()
           
 boolean isEnabled()
           
 boolean isFullScreen()
           
 boolean isPassword()
           
static AccessibilityEvent obtain()
           
static AccessibilityEvent obtain(int eventType)
           
 void recycle()
           
 void setAddedCount(int addedCount)
           
 void setBeforeText(java.lang.CharSequence beforeText)
           
 void setChecked(boolean isChecked)
           
 void setClassName(java.lang.CharSequence className)
           
 void setContentDescription(java.lang.CharSequence contentDescription)
           
 void setCurrentItemIndex(int currentItemIndex)
           
 void setEnabled(boolean isEnabled)
           
 void setEventTime(long eventTime)
           
 void setEventType(int eventType)
           
 void setFromIndex(int fromIndex)
           
 void setFullScreen(boolean isFullScreen)
           
 void setItemCount(int itemCount)
           
 void setPackageName(java.lang.CharSequence packageName)
           
 void setParcelableData(Parcelable parcelableData)
           
 void setPassword(boolean isPassword)
           
 void setRemovedCount(int removedCount)
           
 java.lang.String toString()
           
 void writeToParcel(Parcel parcel, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_POSITION

public static final int INVALID_POSITION
See Also:
Constant Field Values

MAX_TEXT_LENGTH

public static final int MAX_TEXT_LENGTH
See Also:
Constant Field Values

TYPE_VIEW_CLICKED

public static final int TYPE_VIEW_CLICKED
See Also:
Constant Field Values

TYPE_VIEW_LONG_CLICKED

public static final int TYPE_VIEW_LONG_CLICKED
See Also:
Constant Field Values

TYPE_VIEW_SELECTED

public static final int TYPE_VIEW_SELECTED
See Also:
Constant Field Values

TYPE_VIEW_FOCUSED

public static final int TYPE_VIEW_FOCUSED
See Also:
Constant Field Values

TYPE_VIEW_TEXT_CHANGED

public static final int TYPE_VIEW_TEXT_CHANGED
See Also:
Constant Field Values

TYPE_WINDOW_STATE_CHANGED

public static final int TYPE_WINDOW_STATE_CHANGED
See Also:
Constant Field Values

TYPE_NOTIFICATION_STATE_CHANGED

public static final int TYPE_NOTIFICATION_STATE_CHANGED
See Also:
Constant Field Values

TYPES_ALL_MASK

public static final int TYPES_ALL_MASK
See Also:
Constant Field Values

CREATOR

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

isChecked

public boolean isChecked()

setChecked

public void setChecked(boolean isChecked)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean isEnabled)

isPassword

public boolean isPassword()

setPassword

public void setPassword(boolean isPassword)

setFullScreen

public void setFullScreen(boolean isFullScreen)

isFullScreen

public boolean isFullScreen()

getEventType

public int getEventType()

setEventType

public void setEventType(int eventType)

getItemCount

public int getItemCount()

setItemCount

public void setItemCount(int itemCount)

getCurrentItemIndex

public int getCurrentItemIndex()

setCurrentItemIndex

public void setCurrentItemIndex(int currentItemIndex)

getFromIndex

public int getFromIndex()

setFromIndex

public void setFromIndex(int fromIndex)

getAddedCount

public int getAddedCount()

setAddedCount

public void setAddedCount(int addedCount)

getRemovedCount

public int getRemovedCount()

setRemovedCount

public void setRemovedCount(int removedCount)

getEventTime

public long getEventTime()

setEventTime

public void setEventTime(long eventTime)

getClassName

public java.lang.CharSequence getClassName()

setClassName

public void setClassName(java.lang.CharSequence className)

getPackageName

public java.lang.CharSequence getPackageName()

setPackageName

public void setPackageName(java.lang.CharSequence packageName)

getText

public java.util.List<java.lang.CharSequence> getText()

getBeforeText

public java.lang.CharSequence getBeforeText()

setBeforeText

public void setBeforeText(java.lang.CharSequence beforeText)

getContentDescription

public java.lang.CharSequence getContentDescription()

setContentDescription

public void setContentDescription(java.lang.CharSequence contentDescription)

getParcelableData

public Parcelable getParcelableData()

setParcelableData

public void setParcelableData(Parcelable parcelableData)

obtain

public static AccessibilityEvent obtain(int eventType)

obtain

public static AccessibilityEvent obtain()

recycle

public void recycle()

initFromParcel

public void initFromParcel(Parcel parcel)

writeToParcel

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

describeContents

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2010. All Rights Reserved.