lemurproject.indri.ui
Class OffsetAnnotationFileCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by lemurproject.indri.ui.OffsetAnnotationFileCellEditor
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

public class OffsetAnnotationFileCellEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor

Author:
mhoy
See Also:
Serialized Form

Field Summary
private  javax.swing.JButton btnBrowse
           
private  javax.swing.JPanel pnlEditor
           
private  javax.swing.JTextField txtValue
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
OffsetAnnotationFileCellEditor()
           
 
Method Summary
protected  void browseForFile()
           
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int rowIndex, int vColIndex)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, 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, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

pnlEditor

private javax.swing.JPanel pnlEditor

txtValue

private javax.swing.JTextField txtValue

btnBrowse

private javax.swing.JButton btnBrowse
Constructor Detail

OffsetAnnotationFileCellEditor

public OffsetAnnotationFileCellEditor()
Method Detail

browseForFile

protected void browseForFile()

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int rowIndex,
                                                      int vColIndex)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor