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, removeCellEditorListener
public SVTableCellEditor(HSSFWorkbook wb)
public boolean isCellEditable(java.util.EventObject e)
isCellEditable
in interface javax.swing.CellEditor
isCellEditable
in class javax.swing.AbstractCellEditor
public boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell
in interface javax.swing.CellEditor
shouldSelectCell
in class javax.swing.AbstractCellEditor
public boolean startCellEditing(java.util.EventObject anEvent)
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
stopCellEditing
in class javax.swing.AbstractCellEditor
public void cancelCellEditing()
cancelCellEditing
in interface javax.swing.CellEditor
cancelCellEditing
in class javax.swing.AbstractCellEditor
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.