public class BigDecimalTableCellEditor extends DefaultCellEditor
DefaultCellEditor.EditorDelegate| Modifier and Type | Field and Description |
|---|---|
protected String |
comma |
protected int |
row |
clickCountToStart, delegate, editorComponentchangeEvent, listenerList| Constructor and Description |
|---|
BigDecimalTableCellEditor() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getCellEditorValue()
Split decimal with scale config
|
JTextField |
getComponent() |
protected void |
limitComma(KeyEvent e)
Limit number of decimalSeparator to one
|
void |
runEdition()
Two kinds of edition, with LimaConfig value
|
cancelCellEditing, getClickCountToStart, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditingaddCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, removeCellEditorListenerprotected int row
protected String comma
public JTextField getComponent()
getComponent in class DefaultCellEditorpublic void runEdition()
public BigDecimal getCellEditorValue()
getCellEditorValue in interface CellEditorgetCellEditorValue in class DefaultCellEditorprotected void limitComma(KeyEvent e)
e - keyEvent starting control of decimalSeparatorCopyright © 2008-2012 CodeLutin. All Rights Reserved.