org.apache.poi.hssf.contrib.view
public class SVTableCellEditor extends javax.swing.AbstractCellEditor implements javax.swing.table.TableCellEditor, java.awt.event.ActionListener
| Constructor and Description |
|---|
SVTableCellEditor(HSSFWorkbook wb) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
cancelCellEditing() |
java.lang.Object |
getCellEditorValue()
Gets the cellEditorValue attribute of the SVTableCellEditor object
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
Gets the tableCellEditorComponent attribute of the SVTableCellEditor object
|
boolean |
isCellEditable(java.util.EventObject e)
Gets the cellEditable attribute of the SVTableCellEditor object
|
boolean |
shouldSelectCell(java.util.EventObject anEvent) |
boolean |
startCellEditing(java.util.EventObject anEvent) |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerpublic SVTableCellEditor(HSSFWorkbook wb)
public boolean isCellEditable(java.util.EventObject e)
isCellEditable in interface javax.swing.CellEditorisCellEditable in class javax.swing.AbstractCellEditorpublic boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell in interface javax.swing.CellEditorshouldSelectCell in class javax.swing.AbstractCellEditorpublic boolean startCellEditing(java.util.EventObject anEvent)
public boolean stopCellEditing()
stopCellEditing in interface javax.swing.CellEditorstopCellEditing in class javax.swing.AbstractCellEditorpublic void cancelCellEditing()
cancelCellEditing in interface javax.swing.CellEditorcancelCellEditing in class javax.swing.AbstractCellEditorpublic void actionPerformed(java.awt.event.ActionEvent e)
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.TableCellEditorCopyright 2016 The Apache Software Foundation or its licensors, as applicable.