Class ComparisonItemRenderer

java.lang.Object
ghidra.app.merge.structures.ComparisonItemRenderer
All Implemented Interfaces:
EventListener, ListDataListener, ListCellRenderer<ComparisonItem>

public class ComparisonItemRenderer extends Object implements ListCellRenderer<ComparisonItem>, ListDataListener
ListCellRenderer for rendering structure lines in CoordinatedStructureDisplay. It consists of a label for each possible column. The labels are arranged by a ComparisonItemLayout which is fed column widths for each type of line item. The columns widths for each type are computed when the renderer is constructed by examining all the lines in the model and computing the min/max column widths for that type.