public abstract class AbstractContextual extends Object implements Contextual
Contextual objects.
Delegates to Context.inject(Object) to do the actual work of
setting the context, injecting service parameters, and registering
EventHandler methods as event subscribers.
Context.inject(Object)| Constructor and Description |
|---|
AbstractContextual() |
| Modifier and Type | Method and Description |
|---|---|
Context |
context()
Gets the application context to which the object belongs.
|
Context |
getContext()
Gets the application context to which the object belongs, or null if
Contextual.setContext(Context) has not yet been called on this object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContextpublic Context context()
Contextualcontext in interface ContextualContextual.getContext()public Context getContext()
ContextualContextual.setContext(Context) has not yet been called on this object.getContext in interface ContextualContextual.context()Copyright © 2009–2018 SciJava. All rights reserved.