docs/javadoc/reference/com/facebook/drawee/span/DraweeSpan.html
|
|
Summary: Inherited Constants | Ctors | Methods | Inherited Methods | [Expand All]
public class
extends BetterImageSpan
| java.lang.Object | | ↳ | android.text.style.CharacterStyle | | | ↳ | android.text.style.MetricAffectingSpan | | | | ↳ | android.text.style.ReplacementSpan | | | | | ↳ | com.facebook.widget.text.span.BetterImageSpan | | | | | | ↳ | com.facebook.drawee.span.DraweeSpan |
Span that contains a Drawee.
The containing view must also call onDetach() from its onStartTemporaryDetach() and onDetachedFromWindow() methods. Similarly, it must call onAttach() from its onFinishTemporaryDetach() and onAttachedToWindow() methods.
DraweeHolder| [Expand] Inherited Constants | | --- | | From class com.facebook.widget.text.span.BetterImageSpan
| int | ALIGN_BASELINE | | | int | ALIGN_BOTTOM | | | int | ALIGN_CENTER | |
|
| Public Constructors |
|---|
| Public Methods |
|---|
| DraweeHolder |
| Get the underlying DraweeHolder. |
| boolean |
| Checks whether the view that uses this holder is currently attached to a window. |
| void |
| Gets the drawee span ready to display the image. |
| void |
| Releases resources used to display the image. |
| [Expand] Inherited Methods | | --- | | From class com.facebook.widget.text.span.BetterImageSpan
| void | draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) | | Drawable | getDrawable() | | int | getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fontMetrics) Returns the width of the image span and increases the height if font metrics are available. | | final static int | normalizeAlignment(int alignment) A helper function to allow dropping in BetterImageSpan as a replacement to ImageSpan, and allowing for center alignment if passed in. | | void | updateBounds() |
| | From class android.text.style.ReplacementSpan
| abstract void | draw(Canvas arg0, CharSequence arg1, int arg2, int arg3, float arg4, int arg5, int arg6, int arg7, Paint arg8) | | abstract int | getSize(Paint arg0, CharSequence arg1, int arg2, int arg3, Paint.FontMetricsInt arg4) | | void | updateDrawState(TextPaint arg0) | | void | updateMeasureState(TextPaint arg0) |
| | From class android.text.style.MetricAffectingSpan
| CharacterStyle | getUnderlying() | | abstract void | updateMeasureState(TextPaint arg0) |
| | From class android.text.style.CharacterStyle
| CharacterStyle | getUnderlying() | | abstract void | updateDrawState(TextPaint arg0) | | static CharacterStyle | wrap(CharacterStyle arg0) |
| | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Get the underlying DraweeHolder.
Checks whether the view that uses this holder is currently attached to a window.
onAttach()onDetach()Gets the drawee span ready to display the image.
The containing view must call this method from both onFinishTemporaryDetach() and onAttachedToWindow().
Releases resources used to display the image.
The containing view must call this method from both onStartTemporaryDetach() and onDetachedFromWindow().
+Generated by Doclava. +