org.wicketstuff.minis.veil
Class VeilResources.Javascript

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

public static class VeilResources.Javascript
extends java.lang.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 java.lang.String hide(org.apache.wicket.Component component)
          Generates javascript to hide a veil over a tag
static java.lang.String show(org.apache.wicket.Component component)
          Generates javascript to show a veil over a tag
static java.lang.String show(org.apache.wicket.Component component, java.lang.String className)
          Generates javascript to show a veil over a tag
static java.lang.String toggle(org.apache.wicket.Component component)
          Generates javascript to show a toggle over a tag
static java.lang.String toggle(org.apache.wicket.Component component, java.lang.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

show

public static java.lang.String show(org.apache.wicket.Component component,
                                    java.lang.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

show

public static java.lang.String show(org.apache.wicket.Component component)
Generates javascript to show a veil over a tag

Parameters:
component - component that will be covered by veil
Returns:
javascript

toggle

public static java.lang.String toggle(org.apache.wicket.Component component,
                                      java.lang.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

toggle

public static java.lang.String toggle(org.apache.wicket.Component component)
Generates javascript to show a toggle over a tag

Parameters:
component - component that will be covered by veil
Returns:
javascript

hide

public static java.lang.String hide(org.apache.wicket.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


Copyright © 2010. All Rights Reserved.