org.opennms.bb.eui.common.components
Class BBColumnEditor
java.lang.Object
|
+--javax.swing.AbstractCellEditor
|
+--javax.swing.DefaultCellEditor
|
+--org.opennms.bb.eui.common.components.BBColumnEditor
- All Implemented Interfaces:
- CellEditor, Serializable, TableCellEditor, TreeCellEditor
- Direct Known Subclasses:
- SnmpColumnEditor, SnmpColumnEditor
- public class BBColumnEditor
- extends DefaultCellEditor
BBColumnEditor is a table cell editor that stops editing on a
'focusLost' instead of the default action of having to press 'enter'
(activating) each cell
On 'focusLost', it warns the user if the value entered is incorrect
The focus is then restored to the same cell until the value entersd
is correct or the user presses 'escape' to restore the older correct
value
- Author:
- Sowmya
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
textField
JTextField textField
iFocusLostCalled
static int iFocusLostCalled
bEditingCancelled
public boolean bEditingCancelled
BBColumnEditor
public BBColumnEditor(JTextField colText)
- Creates the column editor