Package org.wicketstuff.yui.helper
Class CSSInlineStyle
- java.lang.Object
-
- org.wicketstuff.yui.helper.TokenSeparatedValues
-
- org.wicketstuff.yui.helper.NameValuePair<CSSInlineStyle>
-
- org.wicketstuff.yui.helper.CSSInlineStyle
-
- All Implemented Interfaces:
Serializable
public class CSSInlineStyle extends NameValuePair<CSSInlineStyle>
This is a CSS Inline Style "Style=..." where it's toString method will return the string suitable to be used for the Attribute Modifier- Author:
- josh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CSSInlineStyle()construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNameValueSeparator()StringgetPrefix()the prefixStringgetStyle()StringgetSuffix()the suffixStringgetValueSeparator()the separator valueStringtoString()adds the extra ";"protected StringwrapValue(String value)
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
Description copied from class:TokenSeparatedValuesthe prefix- Specified by:
getPrefixin classTokenSeparatedValues- Returns:
-
getSuffix
public String getSuffix()
Description copied from class:TokenSeparatedValuesthe suffix- Specified by:
getSuffixin classTokenSeparatedValues- Returns:
-
getValueSeparator
public String getValueSeparator()
Description copied from class:TokenSeparatedValuesthe separator value- Specified by:
getValueSeparatorin classTokenSeparatedValues- Returns:
-
getNameValueSeparator
public String getNameValueSeparator()
- Specified by:
getNameValueSeparatorin classNameValuePair<CSSInlineStyle>- Returns:
-
toString
public String toString()
adds the extra ";"- Overrides:
toStringin classTokenSeparatedValues
-
wrapValue
protected String wrapValue(String value)
- Overrides:
wrapValuein classNameValuePair<CSSInlineStyle>
-
getStyle
public String getStyle()
- Returns:
-
-