Package ghidra.base.widgets.table
Class DataTypeTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
ghidra.base.widgets.table.DataTypeTableCellEditor
- All Implemented Interfaces:
FocusableEditor,Serializable,CellEditor,TableCellEditor
public class DataTypeTableCellEditor
extends AbstractCellEditor
implements TableCellEditor, FocusableEditor
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataTypeTableCellEditor(PluginTool tool, DataTypeManagerService service) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled with the editor should take focus.protected DataTypeParser.AllowedDataTypesgetAllowed(int row, int column) protected DataTypeManagergetPreferredDataTypeManager(int row, int column) getTableCellEditorComponent(JTable newTable, Object value, boolean isSelected, int row, int column) protected voidinit(int row, int column) booleanprotected DataTyperesolveSelection(DataType dataType) booleanprotected voidstopEdit()protected booleanvalidateSelection(DataType dataType) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCellMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell
-
Constructor Details
-
DataTypeTableCellEditor
-
DataTypeTableCellEditor
-
DataTypeTableCellEditor
-
-
Method Details
-
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
-