|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.zk.au.AuRequests
public class AuRequests
Utilities to convert AuRequest
to Event
or its deriving classes.
Constructor Summary | |
---|---|
AuRequests()
|
Method Summary | |
---|---|
static java.util.Set |
convertToItems(Desktop desktop,
java.util.List uuids)
Converts the data of the specified request to a set of Component. |
static boolean |
getBoolean(java.util.Map data,
java.lang.String key)
Returns whether the specified key is defined. |
static java.lang.String |
getInnerWidth(AuRequest request)
Returns the inner width of an AU request representing the update of inner width. |
static int |
getInt(java.util.Map data,
java.lang.String key,
int defVal)
Returns the integer value of the specified key in the data. |
static long |
getLong(java.util.Map data,
java.lang.String key,
long defVal)
Returns the integer value of the specified key in the data. |
static java.lang.Object |
getUpdateResult(AuRequest request)
Returns the result of an AU request representing the update result. |
static int |
parseKeys(java.util.Map data)
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 |
---|
public AuRequests()
Method Detail |
---|
public static java.util.Set convertToItems(Desktop desktop, java.util.List uuids)
public static int parseKeys(java.util.Map data)
MouseEvent.ALT_KEY
,
MouseEvent.SHIFT_KEY
and MouseEvent.CTRL_KEY
,public static java.lang.String getInnerWidth(AuRequest request) throws UiException
UiException
public static java.lang.Object getUpdateResult(AuRequest request) throws UiException
UiException
public static int getInt(java.util.Map data, java.lang.String key, int defVal)
defVal
- the default value; used if not found.public static long getLong(java.util.Map data, java.lang.String key, long defVal)
defVal
- the default value; used if not found.public static boolean getBoolean(java.util.Map data, java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |