Skip navigation links
A B C D E F G H I K L M N O P R S T U V 

A

AbstractSubscriberInfo - Class in org.greenrobot.eventbus.meta
Base class for generated subscriber meta info classes created by annotation processing.
AbstractSubscriberInfo(Class, Class<? extends SubscriberInfo>, boolean) - Constructor for class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
addIndex(SubscriberInfoIndex) - Method in class org.greenrobot.eventbus.EventBusBuilder
Adds an index generated by EventBus' annotation preprocessor.
addMapping(Class<? extends Throwable>, int) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
addMapping(Class<? extends Throwable>, int) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
argumentsForErrorDialog - Variable in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
argumentsForErrorDialog - Variable in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
AsyncExecutor - Class in org.greenrobot.eventbus.util
Executes an AsyncExecutor.RunnableEx using a thread pool.
AsyncExecutor.Builder - Class in org.greenrobot.eventbus.util
 
AsyncExecutor.RunnableEx - Interface in org.greenrobot.eventbus.util
Like Runnable, but the run method may throw an exception.
attachTo(Activity) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager
Scope is limited to the activity's class.
attachTo(Activity, boolean) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager
Scope is limited to the activity's class.
attachTo(Activity, boolean, Bundle) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager
Scope is limited to the activity's class.
attachTo(Activity, Object, boolean, Bundle) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager
 
attachTo(Activity, Object, boolean, Bundle) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
attachTo(Activity, Object, boolean, Bundle) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 

B

build() - Method in class org.greenrobot.eventbus.EventBusBuilder
Builds an EventBus based on the current configuration.
build() - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
builder() - Static method in class org.greenrobot.eventbus.EventBus
 
builder() - Static method in class org.greenrobot.eventbus.util.AsyncExecutor
 
buildForActivityScope(Activity) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
buildForScope(Object) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 

C

cancelEventDelivery(Object) - Method in class org.greenrobot.eventbus.EventBus
Called from a subscriber's event handling method, further event delivery will be canceled.
causingEvent - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The original event that could not be delivered to any subscriber.
causingSubscriber - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The subscriber that threw the Throwable.
checkLogException(ThrowableFailureEvent) - Static method in class org.greenrobot.eventbus.util.ErrorDialogManager
 
clearCaches() - Static method in class org.greenrobot.eventbus.EventBus
For unit test primarily.
config - Variable in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
 
create() - Static method in class org.greenrobot.eventbus.util.AsyncExecutor
 
createDialog(Context, Bundle, DialogInterface.OnClickListener) - Static method in class org.greenrobot.eventbus.util.ErrorDialogFragments
 
createErrorFragment(ThrowableFailureEvent, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
Returns either a new Honeycomb+ or a new support library DialogFragment.
createErrorFragment(ThrowableFailureEvent, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory.Honeycomb
 
createErrorFragment(ThrowableFailureEvent, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory.Support
 
createSubscriberMethod(String, Class<?>) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
createSubscriberMethod(String, Class<?>, ThreadMode) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
createSubscriberMethod(String, Class<?>, ThreadMode, int, boolean) - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 

D

disableExceptionLogging() - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 

E

equals(Object) - Method in class org.greenrobot.eventbus.SubscriberMethod
 
ERROR_DIALOG_ICON - Static variable in class org.greenrobot.eventbus.util.ErrorDialogFragments
TODO Use config: Icon res ID to use for all error dialogs.
ErrorDialogConfig - Class in org.greenrobot.eventbus.util
 
ErrorDialogConfig(Resources, int, int) - Constructor for class org.greenrobot.eventbus.util.ErrorDialogConfig
 
ErrorDialogFragmentFactory<T> - Class in org.greenrobot.eventbus.util
Factory to allow injecting a more complex exception mapping; typically you would subclass one of ErrorDialogFragmentFactory.Honeycomb or ErrorDialogFragmentFactory.Support.
ErrorDialogFragmentFactory(ErrorDialogConfig) - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
 
ErrorDialogFragmentFactory.Honeycomb - Class in org.greenrobot.eventbus.util
 
ErrorDialogFragmentFactory.Support - Class in org.greenrobot.eventbus.util
 
ErrorDialogFragments - Class in org.greenrobot.eventbus.util
 
ErrorDialogFragments() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragments
 
ErrorDialogFragments.Honeycomb - Class in org.greenrobot.eventbus.util
 
ErrorDialogFragments.Support - Class in org.greenrobot.eventbus.util
 
ErrorDialogManager - Class in org.greenrobot.eventbus.util
Central class for app that want to use event based error dialogs.
ErrorDialogManager() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogManager
 
ErrorDialogManager.HoneycombManagerFragment - Class in org.greenrobot.eventbus.util
 
ErrorDialogManager.SupportManagerFragment - Class in org.greenrobot.eventbus.util
 
EVENT_TYPE_ON_CLICK - Static variable in class org.greenrobot.eventbus.util.ErrorDialogFragments
TODO Use config: Event class to be fired on dismissing the dialog by the user.
EventBus - Class in org.greenrobot.eventbus
EventBus is a central publish/subscribe event system for Android.
EventBus() - Constructor for class org.greenrobot.eventbus.EventBus
Creates a new EventBus instance; each instance is a separate scope in which events are delivered.
eventBus - Variable in class org.greenrobot.eventbus.NoSubscriberEvent
The EventBus instance to with the original event was posted to.
eventBus - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The EventBus instance to with the original event was posted to.
eventBus(EventBus) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
EventBusBuilder - Class in org.greenrobot.eventbus
Creates EventBus instances with custom parameters and also allows to install a custom default EventBus instance.
EventBusException - Exception in org.greenrobot.eventbus
An RuntimeException thrown in cases something went wrong inside EventBus.
EventBusException(String) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
EventBusException(Throwable) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
EventBusException(String, Throwable) - Constructor for exception org.greenrobot.eventbus.EventBusException
 
eventInheritance(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
By default, EventBus considers the event class hierarchy (subscribers to super classes will be notified).
ExceptionToResourceMapping - Class in org.greenrobot.eventbus.util
Maps throwables to texts for error dialogs.
ExceptionToResourceMapping() - Constructor for class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
execute(AsyncExecutor.RunnableEx) - Method in class org.greenrobot.eventbus.util.AsyncExecutor
Posts an failure event if the given AsyncExecutor.RunnableEx throws an Exception.
executorService(ExecutorService) - Method in class org.greenrobot.eventbus.EventBusBuilder
Provide a custom thread pool to EventBus used for async and background event delivery.

F

factory - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
Must be set by the application.
failureEventType(Class<?>) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
finishAfterDialog - Variable in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
finishAfterDialog - Variable in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 

G

getDefault() - Static method in class org.greenrobot.eventbus.EventBus
Convenience singleton for apps using a process-wide EventBus instance.
getExecutionScope() - Method in interface org.greenrobot.eventbus.util.HasExecutionScope
 
getExecutionScope() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
getMessageFor(ThrowableFailureEvent, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
May be overridden to provide custom error messages.
getMessageIdForThrowable(Throwable) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
getStickyEvent(Class<T>) - Method in class org.greenrobot.eventbus.EventBus
Gets the most recent sticky event for the given type.
getSubscriberClass() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
getSubscriberClass() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getSubscriberInfo(Class<?>) - Method in interface org.greenrobot.eventbus.meta.SubscriberInfoIndex
 
getSubscriberMethods() - Method in class org.greenrobot.eventbus.meta.SimpleSubscriberInfo
 
getSubscriberMethods() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getSuperSubscriberInfo() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
getSuperSubscriberInfo() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
getThrowable() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
getTitleFor(ThrowableFailureEvent, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
May be overridden to provide custom error title.

H

handleOnClick(DialogInterface, int, Activity, Bundle) - Static method in class org.greenrobot.eventbus.util.ErrorDialogFragments
 
HasExecutionScope - Interface in org.greenrobot.eventbus.util
 
hashCode() - Method in class org.greenrobot.eventbus.SubscriberMethod
 
hasSubscriberForEvent(Class<?>) - Method in class org.greenrobot.eventbus.EventBus
 
Honeycomb(ErrorDialogConfig) - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory.Honeycomb
 
Honeycomb() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragments.Honeycomb
 
HoneycombManagerFragment() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 

I

ignoreGeneratedIndex(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Forces the use of reflection even if there's a generated index (default: false).
installDefaultEventBus() - Method in class org.greenrobot.eventbus.EventBusBuilder
Installs the default EventBus returned by EventBus.getDefault() using this builders' values.
isRegistered(Object) - Method in class org.greenrobot.eventbus.EventBus
 
isSuppressErrorUi() - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 

K

KEY_EVENT_TYPE_ON_CLOSE - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
KEY_FINISH_AFTER_DIALOG - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
KEY_ICON_ID - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
KEY_MESSAGE - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
KEY_TITLE - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 

L

logNoSubscriberMessages(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
logSubscriberExceptions(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true

M

mapThrowable(Throwable) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
Looks at the exception and its causes trying to find an ID.
mapThrowableFlat(Throwable) - Method in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
Mapping without checking the cause (done in mapThrowable).

N

NoSubscriberEvent - Class in org.greenrobot.eventbus
This Event is posted by EventBus when no subscriber is found for a posted event.
NoSubscriberEvent(EventBus, Object) - Constructor for class org.greenrobot.eventbus.NoSubscriberEvent
 

O

onClick(DialogInterface, int) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragments.Honeycomb
 
onClick(DialogInterface, int) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragments.Support
 
onCreate(Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
onCreateDialog(Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragments.Honeycomb
 
onCreateDialog(Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragments.Support
 
onEventMainThread(ThrowableFailureEvent) - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
onEventMainThread(ThrowableFailureEvent) - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
onPause() - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
onPause() - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
onResume() - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.HoneycombManagerFragment
 
onResume() - Method in class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
org.greenrobot.eventbus - package org.greenrobot.eventbus
 
org.greenrobot.eventbus.meta - package org.greenrobot.eventbus.meta
 
org.greenrobot.eventbus.util - package org.greenrobot.eventbus.util
 
originalEvent - Variable in class org.greenrobot.eventbus.NoSubscriberEvent
The original event that could not be delivered to any subscriber.

P

post(Object) - Method in class org.greenrobot.eventbus.EventBus
Posts the given event to the event bus.
postSticky(Object) - Method in class org.greenrobot.eventbus.EventBus
Posts the given event to the event bus and holds on to the event (because it is sticky).
prepareErrorFragment(ThrowableFailureEvent, boolean, Bundle) - Method in class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory
Prepares the fragment's arguments and creates the fragment.

R

register(Object) - Method in class org.greenrobot.eventbus.EventBus
Registers the given subscriber to receive events.
removeAllStickyEvents() - Method in class org.greenrobot.eventbus.EventBus
Removes all sticky events.
removeStickyEvent(Class<T>) - Method in class org.greenrobot.eventbus.EventBus
Remove and gets the recent sticky event for the given event type.
removeStickyEvent(Object) - Method in class org.greenrobot.eventbus.EventBus
Removes the sticky event if it equals to the given event.
run() - Method in interface org.greenrobot.eventbus.util.AsyncExecutor.RunnableEx
 

S

sendNoSubscriberEvent(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
sendSubscriberExceptionEvent(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Default: true
setDefaultDialogIconId(int) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
setDefaultEventTypeOnDialogClosed(Class<?>) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
setEventBus(EventBus) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
setExecutionScope(Object) - Method in interface org.greenrobot.eventbus.util.HasExecutionScope
 
setExecutionScope(Object) - Method in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
setTagForLoggingExceptions(String) - Method in class org.greenrobot.eventbus.util.ErrorDialogConfig
 
shouldCheckSuperclass() - Method in class org.greenrobot.eventbus.meta.AbstractSubscriberInfo
 
shouldCheckSuperclass() - Method in interface org.greenrobot.eventbus.meta.SubscriberInfo
 
SimpleSubscriberInfo - Class in org.greenrobot.eventbus.meta
Uses SubscriberMethodInfo objects to create SubscriberMethod objects on demand.
SimpleSubscriberInfo(Class, boolean, SubscriberMethodInfo[]) - Constructor for class org.greenrobot.eventbus.meta.SimpleSubscriberInfo
 
skipMethodVerificationFor(Class<?>) - Method in class org.greenrobot.eventbus.EventBusBuilder
Method name verification is done for methods starting with onEvent to avoid typos; using this method you can exclude subscriber classes from this check.
strictMethodVerification(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Enables strict method verification (default: false).
Subscribe - Annotation Type in org.greenrobot.eventbus
 
SubscriberExceptionEvent - Class in org.greenrobot.eventbus
This Event is posted by EventBus when an exception occurs inside a subscriber's event handling method.
SubscriberExceptionEvent(EventBus, Throwable, Object, Object) - Constructor for class org.greenrobot.eventbus.SubscriberExceptionEvent
 
SubscriberInfo - Interface in org.greenrobot.eventbus.meta
Base class for generated index classes created by annotation processing.
SubscriberInfoIndex - Interface in org.greenrobot.eventbus.meta
Interface for generated indexes.
SubscriberMethod - Class in org.greenrobot.eventbus
Used internally by EventBus and generated subscriber indexes.
SubscriberMethod(Method, Class<?>, ThreadMode, int, boolean) - Constructor for class org.greenrobot.eventbus.SubscriberMethod
 
SubscriberMethodInfo - Class in org.greenrobot.eventbus.meta
 
SubscriberMethodInfo(String, Class<?>, ThreadMode, int, boolean) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
SubscriberMethodInfo(String, Class<?>) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
SubscriberMethodInfo(String, Class<?>, ThreadMode) - Constructor for class org.greenrobot.eventbus.meta.SubscriberMethodInfo
 
Support(ErrorDialogConfig) - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragmentFactory.Support
 
Support() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogFragments.Support
 
SupportManagerFragment() - Constructor for class org.greenrobot.eventbus.util.ErrorDialogManager.SupportManagerFragment
 
suppressErrorUi - Variable in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 

T

TAG - Static variable in class org.greenrobot.eventbus.EventBus
Log tag, apps may override it.
TAG_ERROR_DIALOG - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
TAG_ERROR_DIALOG_MANAGER - Static variable in class org.greenrobot.eventbus.util.ErrorDialogManager
 
ThreadMode - Enum in org.greenrobot.eventbus
Each event handler method has a thread mode, which determines in which thread the method is to be called by EventBus.
threadPool(Executor) - Method in class org.greenrobot.eventbus.util.AsyncExecutor.Builder
 
throwable - Variable in class org.greenrobot.eventbus.SubscriberExceptionEvent
The Throwable thrown by a subscriber.
throwable - Variable in class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
ThrowableFailureEvent - Class in org.greenrobot.eventbus.util
A generic failure event, which can be used by apps to propagate thrown exceptions.
ThrowableFailureEvent(Throwable) - Constructor for class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
ThrowableFailureEvent(Throwable, boolean) - Constructor for class org.greenrobot.eventbus.util.ThrowableFailureEvent
 
throwableToMsgIdMap - Variable in class org.greenrobot.eventbus.util.ExceptionToResourceMapping
 
throwSubscriberException(boolean) - Method in class org.greenrobot.eventbus.EventBusBuilder
Fails if an subscriber throws an exception (default: false).
toString() - Method in class org.greenrobot.eventbus.EventBus
 

U

unregister(Object) - Method in class org.greenrobot.eventbus.EventBus
Unregisters the given subscriber from all event classes.

V

valueOf(String) - Static method in enum org.greenrobot.eventbus.ThreadMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.greenrobot.eventbus.ThreadMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I K L M N O P R S T U V 
Skip navigation links

Available under the Apache License, Version 2.0 - Copyright © 2012-2016 greenrobot.org. All Rights Reserved.