Package | Description |
---|---|
org.drombler.commons.context |
Context is a framework to work with objects available in a given context.
|
org.drombler.commons.docking.context |
Context support for the Docking Framework.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContext
A base class for
Context implementations. |
class |
ContextWrapper
A Context wrapper wraps another
Context . |
class |
ProxyContext
A
Context which proxies other contexts. |
class |
SimpleContext
A simple context with a writable content.
|
Modifier and Type | Method and Description |
---|---|
static Context |
Contexts.emptyContext()
Returns an immutable empty
Context . |
Context |
ActiveContextProvider.getActiveContext()
Gets the active context.
|
Context |
ContextManager.getActiveContext()
Gets the active context.
|
Context |
ApplicationContextProvider.getApplicationContext()
Gets the application-wide context.
|
Context |
ContextManager.getApplicationContext()
Gets the application-wide context.
|
Context |
LocalContextProvider.getLocalContext()
Gets the local context.
|
static Context |
Contexts.getLocalContext(Object localContextProvider)
Gets the local
Context of a LocalContextProvider . |
Context |
ContextManager.getLocalContext(Object obj) |
Context |
ContextEvent.getSource() |
Context |
ContextManager.removeLocalContext(Object obj)
Unregisters a local context.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyContext.addContext(Context context)
Adds another
Context to be proxied by this context. |
void |
ContextManager.putLocalContext(Object obj,
Context context)
Registers a local context for the given Object.
|
void |
ProxyContext.removeContext(Context context)
Removes a
Context from being proxied by this context |
void |
ActiveContextSensitive.setActiveContext(Context activeContext)
Sets the active context.
|
void |
ApplicationContextSensitive.setApplicationContext(Context applicationContext)
Sets the application-wide context.
|
void |
ProxyContext.setContexts(Context... contexts)
Sets the contexts to be proxied by this context.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyContext.addContexts(List<Context> contexts) |
void |
ProxyContext.setContexts(List<? extends Context> contexts)
Sets the contexts to be proxied by this context.
|
Constructor and Description |
---|
ContextEvent(Context sourceContext)
Creates a new instance of this class.
|
ContextWrapper(Context context)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Context |
AbstractDockingAreaContainer.getActiveContext() |
Context |
AbstractDockingAreaContainer.getApplicationContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
DockingAreaContainer.addDockable(E dockableEntry,
boolean active,
Context... implicitLocalContexts) |
boolean |
AbstractDockingAreaContainer.addDockable(E dockableEntry,
boolean active,
Context... implicitLocalContexts) |
void |
AbstractDockingAreaContainer.addImplicitLocalContext(D dockable,
Context... implicitLocalContexts) |
Copyright © 2012–2016 Drombler. All rights reserved.