|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.style.Styles
public abstract class Styles
Styles is a class that contains information about CSS Selectors and their corresponding Style object (i.e., the css properties) for the css selectors that are written to the generated css file. The methods in this class are useful if you need to know in the renderer code what css properties a particular selector has.
Constructor Summary | |
---|---|
Styles()
|
Method Summary | |
---|---|
abstract String |
getNativeSelectorString(Selector selector)
Returns the Selector in String form, converted to a format that is suitable to be written to the client (e.g., a css-2 format that can be read by a browser) |
Set<Selector> |
getSelectorsForSimpleSelector(String simpleSelector)
Given a simple selector (as opposed to a complex selector), this method will return a Set of the Selectors that contain the simple selector. |
abstract Map<Selector,Style> |
getSelectorStyleMap()
Returns a Map containing the Selector Object as the key and the Style Object as the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Styles()
Method Detail |
---|
public abstract Map<Selector,Style> getSelectorStyleMap()
public abstract String getNativeSelectorString(Selector selector)
selector
- Selector
public Set<Selector> getSelectorsForSimpleSelector(String simpleSelector)
simpleSelector
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |