Package io.keikaiex.ui.dialog
Class InsertFormulaCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zul.Window>
-
- io.keikaiex.ui.dialog.impl.DialogCtrlBase
-
- io.keikaiex.ui.dialog.InsertFormulaCtrl
-
- All Implemented Interfaces:
Serializable
,org.zkoss.zk.ui.util.ComponentActivationListener
,org.zkoss.zk.ui.util.ComponentCloneListener
,org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zul.Window>
public class InsertFormulaCtrl extends DialogCtrlBase
- Author:
- Hawk
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
DialogCtrlBase.Entry
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
ARG_CALLBACK, callback, ON_CANCEL, ON_OK
-
-
Constructor Summary
Constructors Constructor Description InsertFormulaCtrl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class io.keikaiex.ui.dialog.impl.DialogCtrlBase
detach, getFellow, getSingleSelection, getSingleSelectionIndex, newArg, newEntry, newMap, postCallback, sendCallback
-
-
-
-
Field Detail
-
FORMULA
public static String FORMULA
-
URI
public static String URI
-
ALL
public static String ALL
-
findArea
protected org.zkoss.zul.Div findArea
-
searchTextbox
protected org.zkoss.zul.Textbox searchTextbox
-
categoryCombobox
protected org.zkoss.zul.Combobox categoryCombobox
-
functionListbox
protected org.zkoss.zul.Listbox functionListbox
-
expression
protected org.zkoss.zul.Label expression
-
description
protected org.zkoss.zul.Label description
-
selectButton
protected org.zkoss.zul.Button selectButton
-
_composeFormulaDialog
protected org.zkoss.zul.Window _composeFormulaDialog
-
formulaStart
protected org.zkoss.zul.Label formulaStart
-
formulaEnd
protected org.zkoss.zul.Label formulaEnd
-
composeFormulaTextbox
protected org.zkoss.zul.Textbox composeFormulaTextbox
-
formulaInfos
protected LinkedHashMap<String,List<FormulaMetaInfo>> formulaInfos
-
-
Method Detail
-
show
public static void show(org.zkoss.zk.ui.event.EventListener<DialogCallbackEvent> dialogEventListener)
-
doAfterCompose
public void doAfterCompose(org.zkoss.zul.Window comp) throws Exception
- Specified by:
doAfterCompose
in interfaceorg.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
- Overrides:
doAfterCompose
in classDialogCtrlBase
- Throws:
Exception
-
onSelect$categoryCombobox
public void onSelect$categoryCombobox()
-
initFunctionListboxByCategory
protected void initFunctionListboxByCategory()
-
selectFunction
public void selectFunction()
-
confirmSelection
public void confirmSelection()
-
openComposeFormulaDialog
protected void openComposeFormulaDialog()
-
search
protected List<FormulaMetaInfo> search(String keyword)
-
startSearch
public void startSearch(org.zkoss.zk.ui.event.InputEvent event)
-
insertFunction
public void insertFunction()
-
openComposeFormulaDialog
protected void openComposeFormulaDialog(FormulaMetaInfo metainfo)
-
-