Class VeilResources.Javascript.Generic

  • Enclosing class:
    VeilResources.Javascript

    public static class VeilResources.Javascript.Generic
    extends Object
    Javascript interface to the veil that is decoupled from wicket
    Author:
    ivaynberg
    • Method Detail

      • hide

        public static String hide​(String markupId)
        Generates javascript to hide a veil over a tag
        Parameters:
        markupId - markup id of tag that will be covered by veil
        className - css class name for veil
        Returns:
        javascript
      • show

        public static String show​(String markupId)
        Generates javascript to show a veil over a tag
        Parameters:
        markupId - markup id of tag that will be covered by veil
        Returns:
        javascript
      • show

        public static String show​(String markupId,
                                  String className)
        Generates javascript to show a veil over a tag
        Parameters:
        markupId - markup id of tag that will be covered by veil
        className - css class name for veil
        Returns:
        javascript
      • toggle

        public static String toggle​(String markupId)
        Generates javascript to toggle a veil over a tag
        Parameters:
        markupId - markup id of tag that will be covered by veil
        Returns:
        javascript
      • toggle

        public static String toggle​(String markupId,
                                    String className)
        Generates javascript to toggle a veil over a tag
        Parameters:
        markupId - markup id of tag that will be covered by veil
        className - css class name for veil
        Returns:
        javascript