|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.chart.script.AbstractScriptContext
public abstract class AbstractScriptContext
The abstract class implements common methods to store script contexts.
| Constructor Summary | |
|---|---|
AbstractScriptContext()
|
|
| Method Summary | |
|---|---|
IExternalContext |
getExternalContext()
|
java.util.Locale |
getLocale()
Deprecated. Use getULocale() instead. |
ILogger |
getLogger()
|
java.lang.Object |
getProperty(java.lang.Object key)
Returns property value. |
com.ibm.icu.util.ULocale |
getULocale()
|
void |
setExternalContext(IExternalContext externalContext)
|
void |
setLogger(ILogger logger)
Sets associated logger. |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
Saves property value. |
void |
setULocale(com.ibm.icu.util.ULocale locale)
Sets associated locale. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractScriptContext()
| Method Detail |
|---|
public IExternalContext getExternalContext()
getExternalContext in interface IScriptContextpublic void setExternalContext(IExternalContext externalContext)
externalContext - the context of scriptpublic java.util.Locale getLocale()
getULocale() instead.
getLocale in interface IScriptContextIScriptContext.getLocale()public ILogger getLogger()
getLogger in interface IScriptContextILoggerpublic void setLogger(ILogger logger)
logger - Loggerpublic com.ibm.icu.util.ULocale getULocale()
getULocale in interface IScriptContextpublic void setULocale(com.ibm.icu.util.ULocale locale)
locale - Localepublic java.lang.Object getProperty(java.lang.Object key)
IScriptContext
getProperty in interface IScriptContext
public void setProperty(java.lang.Object key,
java.lang.Object value)
IScriptContext
setProperty in interface IScriptContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||