Package ghidra.app.util.html
Class VariableTextLine
java.lang.Object
ghidra.app.util.html.VariableTextLine
- All Implemented Interfaces:
ValidatableLine
- Direct Known Subclasses:
EmptyVariableTextLine
-
Field Summary
Fields inherited from interface ghidra.app.util.html.ValidatableLine
INVALID_COLOR -
Constructor Summary
ConstructorsConstructorDescriptionVariableTextLine(String variableType, String variableName, DataType dataType) -
Method Summary
Modifier and TypeMethodDescriptioncopy()getText()booleanbooleanbooleanTrue means that this line has been matched against another line, regardless of whether the two lines are the same or not.booleanmatches(ValidatableLine otherValidatableLine) voidsetTextColor(Color color) Set color for all text.voidSets the other line that this line is validated against.toString()voidupdateColor(ValidatableLine otherValidatableLine, Color invalidColor)
-
Constructor Details
-
VariableTextLine
-
-
Method Details
-
copy
- Specified by:
copyin interfaceValidatableLine
-
getVariableType
-
getVariableName
-
getDataType
-
hasUniversalId
public boolean hasUniversalId() -
isDiffColored
public boolean isDiffColored()- Specified by:
isDiffColoredin interfaceValidatableLine
-
getVariableTypeColor
-
getVariableNameColor
-
isValidated
public boolean isValidated()Description copied from interface:ValidatableLineTrue means that this line has been matched against another line, regardless of whether the two lines are the same or not.- Specified by:
isValidatedin interfaceValidatableLine- Returns:
- true if this line has been matched against another line
-
getText
- Specified by:
getTextin interfaceValidatableLine
-
toString
-
matches
- Specified by:
matchesin interfaceValidatableLine
-
updateColor
- Specified by:
updateColorin interfaceValidatableLine
-
setTextColor
Description copied from interface:ValidatableLineSet color for all text.- Specified by:
setTextColorin interfaceValidatableLine- Parameters:
color- text color
-
setValidationLine
Description copied from interface:ValidatableLineSets the other line that this line is validated against. The other line may be a full, partial, or no match at all.- Specified by:
setValidationLinein interfaceValidatableLine- Parameters:
line- the line against which this line is validated
-