Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.style
Class StyleContextImpl

java.lang.Object
  |
  +--oracle.cabo.style.StyleContextImpl
All Implemented Interfaces:
StyleContext

public class StyleContextImpl
extends java.lang.Object
implements StyleContext

A simple StyleContext implementation.

See Also:
StyleContext

Constructor Summary
StyleContextImpl(LocaleContext localeContext, Agent agent, ErrorLog errorLog, Configuration configuration)
          Creates StyleContextImpl.
 
Method Summary
 Agent getAgent()
          Implementation of StyleContext.getAgent().
 Configuration getConfiguration()
          Returns a Configuration object that will be used to locate paths and return global properties.
 ErrorLog getErrorLog()
          Implementation of StyleContext.getErrorLog().
 LocaleContext getLocaleContext()
          Implementation of StyleContext.getLocaleContext().
 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)
          Sets a property with the specified namespace and key.
 java.lang.String toString()
          Override of Object.toString().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleContextImpl

public StyleContextImpl(LocaleContext localeContext,
                        Agent agent,
                        ErrorLog errorLog,
                        Configuration configuration)
Creates StyleContextImpl.
Method Detail

getLocaleContext

public LocaleContext getLocaleContext()
Implementation of StyleContext.getLocaleContext().
Specified by:
getLocaleContext in interface StyleContext

getAgent

public Agent getAgent()
Implementation of StyleContext.getAgent().
Specified by:
getAgent in interface StyleContext

getErrorLog

public ErrorLog getErrorLog()
Implementation of StyleContext.getErrorLog().
Specified by:
getErrorLog in interface StyleContext

getConfiguration

public Configuration getConfiguration()
Returns a Configuration object that will be used to locate paths and return global properties.
Specified by:
getConfiguration in interface StyleContext

getProperty

public java.lang.Object getProperty(java.lang.String namespace,
                                    java.lang.Object key)
Gets a property stored on the context.
Specified by:
getProperty in interface StyleContext

setProperty

public void setProperty(java.lang.String namespace,
                        java.lang.Object key,
                        java.lang.Object value)
Sets a property with the specified namespace and key.
Specified by:
setProperty in interface StyleContext

toString

public java.lang.String toString()
Override of Object.toString().
Overrides:
toString in class java.lang.Object

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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