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 TableCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public boolean isCellEditable(EventObject pEvent)
isCellEditable
in interface CellEditor
public boolean shouldSelectCell(EventObject pEvent)
shouldSelectCell
in interface CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
public void addCellEditorListener(CellEditorListener pListener)
addCellEditorListener
in interface CellEditor
public void removeCellEditorListener(CellEditorListener pListener)
removeCellEditorListener
in interface CellEditor
public final void actionPerformed(ActionEvent pEvent)
actionPerformed
in interface ActionListener
Copyright © 2023. All rights reserved.