|
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 StyleMap is a type-safe map interface for obtaining Style objects based on a style selector. Context-specific Style maps can be obtained via the StyleProvider interface.
Style
,
StyleProvider
Method Summary | |
Style |
getStyleByClass(StyleContext context,
java.lang.String styleClass)
Returns the Style object associated with the specified style class |
Style |
getStyleByName(StyleContext context,
java.lang.String name)
Returns the Style object associated with the specified style name |
Style |
getStyleBySelector(StyleContext context,
java.lang.String selector)
Returns the Style object associated with the specified selector |
Method Detail |
public Style getStyleBySelector(StyleContext context, java.lang.String selector)
context
- The StyleContext to use when looking up the name.
This should be the same StyleContext instance that is used to
obtain the StyleMap from the StyleProvider.selector
- The CSS selector string for the desired Stylepublic Style getStyleByClass(StyleContext context, java.lang.String styleClass)
context
- The StyleContext to use when looking up the name.
This should be the same StyleContext instance that is used to
obtain the StyleMap from the StyleProvider.styleClass
- the CSS style class for the desired stylepublic Style getStyleByName(StyleContext context, java.lang.String name)
context
- The StyleContext to use when looking up the name.
This should be the same StyleContext instance that is used to
obtain the StyleMap from the StyleProvider.name
- the name for the desired style
|
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 |