Class VeilResources.Javascript

  • Enclosing class:
    VeilResources

    public static class VeilResources.Javascript
    extends Object
    JavaScript interface for the veil
    Author:
    ivaynberg
    • Method Detail

      • hide

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

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

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

        public static String toggle​(Component component)
        Generates javascript to show a toggle over a tag
        Parameters:
        component - component that will be covered by veil
        Returns:
        javascript
      • toggle

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