org.wicketstuff.minis.behavior.veil
Class VeilResources.Javascript

java.lang.Object
  extended by org.wicketstuff.minis.behavior.veil.VeilResources.Javascript
Enclosing class:
VeilResources

public static class VeilResources.Javascript
extends Object

JavaScript interface for the veil

Author:
ivaynberg

Nested Class Summary
static class VeilResources.Javascript.Generic
          Javascript interface to the veil that is decoupled from wicket
 
Method Summary
static String hide(Component component)
          Generates javascript to hide a veil over a tag
static String show(Component component)
          Generates javascript to show a veil over a tag
static String show(Component component, String className)
          Generates javascript to show a veil over a tag
static String toggle(Component component)
          Generates javascript to show a toggle over a tag
static String toggle(Component component, String className)
          Generates javascript to toggle a veil over a tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2014. All rights reserved.