public class DialogCtrlBase
extends org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zul.Window>
Modifier and Type | Class and Description |
---|---|
static class |
DialogCtrlBase.Entry |
Modifier and Type | Field and Description |
---|---|
protected org.zkoss.zk.ui.event.EventListener |
callback |
static java.lang.String |
ON_CANCEL |
static java.lang.String |
ON_OK |
Constructor and Description |
---|
DialogCtrlBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
detach() |
void |
doAfterCompose(org.zkoss.zul.Window comp) |
protected org.zkoss.zk.ui.Component |
getFellow(java.lang.String compId) |
protected static java.lang.Object |
getSingleSelection(org.zkoss.zul.ListModel model) |
protected static int |
getSingleSelectionIndex(org.zkoss.zul.ListModel model) |
protected static java.util.Map |
newArg(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback) |
protected static DialogCtrlBase.Entry |
newEntry(java.lang.String name,
java.lang.Object value) |
protected static java.util.Map<java.lang.String,java.lang.Object> |
newMap(DialogCtrlBase.Entry... args) |
protected void |
postCallback(java.lang.String eventName,
java.util.Map<java.lang.String,java.lang.Object> data) |
protected void |
sendCallback(java.lang.String eventName,
java.util.Map<java.lang.String,java.lang.Object> data) |
protected org.zkoss.zk.ui.event.EventListener callback
public static final java.lang.String ON_OK
public static final java.lang.String ON_CANCEL
public void doAfterCompose(org.zkoss.zul.Window comp) throws java.lang.Exception
doAfterCompose
in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
doAfterCompose
in class org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zul.Window>
java.lang.Exception
protected org.zkoss.zk.ui.Component getFellow(java.lang.String compId)
protected static java.util.Map newArg(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback)
protected void postCallback(java.lang.String eventName, java.util.Map<java.lang.String,java.lang.Object> data)
protected void sendCallback(java.lang.String eventName, java.util.Map<java.lang.String,java.lang.Object> data)
protected void detach()
protected static DialogCtrlBase.Entry newEntry(java.lang.String name, java.lang.Object value)
protected static java.util.Map<java.lang.String,java.lang.Object> newMap(DialogCtrlBase.Entry... args)
protected static java.lang.Object getSingleSelection(org.zkoss.zul.ListModel model)
protected static int getSingleSelectionIndex(org.zkoss.zul.ListModel model)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.