|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.platform.web.css.CSSProcessor
com.guiseframework.platform.web.css.GuiseCSSProcessor
public class GuiseCSSProcessor
A CSS stylesheet processor that handles Guise-specific manipulations.
| Nested Class Summary | |
|---|---|
static class |
GuiseCSSProcessor.IE6FixClass
A specification for an IE6 fix class and the selectors that cause it to be added to an element's class list. |
| Field Summary | |
|---|---|
static java.lang.String |
GUISE_IE6_FIX_CLASS_DELIMITER
The class delimiter for classes that have been fixed for IE6. |
static java.lang.String |
GUISE_IE6_FIX_CLASS_PREFIX
The class prefix for classes that have been fixed for IE6. |
static TypeSelector |
GUISE_IE6_FIX_TYPE_SELECTOR
The type selector for indicating that a stylesheet has been fixed for IE6. |
| Constructor Summary | |
|---|---|
GuiseCSSProcessor()
|
|
| Method Summary | |
|---|---|
void |
fixIE6Stylesheet(CSSStylesheet stylesheet)
Modifies a CSS stylesheet to allow workarounds with IE6 shortcomings. |
java.util.List<GuiseCSSProcessor.IE6FixClass> |
getIE6FixClasses()
The list of IE6 fix classes. |
| Methods inherited from class com.guiseframework.platform.web.css.CSSProcessor |
|---|
parseDeclarationBlock, parseDeclarations, parseRule, parseStylesheetContent, process, skipWhitespaceCommentsEOF |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TypeSelector GUISE_IE6_FIX_TYPE_SELECTOR
public static final java.lang.String GUISE_IE6_FIX_CLASS_PREFIX
public static final java.lang.String GUISE_IE6_FIX_CLASS_DELIMITER
| Constructor Detail |
|---|
public GuiseCSSProcessor()
| Method Detail |
|---|
public java.util.List<GuiseCSSProcessor.IE6FixClass> getIE6FixClasses()
fixIE6Stylesheet(CSSStylesheet).
public void fixIE6Stylesheet(CSSStylesheet stylesheet)
GUISE_IE6_FIX_TYPE_SELECTOR will be added as the first style for identification purposes.
For selectors that contain multiple class selectors, the class selectors will be combined to form a selector in the form element.guiseIE6_-class1_-class2_-class3:pseudoClass, with the class selectors in alphabetical order.
stylesheet - The stylesheet to fix.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||