public interface ExplorerContext
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 visible etc, the context contains ancillary information about the nodes environment.
Modifier and Type | Method and Description |
---|---|
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.
|
Object getThisComponent()
ExplorerContext addChild(Object child)
child
- The component the child is for.ThreadManager getThreadManager()
ExplorerContext getParent()
void setValue(String key, Object value)
key
- An identifier for the value.value
- The value.