class ViewScrapeableFile.LongParameterEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
EDIT
Defines the action for the button.
|
| Constructor and Description |
|---|
LongParameterEditor(HTTPParameter parameter,
boolean useKey)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Handles events from the editor button and from the dialog's OK button.
|
java.lang.Object |
getCellEditorValue()
Gets the current value of the cell.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Returns the button used to invoke the editor.
|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected static final java.lang.String EDIT
public LongParameterEditor(HTTPParameter parameter, boolean useKey)
parameter - The HTTPParameter being edited.useKey - Whether to use the key or the value.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerpublic java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorpublic java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface javax.swing.table.TableCellEditorJButton.