public class BindUtils
extends java.lang.Object
Constructor and Description |
---|
BindUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getViewModelClass(java.lang.Object viewModel) |
static void |
postGlobalCommand(java.lang.String queueName,
java.lang.String queueScope,
java.lang.String cmdName,
java.util.Map<java.lang.String,java.lang.Object> args)
Post a global command to corresponding event queue
|
static void |
postNotifyChange(java.lang.String queueName,
java.lang.String queueScope,
java.lang.Object bean,
java.lang.String property)
Post a notify change to corresponding event queue to notify a bean's property changing
|
public static void postGlobalCommand(java.lang.String queueName, java.lang.String queueScope, java.lang.String cmdName, java.util.Map<java.lang.String,java.lang.Object> args)
queueName
- the queue name, null for default queue namequeueScope
- the queue scope, null for default queue scope (i.e. EventQueues.DESKTOP
)cmdName
- the global command nameargs
- arguments, could get the data in command method by BindingParam
public static void postNotifyChange(java.lang.String queueName, java.lang.String queueScope, java.lang.Object bean, java.lang.String property)
queueName
- the queue name, null for default queue namequeueScope
- the queue scope, null for default queue scope (i.e. EventQueues.DESKTOP
)bean
- the bean instanceproperty
- the property name of beanpublic static java.lang.Class<?> getViewModelClass(java.lang.Object viewModel)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.