
private class ParameterTable.FileNameEditor extends AbstractCellEditor implements TableCellEditor, ActionListener
| Modifier and Type | Field and Description | 
|---|---|
| (package private) JButton | buttonThe button to open the file selector | 
| (package private) JPanel | panelWe need a panel to put our components on. | 
| private static long | serialVersionUIDSerial version number | 
| (package private) JTextField | textfieldText field to store the name | 
changeEvent, listenerList| Constructor and Description | 
|---|
| ParameterTable.FileNameEditor()Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | actionPerformed(ActionEvent e)Button callback to show the file selector | 
| Object | getCellEditorValue()Delegate getCellEditorValue to the text field. | 
| Component | getTableCellEditorComponent(JTable table,
                           Object value,
                           boolean isSelected,
                           int row,
                           int column)Apply the Editor for a selected option. | 
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprivate static final long serialVersionUID
final JPanel panel
final JTextField textfield
final JButton button
public ParameterTable.FileNameEditor()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditor