Class 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 Detail

      • attr

        public static ChainableStatement attr​(java.lang.String key,
                                              java.lang.String value)
        Binds the attr statement.
      • removeAttr

        public static ChainableStatement removeAttr​(java.lang.String key)
        Binds the removeAttr statement.
      • addClass

        public static ChainableStatement addClass​(java.lang.String className)
        Binds the addClass statement.
      • removeClass

        public static ChainableStatement removeClass​(java.lang.String className)
        Binds the removeClass statement.
      • toggleClass

        public static ChainableStatement toggleClass​(java.lang.String className)
        Binds the toggleClass statement.
      • html

        public static ChainableStatement html​(java.lang.CharSequence htmlContents)
        Binds the html statement.