|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.core.util.string.CssUtils
public final class CssUtils
Utility methods for CSS.
| Field Summary | |
|---|---|
static String |
INLINE_CLOSE_TAG
CSS inline close tag |
static String |
INLINE_OPEN_TAG
CSS inline open tag |
| Method Summary | |
|---|---|
static String |
key(Class<?> scope,
String facet)
Get a standardized key for a CSS class. |
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 |
writeLinkUrl(Response response,
CharSequence url,
CharSequence media)
Writes a reference to a css file in the response object |
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 |
|---|
public static final String INLINE_OPEN_TAG
public static final String INLINE_CLOSE_TAG
| Method Detail |
|---|
public static void writeCss(Response response,
CharSequence text,
String id)
response - The HTTP: responsetext - The text to added in between the style tagsid - Unique identifier of element
public static void writeOpenTag(Response response,
String id)
response - id - public static void writeCloseTag(Response response)
response -
public static void writeLinkUrl(Response response,
CharSequence url,
CharSequence media)
response - the response to write tourl - the url of the css referencemedia - the CSS media
public static String key(Class<?> scope,
String facet)
scope - scope of CSS classfacet - facet of CSS class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||