org.apache.wicket.core.util.string
Class CssUtils

java.lang.Object
  extended by org.apache.wicket.core.util.string.CssUtils

public final class CssUtils
extends Object

Utility methods for CSS.

Author:
eelcohillenius

Field Summary
static String INLINE_CLOSE_TAG
          CSS inline close tag
static String INLINE_OPEN_TAG
          CSS inline open tag
 
Method Summary
static void writeCloseTag(Response response)
           
static void writeCss(Response response, CharSequence text, String id)
          Write the simple text to the response object surrounded by a style tag.
static void writeOpenTag(Response response, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INLINE_OPEN_TAG

public static final String INLINE_OPEN_TAG
CSS inline open tag

See Also:
Constant Field Values

INLINE_CLOSE_TAG

public static final String INLINE_CLOSE_TAG
CSS inline close tag

See Also:
Constant Field Values
Method Detail

writeCss

public static void writeCss(Response response,
                            CharSequence text,
                            String id)
Write the simple text to the response object surrounded by a style tag.

Parameters:
response - The HTTP: response
text - The text to added in between the style tags
id - Unique identifier of element

writeOpenTag

public static void writeOpenTag(Response response,
                                String id)
Parameters:
response -
id -

writeCloseTag

public static void writeCloseTag(Response response)
Parameters:
response -


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.