Package ghidra.app.util.html
Class TextLine
java.lang.Object
ghidra.app.util.html.TextLine
- All Implemented Interfaces:
ValidatableLine
- Direct Known Subclasses:
EmptyTextLine
-
Field Summary
Fields inherited from interface ghidra.app.util.html.ValidatableLine
INVALID_COLOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetText()inthashCode()booleanbooleanTrue means that this line has been matched against another line, regardless of whether the two lines are the same or not.booleanmatches(ValidatableLine otherLine) voidsetTextColor(Color color) Set color for all text.voidSets the other line that this line is validated against.toString()voidupdateColor(ValidatableLine otherLine, Color invalidColor)
-
Constructor Details
-
TextLine
-
-
Method Details
-
copy
- Specified by:
copyin interfaceValidatableLine
-
getText
- Specified by:
getTextin interfaceValidatableLine
-
isDiffColored
public boolean isDiffColored()- Specified by:
isDiffColoredin interfaceValidatableLine
-
getTextColor
-
setTextColor
Description copied from interface:ValidatableLineSet color for all text.- Specified by:
setTextColorin interfaceValidatableLine- Parameters:
color- text color
-
toString
-
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
-
matches
- Specified by:
matchesin interfaceValidatableLine
-
updateColor
- Specified by:
updateColorin interfaceValidatableLine
-
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
-
hashCode
public int hashCode() -
equals
-