public final class CodeEvaluator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CodeEvaluator.DefaultExpressionsHistoryPersistence
Default implementation of expressions history persistence.
|
static class |
CodeEvaluator.EvaluatorService
Service handling evaluations in the code evaluator.
|
static class |
CodeEvaluator.Result<R,H>
A helper class managing the evaluator result.
|
Modifier and Type | Method and Description |
---|---|
static CodeEvaluator |
getDefault()
Get the default instance of the code evaluator.
|
void |
open()
Open the evaluator UI.
|
void |
requestFocus()
Request focus to the evaluator UI.
|
void |
setExpression(String expression)
Set an expression to the evaluator UI.
|
public static CodeEvaluator getDefault()
public void open()
public void setExpression(String expression)
expression
- The expression to set to the evaluator UI.public void requestFocus()