public class CodeFragmentTableCellEditorBase
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
Modifier and Type | Field and Description |
---|---|
protected PsiCodeFragment |
myCodeFragment |
protected EditorTextField |
myEditorTextField |
Constructor and Description |
---|
CodeFragmentTableCellEditorBase(Project project,
FileType fileType) |
Modifier and Type | Method and Description |
---|---|
void |
addDocumentListener(DocumentListener listener) |
void |
clearListeners() |
protected EditorTextField |
createEditorField(Document document) |
PsiCodeFragment |
getCellEditorValue() |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
boolean |
stopCellEditing() |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell
protected PsiCodeFragment myCodeFragment
protected EditorTextField myEditorTextField
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
protected EditorTextField createEditorField(Document document)
public PsiCodeFragment getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
stopCellEditing
in class javax.swing.AbstractCellEditor
public void addDocumentListener(DocumentListener listener)
public void clearListeners()