Class MultipleLabelsRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
docking.widgets.label.AbstractHtmlLabel
docking.widgets.label.GDHtmlLabel
docking.widgets.AbstractGCellRenderer
docking.widgets.table.GTableCellRenderer
ghidra.util.table.GhidraTableCellRenderer
ghidra.util.table.column.AbstractGhidraColumnRenderer<ghidra.program.model.symbol.Symbol[]>
ghidra.feature.vt.gui.provider.matchtable.MultipleLabelsRenderer
All Implemented Interfaces:
docking.widgets.GComponent, ghidra.util.table.column.GColumnRenderer<ghidra.program.model.symbol.Symbol[]>, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, SwingConstants, TableCellRenderer

public class MultipleLabelsRenderer extends ghidra.util.table.column.AbstractGhidraColumnRenderer<ghidra.program.model.symbol.Symbol[]>
This class provides a field renderer for version tracking tables. It is used for indicating if the source or destination address for a match has multiple labels. An icon gives a visual clue that there is more than one label, since the source and destination label fields only indicate the primary label name for the match. The field also indicates the number of labels at the match address. If there is one label or none then this field remains blank.
See Also:
  • Constructor Details

    • MultipleLabelsRenderer

      public MultipleLabelsRenderer(MultipleLabelsRenderer.MultipleLabelsRendererType type)
      Constructs the field renderer for indicating when there are multiple labels.
      Parameters:
      type - indicates whether this is a source or destination renderer
  • Method Details

    • getTableCellRendererComponent

      public Component getTableCellRendererComponent(docking.widgets.table.GTableCellRenderingData data)
      Overrides:
      getTableCellRendererComponent in class docking.widgets.table.GTableCellRenderer
    • getFilterString

      public String getFilterString(ghidra.program.model.symbol.Symbol[] t, ghidra.docking.settings.Settings settings)