Class VariableTextLine

java.lang.Object
ghidra.app.util.html.VariableTextLine
All Implemented Interfaces:
ValidatableLine
Direct Known Subclasses:
EmptyVariableTextLine

public class VariableTextLine extends Object implements ValidatableLine
  • Constructor Details

    • VariableTextLine

      public VariableTextLine(String variableType, String variableName, DataType dataType)
  • Method Details

    • copy

      public ValidatableLine copy()
      Specified by:
      copy in interface ValidatableLine
    • getVariableType

      public String getVariableType()
    • getVariableName

      public String getVariableName()
    • getDataType

      public DataType getDataType()
    • hasUniversalId

      public boolean hasUniversalId()
    • isDiffColored

      public boolean isDiffColored()
      Specified by:
      isDiffColored in interface ValidatableLine
    • getVariableTypeColor

      public Color getVariableTypeColor()
    • getVariableNameColor

      public Color getVariableNameColor()
    • isValidated

      public boolean isValidated()
      Description copied from interface: ValidatableLine
      True means that this line has been matched against another line, regardless of whether the two lines are the same or not.
      Specified by:
      isValidated in interface ValidatableLine
      Returns:
      true if this line has been matched against another line
    • getText

      public String getText()
      Specified by:
      getText in interface ValidatableLine
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • matches

      public boolean matches(ValidatableLine otherValidatableLine)
      Specified by:
      matches in interface ValidatableLine
    • updateColor

      public void updateColor(ValidatableLine otherValidatableLine, Color invalidColor)
      Specified by:
      updateColor in interface ValidatableLine
    • setTextColor

      public void setTextColor(Color color)
      Description copied from interface: ValidatableLine
      Set color for all text.
      Specified by:
      setTextColor in interface ValidatableLine
      Parameters:
      color - text color
    • setValidationLine

      public void setValidationLine(ValidatableLine line)
      Description copied from interface: ValidatableLine
      Sets the other line that this line is validated against. The other line may be a full, partial, or no match at all.
      Specified by:
      setValidationLine in interface ValidatableLine
      Parameters:
      line - the line against which this line is validated