public class InsertFormulaCtrl extends DialogCtrlBase
DialogCtrlBase.Entry
Modifier and Type | Field and Description |
---|---|
protected org.zkoss.zul.Window |
_composeFormulaDialog |
static String |
ALL |
protected org.zkoss.zul.Combobox |
categoryCombobox |
protected org.zkoss.zul.Textbox |
composeFormulaTextbox |
protected org.zkoss.zul.Label |
description |
protected org.zkoss.zul.Label |
expression |
protected org.zkoss.zul.Div |
findArea |
static String |
FORMULA |
protected org.zkoss.zul.Label |
formulaEnd |
protected LinkedHashMap<String,List<FormulaMetaInfo>> |
formulaInfos |
protected org.zkoss.zul.Label |
formulaStart |
protected org.zkoss.zul.Listbox |
functionListbox |
protected org.zkoss.zul.Textbox |
searchTextbox |
protected org.zkoss.zul.Button |
selectButton |
static String |
URI |
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
Constructor and Description |
---|
InsertFormulaCtrl() |
Modifier and Type | Method and Description |
---|---|
void |
confirmSelection() |
void |
doAfterCompose(org.zkoss.zul.Window comp) |
protected void |
initFunctionListboxByCategory() |
void |
insertFunction() |
void |
onSelect$categoryCombobox() |
protected void |
openComposeFormulaDialog() |
protected void |
openComposeFormulaDialog(FormulaMetaInfo metainfo) |
protected List<FormulaMetaInfo> |
search(String keyword) |
void |
selectFunction() |
static void |
show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> dialogEventListener) |
void |
startSearch(org.zkoss.zk.ui.event.InputEvent event) |
detach, getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
public static String FORMULA
public static String URI
public static String ALL
protected org.zkoss.zul.Div findArea
protected org.zkoss.zul.Textbox searchTextbox
protected org.zkoss.zul.Combobox categoryCombobox
protected org.zkoss.zul.Listbox functionListbox
protected org.zkoss.zul.Label expression
protected org.zkoss.zul.Label description
protected org.zkoss.zul.Button selectButton
protected org.zkoss.zul.Window _composeFormulaDialog
protected org.zkoss.zul.Label formulaStart
protected org.zkoss.zul.Label formulaEnd
protected org.zkoss.zul.Textbox composeFormulaTextbox
protected LinkedHashMap<String,List<FormulaMetaInfo>> formulaInfos
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> dialogEventListener)
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 DialogCtrlBase
Exception
public void onSelect$categoryCombobox()
protected void initFunctionListboxByCategory()
public void selectFunction()
public void confirmSelection()
protected void openComposeFormulaDialog()
protected List<FormulaMetaInfo> search(String keyword)
public void startSearch(org.zkoss.zk.ui.event.InputEvent event)
public void insertFunction()
protected void openComposeFormulaDialog(FormulaMetaInfo metainfo)
Copyright © 2020. All rights reserved.