Package org.pentaho.openformula.ui
Class FormulaEditorPanel.ParameterUpdateHandler
- java.lang.Object
-
- org.pentaho.openformula.ui.FormulaEditorPanel.ParameterUpdateHandler
-
- All Implemented Interfaces:
EventListener
,ParameterUpdateListener
- Enclosing class:
- FormulaEditorPanel
public class FormulaEditorPanel.ParameterUpdateHandler extends Object implements ParameterUpdateListener
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmbeddedFunction(String parameterText)
void
parameterUpdated(ParameterUpdateEvent event)
This method gets called after each parameter text has been entered in the parameter field.
-
-
-
Method Detail
-
isEmbeddedFunction
public boolean isEmbeddedFunction(String parameterText)
-
parameterUpdated
public void parameterUpdated(ParameterUpdateEvent event)
This method gets called after each parameter text has been entered in the parameter field. If user is manually entering text in formula text-area, then this method is called for each character entered. If user is entering a formula, the parameter field will not change to the corresponding embedded formula unless user puts their cursor on the formula.- Specified by:
parameterUpdated
in interfaceParameterUpdateListener
- Parameters:
event
-
-
-