Class FormulaEditorPanel

    • Constructor Detail

      • FormulaEditorPanel

        public FormulaEditorPanel()
    • Method Detail

      • getDocSyncHandler

        public org.pentaho.openformula.ui.FormulaEditorPanel.DocumentSyncHandler getDocSyncHandler()
      • setDocSyncHandler

        public void setDocSyncHandler​(org.pentaho.openformula.ui.FormulaEditorPanel.DocumentSyncHandler docSyncHandler)
      • insertText

        protected void insertText​(String text)
      • getOperatorPanel

        public JToolBar getOperatorPanel()
      • getFunctionTextArea

        public JTextArea getFunctionTextArea()
      • init

        protected void init()
      • createOperatorPanel

        protected JToolBar createOperatorPanel()
      • getFormulaText

        public String getFormulaText()
      • setFormulaText

        public void setFormulaText​(String formulaText)
      • revalidateParameters

        protected void revalidateParameters​(boolean switchParameterEditor)
        Re-validate the parameters of the selected formula.
        Parameters:
        switchParameterEditor - - if true, then the parameter editor will adjust to correspond to formula in the formula text-area. This prevents parameter editor from changing while user is entering an embedded formula.
      • revalidateFormulaSyntax

        protected void revalidateFormulaSyntax()