public abstract class ActionTableCellEditor extends Object implements TableCellEditor, ActionListener
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
| Constructor and Description |
|---|
ActionTableCellEditor(TableCellEditor pEditor) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent pEvent) |
void |
addCellEditorListener(CellEditorListener pListener) |
void |
cancelCellEditing() |
protected abstract void |
editCell(JTable pTable,
Object pPartialValue,
int pRow,
int pColumn) |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable pTable,
Object pValue,
boolean pIsSelected,
int pRow,
int pColumn) |
boolean |
isCellEditable(EventObject pEvent) |
void |
removeCellEditorListener(CellEditorListener pListener) |
boolean |
shouldSelectCell(EventObject pEvent) |
boolean |
stopCellEditing() |
public ActionTableCellEditor(TableCellEditor pEditor)
public Component getTableCellEditorComponent(JTable pTable, Object pValue, boolean pIsSelected, int pRow, int pColumn)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean isCellEditable(EventObject pEvent)
isCellEditable in interface CellEditorpublic boolean shouldSelectCell(EventObject pEvent)
shouldSelectCell in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorpublic void addCellEditorListener(CellEditorListener pListener)
addCellEditorListener in interface CellEditorpublic void removeCellEditorListener(CellEditorListener pListener)
removeCellEditorListener in interface CellEditorpublic final void actionPerformed(ActionEvent pEvent)
actionPerformed in interface ActionListenerCopyright © 2023. All rights reserved.