Package ghidra.util.table.field
Class CodeUnitTableCellData
- java.lang.Object
- 
- ghidra.util.table.field.CodeUnitTableCellData
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<CodeUnitTableCellData>
 
 public class CodeUnitTableCellData extends java.lang.Object implements java.lang.Comparable<CodeUnitTableCellData> A class that knows how to renderCodeUnits in 1 or more lines
- 
- 
Constructor SummaryConstructors Constructor Description CodeUnitTableCellData(ProgramLocation location, CodeUnitFormat codeUnitFormat, int codeUnitOffset, int codeUnitCount)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CodeUnitTableCellData data)java.lang.StringgetDisplayString()Get the visual representation for the code unit at or containing the address associated with this cell's rowjava.util.List<java.lang.String>getDisplayStrings()java.lang.StringgetHTMLDisplayString()Get the visual representation as HTML for the code unit at or containing the address associated with this cell's rowbooleanisOffcut()java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
CodeUnitTableCellDatapublic CodeUnitTableCellData(ProgramLocation location, CodeUnitFormat codeUnitFormat, int codeUnitOffset, int codeUnitCount) Constructor- Parameters:
- location- the location of the code unit to display
- codeUnitFormat- the format needed to render the code unit
- codeUnitOffset- relative code-unit offset from the specified address (this is not a byte-offset, it is expressed in terms of number of code-units).
- codeUnitCount- number of code-units to be displayed
 
 
- 
 - 
Method Detail- 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
compareTopublic int compareTo(CodeUnitTableCellData data) - Specified by:
- compareToin interface- java.lang.Comparable<CodeUnitTableCellData>
 
 - 
getDisplayStringpublic java.lang.String getDisplayString() Get the visual representation for the code unit at or containing the address associated with this cell's row- Returns:
- the display string
 
 - 
getHTMLDisplayStringpublic java.lang.String getHTMLDisplayString() Get the visual representation as HTML for the code unit at or containing the address associated with this cell's row- Returns:
- the display string
 
 - 
getDisplayStringspublic java.util.List<java.lang.String> getDisplayStrings() 
 - 
isOffcutpublic boolean isOffcut() 
 
- 
 
-