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 |
---|---|
static String |
ARG_CALLBACK |
protected org.zkoss.zk.ui.event.EventListener |
callback |
static String |
ON_CANCEL |
static 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(String compId) |
protected static Object |
getSingleSelection(org.zkoss.zul.ListModel model) |
protected static int |
getSingleSelectionIndex(org.zkoss.zul.ListModel model) |
static Map |
newArg(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback) |
protected static DialogCtrlBase.Entry |
newEntry(String name,
Object value) |
protected static Map<String,Object> |
newMap(DialogCtrlBase.Entry... args) |
protected void |
postCallback(String eventName,
Map<String,Object> data) |
protected void |
sendCallback(String eventName,
Map<String,Object> data) |
public static String ARG_CALLBACK
protected org.zkoss.zk.ui.event.EventListener callback
public static String ON_OK
public static String ON_CANCEL
public void doAfterCompose(org.zkoss.zul.Window comp) throws 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>
Exception
protected org.zkoss.zk.ui.Component getFellow(String compId)
public static Map newArg(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> callback)
protected void detach()
protected static DialogCtrlBase.Entry newEntry(String name, Object value)
protected static Map<String,Object> newMap(DialogCtrlBase.Entry... args)
protected static Object getSingleSelection(org.zkoss.zul.ListModel model)
protected static int getSingleSelectionIndex(org.zkoss.zul.ListModel model)
Copyright © 2020. All rights reserved.