Package ghidra.util.table
Class PreviewTableCellData
java.lang.Object
ghidra.util.table.PreviewTableCellData
- All Implemented Interfaces:
Comparable<PreviewTableCellData>
A generic data type used by table models in order to signal that the data should render
a preview for a given
ProgramLocation
, where the preview is what is displayed in
the Listing.-
Constructor Summary
ConstructorDescriptionPreviewTableCellData
(ProgramLocation location, CodeUnitFormat codeUnitFormat) Constructor -
Method Summary
-
Constructor Details
-
PreviewTableCellData
Constructor- Parameters:
location
- the location for the previewcodeUnitFormat
- the format needed to render preview data
-
-
Method Details
-
isOffcut
public boolean isOffcut() -
getDisplayString
Get the preview for the code unit at or containing the address associated with this cell's row.- Returns:
- the preview string.
-
toString
-
getHTMLDisplayString
Get the preview as HTML for the code unit at or containing the address associated with this cell's row.- Returns:
- the preview string.
-
getProgramLocation
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PreviewTableCellData>
-