public class DefaultExpressionPickerController extends AbstractPickerController<Expression> implements ExpressionPickerController, Disposable
changeListenerHelper, LOG
Constructor and Description |
---|
DefaultExpressionPickerController(DefaultExpressionEvaluatorSwingManager manager,
javax.swing.JComboBox combo,
javax.swing.JButton button,
javax.swing.JButton btnHistory,
javax.swing.JButton btnBookmarks) |
DefaultExpressionPickerController(DefaultExpressionEvaluatorSwingManager manager,
javax.swing.text.JTextComponent text,
javax.swing.JButton button,
javax.swing.JButton btnHistory,
javax.swing.JButton btnBookmarks) |
Modifier and Type | Method and Description |
---|---|
void |
coerceAndSet(java.lang.Object value) |
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
Expression |
get()
Return the expression in the picker.
|
ExpressionBuilderConfig |
getConfig() |
Expression |
getWithOutHistory() |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isValid() |
static void |
selfRegister() |
void |
set(Expression value) |
void |
set(java.lang.String phrase) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, removeAllChangeListener, removeChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable
addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListener
public DefaultExpressionPickerController(DefaultExpressionEvaluatorSwingManager manager, javax.swing.JComboBox combo, javax.swing.JButton button, javax.swing.JButton btnHistory, javax.swing.JButton btnBookmarks)
public DefaultExpressionPickerController(DefaultExpressionEvaluatorSwingManager manager, javax.swing.text.JTextComponent text, javax.swing.JButton button, javax.swing.JButton btnHistory, javax.swing.JButton btnBookmarks)
public static void selfRegister()
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable
public Expression get()
ExpressionPickerController
get
in interface ExpressionPickerController
get
in interface PickerController<Expression>
public Expression getWithOutHistory()
getWithOutHistory
in interface ExpressionPickerController
public void set(Expression value)
set
in interface PickerController<Expression>
public void set(java.lang.String phrase)
public boolean isEmpty()
isEmpty
in interface PickerController<Expression>
isEmpty
in class AbstractPickerController<Expression>
public void coerceAndSet(java.lang.Object value)
coerceAndSet
in interface PickerController<Expression>
public void setEnabled(boolean enabled)
setEnabled
in interface PickerController<Expression>
public boolean isEnabled()
isEnabled
in interface PickerController<Expression>
public void setEditable(boolean editable)
setEditable
in interface PickerController<Expression>
setEditable
in class AbstractPickerController<Expression>
public ExpressionBuilderConfig getConfig()
getConfig
in interface ExpressionPickerController
public boolean isValid()
isValid
in interface PickerController<Expression>
isValid
in class AbstractPickerController<Expression>