org.zkoss.zk.au.impl
Class Commands

java.lang.Object
  extended by org.zkoss.zk.au.impl.Commands

public class Commands
extends java.lang.Object

Utilities to implement Command.

Author:
tomyeh

Constructor Summary
Commands()
           
 
Method Summary
static java.util.Set convertToItems(AuRequest request)
          Converts the data of the specified request to a set of Component.
static int parseKeys(java.lang.String flags)
          Parses the key flags of a mouse event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commands

public Commands()
Method Detail

convertToItems

public static java.util.Set convertToItems(AuRequest request)
Converts the data of the specified request to a set of Component. The data is assumed to contain a list of item ID in the comman-separated format

Returns:
a set of components.

parseKeys

public static int parseKeys(java.lang.String flags)
Parses the key flags of a mouse event.

Returns:
a combination of MouseEvent.ALT_KEY, MouseEvent.SHIFT_KEY and MouseEvent.CTRL_KEY,


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.