public class DefaultJExpressionBuilder extends java.lang.Object implements JExpressionBuilder
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
CONFIGURABLE_PANEL_ID
Constructor and Description |
---|
DefaultJExpressionBuilder(ExpressionEvaluatorSwingManager manager,
ExpressionBuilderConfig config,
DefaultJExpressionBuilderView2 view) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
void |
configUpdated() |
void |
expandElement(Element element) |
void |
expandElement(java.util.function.Predicate<Element> condition) |
ExpressionBuilderConfig |
getConfig() |
Expression |
getExpression() |
Expression |
getExpressionWithOutHistory() |
java.lang.String |
getText() |
void |
insertText(java.lang.String text) |
boolean |
isAutomaticExpressionCheckerEnabled() |
void |
setAutomaticExpressionCheckerEnabled(boolean enabled) |
void |
setExpression(Expression expression) |
void |
setText(java.lang.String text) |
public DefaultJExpressionBuilder(ExpressionEvaluatorSwingManager manager, ExpressionBuilderConfig config, DefaultJExpressionBuilderView2 view)
public void insertText(java.lang.String text)
insertText
in interface JExpressionBuilder
public java.lang.String getText()
getText
in interface JExpressionBuilder
public void setText(java.lang.String text)
setText
in interface JExpressionBuilder
public Expression getExpression()
getExpression
in interface JExpressionBuilder
public Expression getExpressionWithOutHistory()
getExpressionWithOutHistory
in interface JExpressionBuilder
public void setExpression(Expression expression)
setExpression
in interface JExpressionBuilder
public void setAutomaticExpressionCheckerEnabled(boolean enabled)
setAutomaticExpressionCheckerEnabled
in interface JExpressionBuilder
public boolean isAutomaticExpressionCheckerEnabled()
isAutomaticExpressionCheckerEnabled
in interface JExpressionBuilder
public javax.swing.JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void expandElement(Element element)
expandElement
in interface JExpressionBuilder
public void expandElement(java.util.function.Predicate<Element> condition)
expandElement
in interface JExpressionBuilder
public ExpressionBuilderConfig getConfig()
getConfig
in interface JExpressionBuilder
public void configUpdated()
configUpdated
in interface JExpressionBuilder