zk.eff
Class Actions

java.lang.Object
  extended by zk.eff.Actions

public class Actions
extends java.lang.Object

A collection of actions that can be used with Widget.setAction(_global_.String).

The signature of an action must be as follows:
function (DOMElement n, Map opts) {}

Furthermore, the method will be called as a widget's method, i.e., this references to the widget.

Since:
5.0.6

Method Summary
static void slideDown(DOMElement n, Map opts)
          Slides down to display this widget.
static void slideIn(DOMElement n, Map opts)
          Slides in to display this widget.
static void slideOut(DOMElement n, Map opts)
          Slides out to hide this widget.
static void slideUp(DOMElement n, Map opts)
          Slides up to hide this widget.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

slideDown

public static void slideDown(DOMElement n,
                             Map opts)
Slides down to display this widget.

Parameters:
n - the node to display
opts - the options. Allowed options:
  • duration: how many milliseconds to slide down

slideUp

public static void slideUp(DOMElement n,
                           Map opts)
Slides up to hide this widget.

Parameters:
n - the node to hide
opts - the options. Allowed options:
  • duration: how many milliseconds to slide up

slideIn

public static void slideIn(DOMElement n,
                           Map opts)
Slides in to display this widget.

Parameters:
n - the node to display
opts - the options. Allowed options:
  • duration: how many milliseconds to slide in

slideOut

public static void slideOut(DOMElement n,
                            Map opts)
Slides out to hide this widget.

Parameters:
n - the node to hide
opts - the options. Allowed options:
  • duration: how many milliseconds to slide out


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo