android.content.res
Class TypedArray

java.lang.Object
  extended by android.content.res.TypedArray

public class TypedArray
extends Object


Method Summary
 boolean getBoolean(int index, boolean defValue)
           
 int getColor(int index, int defValue)
           
 ColorStateList getColorStateList(int index)
           
 float getDimension(int index, float defValue)
           
 int getDimensionPixelOffset(int index, int defValue)
           
 int getDimensionPixelSize(int index, int defValue)
           
 Drawable getDrawable(int index)
           
 float getFloat(int index, float defValue)
           
 float getFraction(int index, int base, int pbase, float defValue)
           
 int getIndex(int at)
           
 int getIndexCount()
           
 int getInt(int index, int defValue)
           
 int getInteger(int index, int defValue)
           
 int getLayoutDimension(int index, int defValue)
           
 int getLayoutDimension(int index, String name)
           
 String getNonResourceString(int index)
           
 String getPositionDescription()
           
 int getResourceId(int index, int defValue)
           
 Resources getResources()
           
 String getString(int index)
           
 CharSequence getText(int index)
           
 CharSequence[] getTextArray(int index)
           
 boolean getValue(int index, TypedValue outValue)
           
 boolean hasValue(int index)
           
 int length()
           
 TypedValue peekValue(int index)
           
 void recycle()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

length

public int length()

getIndexCount

public int getIndexCount()

getIndex

public int getIndex(int at)

getResources

public Resources getResources()

getText

public CharSequence getText(int index)

getString

public String getString(int index)

getNonResourceString

public String getNonResourceString(int index)

getBoolean

public boolean getBoolean(int index,
                          boolean defValue)

getInt

public int getInt(int index,
                  int defValue)

getFloat

public float getFloat(int index,
                      float defValue)

getColor

public int getColor(int index,
                    int defValue)

getColorStateList

public ColorStateList getColorStateList(int index)

getInteger

public int getInteger(int index,
                      int defValue)

getDimension

public float getDimension(int index,
                          float defValue)

getDimensionPixelOffset

public int getDimensionPixelOffset(int index,
                                   int defValue)

getDimensionPixelSize

public int getDimensionPixelSize(int index,
                                 int defValue)

getLayoutDimension

public int getLayoutDimension(int index,
                              String name)

getLayoutDimension

public int getLayoutDimension(int index,
                              int defValue)

getFraction

public float getFraction(int index,
                         int base,
                         int pbase,
                         float defValue)

getResourceId

public int getResourceId(int index,
                         int defValue)

getDrawable

public Drawable getDrawable(int index)

getTextArray

public CharSequence[] getTextArray(int index)

getValue

public boolean getValue(int index,
                        TypedValue outValue)

hasValue

public boolean hasValue(int index)

peekValue

public TypedValue peekValue(int index)

getPositionDescription

public String getPositionDescription()

recycle

public void recycle()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.