|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.monitor.model.ExplorerContextImpl
public class ExplorerContextImpl
Explorer Context. Used to pass useful things down the job hierarchy.
A unique context will exist for each node in the hierarchy but where as the model has specific information about the node in the tree - it's children, is it visable etc, the context contains ancillary informaton about the nodes environment.
| Field Summary | |
|---|---|
static ExplorerContextFactory |
FACTORY
|
| Constructor Summary | |
|---|---|
ExplorerContextImpl(ExplorerModel explorerModel)
Constructor for the top level context. |
|
| Method Summary | |
|---|---|
ExplorerContext |
addChild(Object child)
Add a child context. |
ExplorerContext |
getParent()
Get the parent context of this context. |
Object |
getThisComponent()
Get the component this is the context for. |
ThreadManager |
getThreadManager()
|
Object |
getValue(String key)
Get a value from the context. |
void |
setValue(String key,
Object value)
Set a value in the context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ExplorerContextFactory FACTORY
| Constructor Detail |
|---|
public ExplorerContextImpl(ExplorerModel explorerModel)
| Method Detail |
|---|
public ExplorerContext addChild(Object child)
ExplorerContext
addChild in interface ExplorerContextchild - The component the child is for.
public Object getThisComponent()
ExplorerContext
getThisComponent in interface ExplorerContextpublic ThreadManager getThreadManager()
getThreadManager in interface ExplorerContextpublic ExplorerContext getParent()
ExplorerContext
getParent in interface ExplorerContextpublic Object getValue(String key)
ExplorerContext
getValue in interface ExplorerContextkey - The identifier.
public void setValue(String key,
Object value)
ExplorerContext
setValue in interface ExplorerContextkey - An identifier for the value.value - The value.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||