|
||||||||||
| 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
public abstract class BaseStyle
Base class for Style implementations TODO Remove the ParsedProperty code from Trinidad. It is only used for the un-used image generation code. TODO Then remove CoreStyle and implement the public Style object instead.
| 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 | |
|---|---|
BaseStyle()
Deprecated. Creates an empty BaseStyle. |
|
BaseStyle(java.util.Map<java.lang.String,java.lang.String> propertiesMap)
Deprecated. Creates a BaseStyle with the specified properties |
|
| Method Summary | |
|---|---|
java.lang.Object |
getParsedProperty(ParsedPropertyKey key)
Deprecated. Returns a parsed Java object corresponding to the specified property key. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated. Returns an UnmodifiableMap |
protected abstract 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. |
abstract java.lang.String |
toInlineString()
Deprecated. Converts the style to a String suitable for use as an inline style attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseStyle()
public BaseStyle(java.util.Map<java.lang.String,java.lang.String> propertiesMap)
propertiesMap - The properties of this style. The
name and values must be Strings.| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in class org.apache.myfaces.trinidad.style.Style
public java.lang.Object getParsedProperty(ParsedPropertyKey key)
throws PropertyParseException
getParsedProperty in class CoreStylePropertyParseException
public void setProperty(java.lang.String name,
java.lang.String value)
public abstract java.lang.String toInlineString()
toInlineString in class org.apache.myfaces.trinidad.style.Style
protected abstract java.lang.Object parseProperty(java.lang.Object key)
throws PropertyParseException
PropertyParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||