Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.style
Interface StyleContext

All Known Implementing Classes:
RootRenderingContext, StyleContextImpl, ImageContextImpl

public interface StyleContext

The StyleContext interface is used to provide information about the target end user environment. It also provides access to general-purpose facilities such as the error log.


Method Summary
 Agent getAgent()
          Returns the end user's Agent.
 Configuration getConfiguration()
          Returns a Configuration object that will be used to locate paths and return global properties.
 ErrorLog getErrorLog()
          Get an interface that can be used to log errors.
 LocaleContext getLocaleContext()
          Returns the end user's locale.
 java.lang.Object getProperty(java.lang.String namespace, java.lang.Object key)
          Gets a property stored on the context.
 void setProperty(java.lang.String namespace, java.lang.Object key, java.lang.Object value)
          Stores a property on the context.
 

Method Detail

getLocaleContext

public LocaleContext getLocaleContext()
Returns the end user's locale.

getAgent

public Agent getAgent()
Returns the end user's Agent.

getErrorLog

public ErrorLog getErrorLog()
Get an interface that can be used to log errors.

getConfiguration

public Configuration getConfiguration()
Returns a Configuration object that will be used to locate paths and return global properties.

getProperty

public java.lang.Object getProperty(java.lang.String namespace,
                                    java.lang.Object key)
Gets a property stored on the context.

setProperty

public void setProperty(java.lang.String namespace,
                        java.lang.Object key,
                        java.lang.Object value)
Stores a property on the context.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.