Class AbstractDataTypeTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
ghidra.base.widgets.table.AbstractDataTypeTableCellEditor
- All Implemented Interfaces:
FocusableEditor, GTableAccess, Serializable, CellEditor, TableCellEditor
public abstract class AbstractDataTypeTableCellEditor
extends AbstractCellEditor
implements TableCellEditor, FocusableEditor, GTableAccess
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled with the editor should take focus.protected DataTypeParser.AllowedDataTypesgetAllowed(int row, int column) protected DataTypeManagergetPreferredDataTypeManager(int row, int column) protected abstract DataTypeManagerServicegetService(TableModel model) getTableCellEditorComponent(JTable newTable, Object value, boolean isSelected, int row, int column) protected voidinit(int row, int column) booleanprotected DataTyperesolveSelection(DataType dataType, TableModel model) booleanprotected voidstopEdit()protected booleanvalidateSelection(DataType dataType, TableModel model) Methods inherited from class AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCellMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCellMethods inherited from interface GTableAccess
getUnwrappedModel
-
Field Details
-
table
-
-
Constructor Details
-
AbstractDataTypeTableCellEditor
public AbstractDataTypeTableCellEditor()
-
-
Method Details
-
getService
-
getAllowed
-
getPreferredDataTypeManager
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable newTable, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
focusEditor
public void focusEditor()Description copied from interface:FocusableEditorCalled with the editor should take focus.- Specified by:
focusEditorin interfaceFocusableEditor
-
init
protected void init(int row, int column) -
stopEdit
protected void stopEdit() -
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
validateSelection
-
resolveSelection
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditingin interfaceCellEditor- Overrides:
stopCellEditingin classAbstractCellEditor
-
isCellEditable
- Specified by:
isCellEditablein interfaceCellEditor- Overrides:
isCellEditablein classAbstractCellEditor
-