org.wicketstuff.yui.helper
Class CSSInlineStyle

java.lang.Object
  extended by org.wicketstuff.yui.helper.TokenSeparatedValues
      extended by org.wicketstuff.yui.helper.NameValuePair<CSSInlineStyle>
          extended by 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
CSSInlineStyle()
          construct
 
Method Summary
 String getNameValueSeparator()
           
 String getPrefix()
          the prefix
 String getStyle()
           
 String getSuffix()
          the suffix
 String getValueSeparator()
          the separator value
 String toString()
          adds the extra ";"
protected  String wrapValue(String value)
           
 
Methods inherited from class org.wicketstuff.yui.helper.NameValuePair
add, add, add, getValues, isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSSInlineStyle

public CSSInlineStyle()
construct

Method Detail

getPrefix

public String getPrefix()
Description copied from class: TokenSeparatedValues
the prefix

Specified by:
getPrefix in class TokenSeparatedValues
Returns:

getSuffix

public String getSuffix()
Description copied from class: TokenSeparatedValues
the suffix

Specified by:
getSuffix in class TokenSeparatedValues
Returns:

getValueSeparator

public String getValueSeparator()
Description copied from class: TokenSeparatedValues
the separator value

Specified by:
getValueSeparator in class TokenSeparatedValues
Returns:

getNameValueSeparator

public String getNameValueSeparator()
Specified by:
getNameValueSeparator in class NameValuePair<CSSInlineStyle>
Returns:

toString

public String toString()
adds the extra ";"

Overrides:
toString in class TokenSeparatedValues

wrapValue

protected String wrapValue(String value)
Overrides:
wrapValue in class NameValuePair<CSSInlineStyle>

getStyle

public String getStyle()
Returns:


Copyright © 2013. All Rights Reserved.