docs/javadoc/reference/com/facebook/drawee/controller/AbstractDraweeController.html
|
|
AbstractDraweeController<T, INFO>
AbstractDraweeControllerBuilder<BUILDER extends AbstractDraweeControllerBuilder<BUILDER, REQUEST, IMAGE, INFO>, REQUEST, IMAGE, INFO>
BaseControllerListener<INFO>
Summary: Fields | Ctors | Methods | Protected Methods | Inherited Methods | [Expand All]
public abstract class
extends Object
implements DeferredReleaser.ReleasableGestureDetector.ClickListenerDraweeController
| java.lang.Object | | ↳ | com.facebook.drawee.controller.AbstractDraweeController<T, INFO> |
| Known Direct Subclasses
| PipelineDraweeController | Drawee controller that bridges the image pipeline with SettableDraweeHierarchy. |
|
Abstract Drawee controller that implements common functionality regardless of the backend used to fetch the image.
All methods should be called on the main UI thread.
| Fields |
|---|
| protected ControllerListener<INFO> |
| protected ForwardingControllerListener2<INFO> |
| protected Drawable |
| protected LoggingListener |
| Public Constructors |
|---|
| Public Methods |
|---|
| void |
| Adds controller listener. |
| void |
| Animatable |
| For an animated image, returns an Animatable that lets clients control the animation. |
| Object |
| Gets the analytic tag & caller context |
| String |
| Gets accessibility content description. |
| DraweeHierarchy |
| Gets the hierarchy |
| String |
| Gets the controller id. |
| abstract Map<String, Object> |
| void |
| Called when the view containing the hierarchy is attached to a window (either temporarily or permanently). |
| boolean |
| void |
| Called when the view containing the hierarchy is detached from a window (either temporarily or permanently). |
| boolean |
| Called when the view containing the hierarchy receives a touch event. |
| void |
| An optional hint whether the view containing the hierarchy is currently within the visible viewport or not. |
| void |
| void |
| Removes controller listener. |
| void |
| void |
| Sets accessibility content description. |
| void |
| Sets the controller viewport visibility listener |
| void |
| Sets the hierarchy. |
| void |
| String |
| Protected Methods |
|---|
| abstract Drawable |
| T |
| ControllerListener<INFO> |
| Gets controller listener for internal use. |
| ControllerListener2<INFO> |
| Drawable |
| Gets the controller overlay |
| abstract DataSource<T> |
| GestureDetector |
| Gets gesture detector. |
| String |
| int |
| abstract INFO |
| LoggingListener |
| Uri |
| RetryManager |
| Gets retry manager. |
| void |
| Initializes this controller with the new id and caller context. |
| void |
| abstract void |
| abstract void |
| void |
| void |
| Sets the controller overlay |
| void |
| Sets gesture detector. |
| void |
| Sets whether to display last available image in case of failure. |
| boolean |
| Returns whether the gesture should be handled by the controller |
| void |
| [Expand] Inherited Methods | | --- | | 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() |
| | From interface com.facebook.drawee.components.DeferredReleaser.Releasable
| abstract void | release() |
| | From interface com.facebook.drawee.gestures.GestureDetector.ClickListener
| abstract boolean | onClick() |
| | From interface com.facebook.drawee.interfaces.DraweeController
| abstract Animatable | getAnimatable()
For an animated image, returns an Animatable that lets clients control the animation.
|
| abstract String | getContentDescription()
Gets the accessibility content description.
|
| abstract DraweeHierarchy | getHierarchy()
Gets the hierarchy.
|
| abstract boolean | isSameImageRequest(DraweeController other)
Returns whether other would fetch the same image as this.
|
| abstract void | onAttach()
Called when the view containing the hierarchy is attached to a window (either temporarily or permanently).
|
| abstract void | onDetach()
Called when the view containing the hierarchy is detached from a window (either temporarily or permanently).
|
| abstract boolean | onTouchEvent(MotionEvent event)
Called when the view containing the hierarchy receives a touch event.
|
| abstract void | onViewportVisibilityHint(boolean isVisibleInViewportHint)
An optional hint whether the view containing the hierarchy is currently within the visible viewport or not.
|
| abstract void | setContentDescription(String contentDescription)
Sets the accessibility content description.
|
| abstract void | setHierarchy(DraweeHierarchy hierarchy)
Sets a new hierarchy.
|
|
Adds controller listener.
For an animated image, returns an Animatable that lets clients control the animation.
Gets the analytic tag & caller context
Gets accessibility content description.
Gets the hierarchy
Gets the controller id.
Called when the view containing the hierarchy is attached to a window (either temporarily or permanently).
Called when the view containing the hierarchy is detached from a window (either temporarily or permanently).
Called when the view containing the hierarchy receives a touch event.
An optional hint whether the view containing the hierarchy is currently within the visible viewport or not.
Removes controller listener.
Sets accessibility content description.
Sets the controller viewport visibility listener
Sets the hierarchy.
The controller should be detached when this method is called.
| hierarchy | This must be an instance of SettableDraweeHierarchy |
Gets controller listener for internal use.
Gets the controller overlay
Gets gesture detector.
Gets retry manager.
Initializes this controller with the new id and caller context. This allows for reusing of the existing controller instead of instantiating a new one. This method should be called when the controller is in detached state.
| id | unique id for this controller | | callerContext | tag and context for this controller |
Sets the controller overlay
Sets gesture detector.
Sets whether to display last available image in case of failure.
Returns whether the gesture should be handled by the controller
+Generated by Doclava. +