Class AttributesHelper
- java.lang.Object
-
- org.wicketstuff.wiquery.core.javascript.helper.AttributesHelper
-
public final class AttributesHelper extends java.lang.Object$Id: AttributesHelper.java 1714M 2012-01-17 08:35:28Z (local) $Helper to bind attributes functions.
- Since:
- 0.7
- Author:
- Lionel Armanet
- See Also:
- "http://docs.jquery.com/Attributes"
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChainableStatementaddClass(java.lang.String className)Binds theaddClassstatement.static ChainableStatementattr(java.lang.String key, java.lang.String value)Binds theattrstatement.static ChainableStatementattr(java.lang.String key, JsScope computedValue)Binds theattrstatement.static ChainableStatementhtml(java.lang.CharSequence htmlContents)Binds thehtmlstatement.static ChainableStatementremoveAttr(java.lang.String key)Binds theremoveAttrstatement.static ChainableStatementremoveClass(java.lang.String className)Binds theremoveClassstatement.static ChainableStatementtoggleClass(java.lang.String className)Binds thetoggleClassstatement.
-
-
-
Method Detail
-
attr
public static ChainableStatement attr(java.lang.String key, java.lang.String value)
Binds theattrstatement.
-
attr
public static ChainableStatement attr(java.lang.String key, JsScope computedValue)
Binds theattrstatement.
-
removeAttr
public static ChainableStatement removeAttr(java.lang.String key)
Binds theremoveAttrstatement.
-
addClass
public static ChainableStatement addClass(java.lang.String className)
Binds theaddClassstatement.
-
removeClass
public static ChainableStatement removeClass(java.lang.String className)
Binds theremoveClassstatement.
-
toggleClass
public static ChainableStatement toggleClass(java.lang.String className)
Binds thetoggleClassstatement.
-
html
public static ChainableStatement html(java.lang.CharSequence htmlContents)
Binds thehtmlstatement.
-
-