|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.core.javascript.helper.AttributesHelper
public class AttributesHelper
$Id$
Helper to bind attributes functions.
http://docs.jquery.com/Attributes
Constructor Summary | |
---|---|
AttributesHelper()
|
Method Summary | |
---|---|
static ChainableStatement |
addClass(String className)
Binds the addClass statement. |
static ChainableStatement |
attr(String key,
JsScope computedValue)
Binds the attr statement. |
static ChainableStatement |
attr(String key,
String value)
Binds the attr statement. |
static ChainableStatement |
html(CharSequence htmlContents)
Binds the html statement. |
static ChainableStatement |
removeAttr(String key)
Binds the removeAttr statement. |
static ChainableStatement |
removeClass(String className)
Binds the removeClass statement. |
static ChainableStatement |
toggleClass(String className)
Binds the toggleClass statement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributesHelper()
Method Detail |
---|
public static ChainableStatement attr(String key, String value)
attr
statement.
public static ChainableStatement attr(String key, JsScope computedValue)
attr
statement.
public static ChainableStatement removeAttr(String key)
removeAttr
statement.
public static ChainableStatement addClass(String className)
addClass
statement.
public static ChainableStatement removeClass(String className)
removeClass
statement.
public static ChainableStatement toggleClass(String className)
toggleClass
statement.
public static ChainableStatement html(CharSequence htmlContents)
html
statement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |