public class UIContext extends java.lang.Object implements IUIContext
| Constructor and Description |
|---|
UIContext()
Constructs a UI context object
|
UIContext(java.lang.String name,
java.lang.Object value)
Constructs a UI context object and sets the context info.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContextInfo(java.lang.String name)
Return the context object corresponding to the specified context type
|
void |
setContextInfo(java.lang.String name,
java.lang.Object value)
Sets the context object corresponding to the specified context type
|
public UIContext()
public UIContext(java.lang.String name,
java.lang.Object value)
name - value - public void setContextInfo(java.lang.String name,
java.lang.Object value)
setContextInfo in interface IUIContextname - the context String constant, please see
IUIContextConstants for possible context namesvalue - the context object correspondnig to the contextNamepublic java.lang.Object getContextInfo(java.lang.String name)
getContextInfo in interface IUIContextname - the context String constant, please see
IUIContextConstants for possible context names