| java.lang.Object java.awt.event.KeyAdapter net.sourceforge.squirrel_sql.fw.datasetviewer.cellcomponent.BaseKeyTextHandler
Field Summary | |
boolean | firstBlankText A flag to keep track of whether or not this is the first time we've seen
an empty text value or the first time since previously restoring the
value. |
firstBlankText | boolean firstBlankText(Code) | | A flag to keep track of whether or not this is the first time we've seen
an empty text value or the first time since previously restoring the
value.
|
handleNotNullableField | protected void handleNotNullableField(String text, char c, KeyEvent e, IRestorableTextComponent _textComponent)(Code) | | If the field is not allowed to have nulls, we need to let the
user erase the entire contents of the field so that they can enter
a brand-new value from scratch. While the empty field is not a legal
value, we cannot avoid allowing it. This is the normal editing behavior,
so we do not need to add anything special here except for the cyclic
re-entering of the original data if user hits delete when field is empty
Parameters: text - Parameters: c - Parameters: e - Parameters: _textComponent - |
|
|