public class BigDecimalTableCellEditor extends StringTableCellEditor
DefaultCellEditor.EditorDelegate| Modifier and Type | Field and Description |
|---|---|
protected String |
comma |
clickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
BigDecimalTableCellEditor() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getCellEditorValue()
Split decimal with scale config
|
protected void |
limitComma(KeyEvent e)
Limit number of decimalSeparator to one
|
getComponent, runEditioncancelCellEditing, getClickCountToStart, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerprotected String comma
public BigDecimal getCellEditorValue()
getCellEditorValue in interface CellEditorgetCellEditorValue in class StringTableCellEditorprotected void limitComma(KeyEvent e)
e - keyEvent starting control of decimalSeparatorCopyright © 2008–2013 CodeLutin. All rights reserved.