Class FileTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
be.gaudry.swing.component.table.editors.FileTableCellEditor
- All Implemented Interfaces:
ActionListener
,Serializable
,EventListener
,CellEditor
,TableCellEditor
public class FileTableCellEditor
extends AbstractCellEditor
implements TableCellEditor, ActionListener
Cell editor for file objects.
A button allows to select the file.
Provided by the broldev.core.swing project.
- Since:
- 1.0 (Jun 3, 2009), broldev.core.swing 0.0.1-SNAPSHOT dependency
- Version:
- 1.0 (Jun 3, 2009)
- Author:
- Steph GAUDRY
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
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
-
Constructor Details
-
FileTableCellEditor
public FileTableCellEditor()Builds a default instance
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-