|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidad.style.Style
org.apache.myfaces.trinidadinternal.style.CoreStyle
org.apache.myfaces.trinidadinternal.style.BaseStyle
org.apache.myfaces.trinidadinternal.style.CSSStyle
public class CSSStyle
Style implementation for CSS. Mutable.
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.trinidadinternal.style.CoreStyle |
|---|
BACKGROUND_KEY, BOLD_FONT_WEIGHT, FONT_FAMILIES_KEY, FONT_SIZE_KEY, FONT_STYLE_KEY, FONT_WEIGHT_KEY, FOREGROUND_KEY, ITALIC_FONT_STYLE, PLAIN_FONT_STYLE, PLAIN_FONT_WEIGHT, TEXT_ANTIALIAS_KEY |
| Constructor Summary | |
|---|---|
CSSStyle()
Deprecated. Creates an empty CSSStyle. |
|
CSSStyle(java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated. Creates an CSSStyle with the specified properties. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
parseProperty(java.lang.Object key)
Deprecated. Parses the property for the specified key. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Deprecated. Sets the specified property value. |
java.lang.String |
toInlineString()
Deprecated. Converts the style to a String suitable for use as an inline style attribute value. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class org.apache.myfaces.trinidadinternal.style.BaseStyle |
|---|
getParsedProperty, getProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CSSStyle()
public CSSStyle(java.util.Map<java.lang.String,java.lang.String> properties)
properties - The properties of this style. The
values must be Strings.| Method Detail |
|---|
public java.lang.String toInlineString()
toInlineString in class BaseStyle
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in class BaseStyle
protected java.lang.Object parseProperty(java.lang.Object key)
throws PropertyParseException
parseProperty in class BaseStylePropertyParseExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||