|
||||||||
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 ExplorerContext
child
- The component the child is for.
public Object getThisComponent()
ExplorerContext
getThisComponent
in interface ExplorerContext
public ThreadManager getThreadManager()
getThreadManager
in interface ExplorerContext
public ExplorerContext getParent()
ExplorerContext
getParent
in interface ExplorerContext
public Object getValue(String key)
ExplorerContext
getValue
in interface ExplorerContext
key
- The identifier.
public void setValue(String key, Object value)
ExplorerContext
setValue
in interface ExplorerContext
key
- An identifier for the value.value
- The value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |