android.text.style
Class AbsoluteSizeSpan

java.lang.Object
  extended by android.text.style.CharacterStyle
      extended by android.text.style.MetricAffectingSpan
          extended by android.text.style.AbsoluteSizeSpan
All Implemented Interfaces:
Parcelable, ParcelableSpan, UpdateAppearance, UpdateLayout

public class AbsoluteSizeSpan
extends MetricAffectingSpan
implements ParcelableSpan


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
AbsoluteSizeSpan(int size)
           
AbsoluteSizeSpan(int size, boolean dip)
           
AbsoluteSizeSpan(Parcel src)
           
 
Method Summary
 int describeContents()
           
 boolean getDip()
           
 int getSize()
           
 int getSpanTypeId()
           
 void updateDrawState(TextPaint ds)
           
 void updateMeasureState(TextPaint ds)
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class android.text.style.MetricAffectingSpan
getUnderlying
 
Methods inherited from class android.text.style.CharacterStyle
wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteSizeSpan

public AbsoluteSizeSpan(int size)

AbsoluteSizeSpan

public AbsoluteSizeSpan(int size,
                        boolean dip)

AbsoluteSizeSpan

public AbsoluteSizeSpan(Parcel src)
Method Detail

getSpanTypeId

public int getSpanTypeId()
Specified by:
getSpanTypeId in interface ParcelableSpan

describeContents

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

writeToParcel

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

getSize

public int getSize()

getDip

public boolean getDip()

updateDrawState

public void updateDrawState(TextPaint ds)
Specified by:
updateDrawState in class CharacterStyle

updateMeasureState

public void updateMeasureState(TextPaint ds)
Specified by:
updateMeasureState in class MetricAffectingSpan


Copyright © 2008-2012. All Rights Reserved.