org.zkoss.zul.fn
Class ZulFns

java.lang.Object
  extended by org.zkoss.zul.fn.ZulFns

public class ZulFns
extends java.lang.Object

Utilities for using EL.

Author:
tomyeh

Constructor Summary
protected ZulFns()
           
 
Method Summary
static void clearTreeRenderInfo(Tree tree)
          Clears up the attributes which are used to render a tree in paging mold
static java.lang.String getBoxChildInnerAttrs(Component child)
          Returns the inner attributes used for the cell of the specified child when it is placed inside of hbox/vbox.
static java.lang.String getBoxChildOuterAttrs(Component child)
          Returns the outer attributes used for the cell of the specified child when it is placed inside of hbox/vbox.
static java.lang.String getColAttrs(Row row, int index)
          Returns the column attribute of a child of a row by specifying the index.
static void resetStripeClass(Component parent)
          Resets the stripe CSS for each row.
static void setStripeClass(Component child)
          Sets the stripe CSS for each row.
static boolean shallRenderTree(Tree tree)
          Returns whether the specified should be rendered.
static boolean shallVisitTree(Tree tree, Component child)
          Returns whether the treeitem should be visited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZulFns

protected ZulFns()
Method Detail

getColAttrs

public static final java.lang.String getColAttrs(Row row,
                                                 int index)
Returns the column attribute of a child of a row by specifying the index.


getBoxChildInnerAttrs

public static final java.lang.String getBoxChildInnerAttrs(Component child)
Returns the inner attributes used for the cell of the specified child when it is placed inside of hbox/vbox.


getBoxChildOuterAttrs

public static final java.lang.String getBoxChildOuterAttrs(Component child)
Returns the outer attributes used for the cell of the specified child when it is placed inside of hbox/vbox.


setStripeClass

public static final void setStripeClass(Component child)
Sets the stripe CSS for each row.


resetStripeClass

public static final void resetStripeClass(Component parent)
Resets the stripe CSS for each row.

Since:
3.0.3

shallVisitTree

public static final boolean shallVisitTree(Tree tree,
                                           Component child)
Returns whether the treeitem should be visited.

Parameters:
tree - the tree
child - Treeitem
Since:
3.0.7

shallRenderTree

public static final boolean shallRenderTree(Tree tree)
Returns whether the specified should be rendered.

Parameters:
tree - the tree
Since:
3.0.7

clearTreeRenderInfo

public static final void clearTreeRenderInfo(Tree tree)
Clears up the attributes which are used to render a tree in paging mold

Parameters:
tree - the tree
Since:
3.0.7


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