com.silvermindsoftware.hitch.validation.response
Class ValidatingCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by com.silvermindsoftware.hitch.validation.response.ValidatingCellEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class ValidatingCellEditor
extends AbstractCellEditor
implements TableCellEditor

A validating cell editor for tables.

Author:
Stefan Wismer (SWI)
See Also:
Serialized Form
File-location:
ValidatingCellEditor
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
ValidatingCellEditor()
           
 
Method Summary
 Object getCellEditorValue()
          
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int rowIndex, int vColIndex)
          
 void removeCellEditorListener(CellEditorListener l)
          
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, 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, isCellEditable, shouldSelectCell, stopCellEditing
 

Constructor Detail

ValidatingCellEditor

public ValidatingCellEditor()
Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int rowIndex,
                                             int vColIndex)

Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()

Specified by:
getCellEditorValue in interface CellEditor

removeCellEditorListener

public void removeCellEditorListener(CellEditorListener l)

Specified by:
removeCellEditorListener in interface CellEditor
Overrides:
removeCellEditorListener in class AbstractCellEditor


Copyright © 2005-2011 ELCA. All Rights Reserved.