Package ghidra.app.plugin.debug.dbtable
Class ShortColumnAdapter
java.lang.Object
docking.widgets.table.AbstractDynamicTableColumn<DBRecord,Object,Object>
docking.widgets.table.AbstractDynamicTableColumnStub<DBRecord,Object>
ghidra.app.plugin.debug.dbtable.ShortColumnAdapter
- All Implemented Interfaces:
DynamicTableColumn<DBRecord,
Object, Object>
-
Field Summary
Fields inherited from class docking.widgets.table.AbstractDynamicTableColumn
FLOATING_POINT_PRECISION_SETTING, FLOATING_POINT_SETTINGS_DEFINITIONS, INTEGER_RADIX_SETTING, INTEGER_SETTINGS_DEFINITIONS, INTEGER_SIGNEDNESS_MODE_SETTING, NO_SETTINGS_DEFINITIONS
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getByteString
(byte b) Determines the class of object that is associated with this field (column).Determines the unique column heading that may be used to identify a column instance.Returns the optional cell renderer for this column; null if no renderer is used.getValue
(DBRecord rowObject, Settings settings, ServiceProvider serviceProvider) Methods inherited from class docking.widgets.table.AbstractDynamicTableColumnStub
getValue
Methods inherited from class docking.widgets.table.AbstractDynamicTableColumn
equals, getColumnDescription, getColumnDisplayName, getColumnPreferredWidth, getComparator, getComparator, getHeaderRenderer, getMaxLines, getSettingsDefinitions, getSupportedRowType, getUniqueIdentifier, hashCode, toString
-
Field Details
-
longRenderer
-
column
protected int column
-
-
Method Details
-
getColumnRenderer
Description copied from interface:DynamicTableColumn
Returns the optional cell renderer for this column; null if no renderer is used.This method allows columns to define custom rendering. The interface returned here ensures that the text used for filtering matches what the users sees (via the
GColumnRenderer.getFilterString(Object, Settings)
method).Note: some types should not make use of the aforementioned filter string. These types include the
Number
wrapper types,Date
andEnum
s. (This is because the filtering system works naturally with these types.) SeeGColumnRenderer
.- Specified by:
getColumnRenderer
in interfaceDynamicTableColumn<DBRecord,
Object, Object> - Overrides:
getColumnRenderer
in classAbstractDynamicTableColumn<DBRecord,
Object, Object> - Returns:
- the renderer
-
getValue
public Object getValue(DBRecord rowObject, Settings settings, ServiceProvider serviceProvider) throws IllegalArgumentException - Specified by:
getValue
in classAbstractDynamicTableColumnStub<DBRecord,
Object> - Throws:
IllegalArgumentException
-
getColumnClass
Description copied from interface:DynamicTableColumn
Determines the class of object that is associated with this field (column).- Specified by:
getColumnClass
in interfaceDynamicTableColumn<DBRecord,
Object, Object> - Overrides:
getColumnClass
in classAbstractDynamicTableColumn<DBRecord,
Object, Object> - Returns:
- the column class
-
getColumnName
Description copied from interface:DynamicTableColumn
Determines the unique column heading that may be used to identify a column instance. This name must be non-changing and is used to save/restore state information.- Specified by:
getColumnName
in interfaceDynamicTableColumn<DBRecord,
Object, Object> - Specified by:
getColumnName
in classAbstractDynamicTableColumn<DBRecord,
Object, Object> - Returns:
- the field instance name.
-
getByteString
-