|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The StyleProvider API is used to access context-dependent style information. Style information is exposed in two ways - as CSS style sheet URIs (via getStyleSheetURI()), or as Style objects (via getStyleMap()). Both methods take a StyleContext object, which describes the target end user environment.
StyleContext
,
StyleMap
,
Style
Method Summary | |
java.lang.String |
getContentStyleType(StyleContext context)
Returns the mime type (for example, "text/css") of the styles defined by the StyleProvider. |
StyleMap |
getStyleMap(StyleContext context)
Returns a StyleMap object, which can be used to retreive Style objects for the specified context. |
java.lang.String |
getStyleSheetURI(StyleContext context)
Returns the URI of the CSS style sheet to use for the end user environment specified via the StyleContext. |
Method Detail |
public java.lang.String getContentStyleType(StyleContext context)
public java.lang.String getStyleSheetURI(StyleContext context)
context
- The context which describes the end user
environment for this requestpublic StyleMap getStyleMap(StyleContext context)
context
- The context which describes the target end user
environment
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |