public class TextBinding extends BindingBase
| Modifier and Type | Field and Description |
|---|---|
protected Color |
defaultBGColor |
protected String |
defaultToolTip |
protected Color |
errorColor |
protected JTextComponent |
textComponent |
checkingForValueChange, context, delegate, expression, modelUpdateDisabled, usingNullForEmptyStrings| Constructor and Description |
|---|
TextBinding(JTextArea textArea,
String property) |
TextBinding(JTextField textField,
String expression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
Component |
getView()
Returns internal text component.
|
protected void |
initComponentDefaults() |
protected void |
updateModel() |
void |
updateView() |
getContext, getDelegate, getExpression, getValue, isCheckingForValueChange, isUsingNullForEmptyStrings, processException, setCheckingForValueChange, setContext, setDelegate, setUsingNullForEmptyStrings, setValueprotected JTextComponent textComponent
protected Color defaultBGColor
protected Color errorColor
protected String defaultToolTip
public TextBinding(JTextField textField, String expression)
protected void initComponentDefaults()
public void updateView()
public Component getView()
protected void updateModel()
protected void clear()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.