Package io.keikaiex.ui.dialog
Class ComposeFormulaCtrl
- java.lang.Object
-
- org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zk.ui.Component>
-
- io.keikaiex.ui.dialog.ComposeFormulaCtrl
-
- All Implemented Interfaces:
Serializable
,org.zkoss.zk.ui.util.ComponentActivationListener
,org.zkoss.zk.ui.util.ComponentCloneListener
,org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>
,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>
public class ComposeFormulaCtrl extends org.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zk.ui.Component>
- Author:
- Hawk
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ComposeFormulaCtrl.ArgWrapper
-
Field Summary
Fields Modifier and Type Field Description protected List<ComposeFormulaCtrl.ArgWrapper>
args
protected org.zkoss.zul.Listbox
argsListbox
protected org.zkoss.zul.Textbox
composeFormulaTextbox
protected org.zkoss.zul.Label
description
protected org.zkoss.zul.impl.InputElement
focusComponent
protected int
focusToIndex
protected org.zkoss.zul.Label
formulaStart
protected List<org.zkoss.zul.impl.InputElement>
inputs
protected FormulaMetaInfo
metaInfo
protected boolean
movedToNext
-
Constructor Summary
Constructors Constructor Description ComposeFormulaCtrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
composeFormula()
protected List<ComposeFormulaCtrl.ArgWrapper>
createArgs(int numArg, String[] argNames)
protected ComposeFormulaCtrl.ArgWrapper
createNextArg()
protected void
decomposeFormula()
void
doAfterCompose(org.zkoss.zk.ui.Component comp)
protected void
moveFocusToNext(org.zkoss.zk.ui.HtmlBasedComponent current)
protected org.zkoss.zul.SimpleListModel<ComposeFormulaCtrl.ArgWrapper>
newListModelInstance(List<ComposeFormulaCtrl.ArgWrapper> functionArguments)
void
onOpen$_composeFormulaDialog(org.zkoss.zk.ui.event.Event evt)
-
-
-
Field Detail
-
formulaStart
protected org.zkoss.zul.Label formulaStart
-
composeFormulaTextbox
protected org.zkoss.zul.Textbox composeFormulaTextbox
-
argsListbox
protected org.zkoss.zul.Listbox argsListbox
-
description
protected org.zkoss.zul.Label description
-
metaInfo
protected FormulaMetaInfo metaInfo
-
focusToIndex
protected int focusToIndex
-
args
protected List<ComposeFormulaCtrl.ArgWrapper> args
-
inputs
protected List<org.zkoss.zul.impl.InputElement> inputs
-
movedToNext
protected boolean movedToNext
-
focusComponent
protected org.zkoss.zul.impl.InputElement focusComponent
-
-
Method Detail
-
doAfterCompose
public void doAfterCompose(org.zkoss.zk.ui.Component comp) throws Exception
- Specified by:
doAfterCompose
in interfaceorg.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>
- Overrides:
doAfterCompose
in classorg.zkoss.zk.ui.select.SelectorComposer<org.zkoss.zk.ui.Component>
- Throws:
Exception
-
onOpen$_composeFormulaDialog
public void onOpen$_composeFormulaDialog(org.zkoss.zk.ui.event.Event evt)
-
newListModelInstance
protected org.zkoss.zul.SimpleListModel<ComposeFormulaCtrl.ArgWrapper> newListModelInstance(List<ComposeFormulaCtrl.ArgWrapper> functionArguments)
-
moveFocusToNext
protected void moveFocusToNext(org.zkoss.zk.ui.HtmlBasedComponent current)
-
composeFormula
protected void composeFormula()
-
createNextArg
protected ComposeFormulaCtrl.ArgWrapper createNextArg()
-
decomposeFormula
protected void decomposeFormula()
-
createArgs
protected List<ComposeFormulaCtrl.ArgWrapper> createArgs(int numArg, String[] argNames)
-
-