org.chorem.lima.ui.celleditor
Class BigDecimalTableCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by org.chorem.lima.ui.celleditor.BigDecimalTableCellEditor
All Implemented Interfaces:
FocusListener, KeyListener, Serializable, EventListener, CellEditor, AncestorListener, TableCellEditor

public class BigDecimalTableCellEditor
extends AbstractCellEditor
implements TableCellEditor, FocusListener, AncestorListener, KeyListener

See Also:
Serialized Form

Field Summary
protected  JTextField textField
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
BigDecimalTableCellEditor()
          constructor
 
Method Summary
 void ancestorAdded(AncestorEvent e)
           
 void ancestorMoved(AncestorEvent e)
           
 void ancestorRemoved(AncestorEvent e)
           
 void focusGained(FocusEvent e)
          Listeners
 void focusLost(FocusEvent e)
           
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 boolean isCellEditable(EventObject evt)
           
 void keyPressed(KeyEvent e)
           
 void keyReleased(KeyEvent e)
           
 void keyTyped(KeyEvent e)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

textField

protected final JTextField textField
Constructor Detail

BigDecimalTableCellEditor

public BigDecimalTableCellEditor()
constructor

Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

isCellEditable

public boolean isCellEditable(EventObject evt)
Specified by:
isCellEditable in interface CellEditor
Overrides:
isCellEditable in class AbstractCellEditor

focusGained

public void focusGained(FocusEvent e)
Listeners

Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)
Specified by:
focusLost in interface FocusListener

ancestorAdded

public void ancestorAdded(AncestorEvent e)
Specified by:
ancestorAdded in interface AncestorListener

ancestorRemoved

public void ancestorRemoved(AncestorEvent e)
Specified by:
ancestorRemoved in interface AncestorListener

ancestorMoved

public void ancestorMoved(AncestorEvent e)
Specified by:
ancestorMoved in interface AncestorListener

keyTyped

public void keyTyped(KeyEvent e)
Specified by:
keyTyped in interface KeyListener

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener


Copyright © 2008-2011 CodeLutin. All Rights Reserved.