|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetNode
public class StyleSheetNode
Private implementation of StyleSheetNode. A StyleSheetNode has StyleNodes for particular browsers, direction, versions, platforms and mode. In addition, the StyleSheetNode provides access to IconNodes representing the icons which were defined within the context of this style sheet. StyleSheetNodes are contained in StyleSheetDocuments. And a StyleSheetNode is created for .css files. .css skin files create StyleSheetNodes via SkinStyleSheetParserUtils
SkinStyleSheetParserUtils| Constructor Summary | |
|---|---|
StyleSheetNode(StyleNode[] styles,
java.util.Collection<IconNode> icons,
java.util.Set<java.util.Locale> locales,
int direction,
AgentAtRuleMatcher agentMatcher,
int[] platforms,
int mode,
java.util.Set<java.lang.String> accessibilityProperties)
Creates a StyleSheetNode with the specified attributes. |
|
| Method Summary | |
|---|---|
int |
compareVariants(java.util.Locale locale,
int direction,
TrinidadAgent agent,
int mode,
org.apache.myfaces.trinidad.context.AccessibilityProfile accessibilityProfile)
Tests whether this StyleSheet matches the specified variants. |
boolean |
equals(java.lang.Object obj)
|
java.util.Collection<java.lang.String> |
getAccessibilityProperties()
Returns the accessibility properties for this StyleSheetNode. |
AgentAtRuleMatcher |
getAgentMatcher()
|
java.util.Collection<IconNode> |
getIcons()
Returns icons contained by this StyleSheetNode. |
java.util.Collection<java.util.Locale> |
getLocales()
Implementation of StyleSheetNode.getLocales(). |
int |
getMode()
|
java.util.Collection<java.lang.Integer> |
getPlatforms()
Implementation of StyleSheetNode.getPlatforms(). |
int |
getReadingDirection()
Implementation of StyleSheetNode.getReadingDirection(); |
java.util.Collection<StyleNode> |
getStyles()
Implementation of StyleSheetNode.getStyles(). |
int |
getStyleSheetId()
Returns an int-based id which can be used by StyleSheetDocument.getDocumentId() to (semi-)uniquely identify this StyleSheetNode. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StyleSheetNode(StyleNode[] styles,
java.util.Collection<IconNode> icons,
java.util.Set<java.util.Locale> locales,
int direction,
AgentAtRuleMatcher agentMatcher,
int[] platforms,
int mode,
java.util.Set<java.lang.String> accessibilityProperties)
| Method Detail |
|---|
public java.util.Collection<StyleNode> getStyles()
public java.util.Collection<IconNode> getIcons()
public int getReadingDirection()
public int getMode()
public java.util.Collection<java.util.Locale> getLocales()
public AgentAtRuleMatcher getAgentMatcher()
public java.util.Collection<java.lang.Integer> getPlatforms()
public java.util.Collection<java.lang.String> getAccessibilityProperties()
public int compareVariants(java.util.Locale locale,
int direction,
TrinidadAgent agent,
int mode,
org.apache.myfaces.trinidad.context.AccessibilityProfile accessibilityProfile)
mode - public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getStyleSheetId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||