android.text.style
Class AlignmentSpan.Standard

java.lang.Object
  extended by android.text.style.AlignmentSpan.Standard
All Implemented Interfaces:
Parcelable, ParcelableSpan, AlignmentSpan, ParagraphStyle
Enclosing interface:
AlignmentSpan

public static class AlignmentSpan.Standard
extends Object
implements AlignmentSpan, ParcelableSpan


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.text.style.AlignmentSpan
AlignmentSpan.Standard
 
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
AlignmentSpan.Standard(Layout.Alignment align)
           
AlignmentSpan.Standard(Parcel src)
           
 
Method Summary
 int describeContents()
           
 Layout.Alignment getAlignment()
           
 int getSpanTypeId()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignmentSpan.Standard

public AlignmentSpan.Standard(Layout.Alignment align)

AlignmentSpan.Standard

public AlignmentSpan.Standard(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

getAlignment

public Layout.Alignment getAlignment()
Specified by:
getAlignment in interface AlignmentSpan


Copyright © 2008-2012. All Rights Reserved.