Class 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
    • 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
    • Constructor Detail

      • InsertFormulaCtrl

        public InsertFormulaCtrl()
    • 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 interface org.zkoss.zk.ui.util.Composer<org.zkoss.zul.Window>
        Overrides:
        doAfterCompose in class DialogCtrlBase
        Throws:
        Exception
      • onSelect$categoryCombobox

        public void onSelect$categoryCombobox()
      • initFunctionListboxByCategory

        protected void initFunctionListboxByCategory()
      • selectFunction

        public void selectFunction()
      • confirmSelection

        public void confirmSelection()
      • openComposeFormulaDialog

        protected void openComposeFormulaDialog()
      • startSearch

        public void startSearch​(org.zkoss.zk.ui.event.InputEvent event)
      • insertFunction

        public void insertFunction()
      • openComposeFormulaDialog

        protected void openComposeFormulaDialog​(FormulaMetaInfo metainfo)