|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
de.lmu.ifi.dbs.elki.gui.util.ParameterTable.FileNameEditor
private class ParameterTable.FileNameEditor

Editor for selecting input and output file and folders names
| Field Summary | |
|---|---|
(package private) JButton |
button
The button to open the file selector |
(package private) JFileChooser |
fc
The actual file chooser |
(package private) JPanel |
panel
We need a panel to put our components on. |
private static long |
serialVersionUID
Serial version number |
(package private) JTextField |
textfield
Text field to store the name |
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
ParameterTable.FileNameEditor()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
|---|
private static final long serialVersionUID
final JPanel panel
final JTextField textfield
final JButton button
final JFileChooser fc
| Constructor Detail |
|---|
public ParameterTable.FileNameEditor()
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditor
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface TableCellEditor
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||