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
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
getText()
int
hashCode()
boolean
boolean
True means that this line has been matched against another line, regardless of whether the two lines are the same or not.boolean
matches
(ValidatableLine otherLine) void
setTextColor
(Color color) Set color for all text.void
Sets the other line that this line is validated against.toString()
void
updateColor
(ValidatableLine otherLine, Color invalidColor)
-
Constructor Details
-
TextLine
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceValidatableLine
-
getText
- Specified by:
getText
in interfaceValidatableLine
-
isDiffColored
public boolean isDiffColored()- Specified by:
isDiffColored
in interfaceValidatableLine
-
getTextColor
-
setTextColor
Description copied from interface:ValidatableLine
Set color for all text.- Specified by:
setTextColor
in interfaceValidatableLine
- Parameters:
color
- text color
-
toString
-
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 interfaceValidatableLine
- Returns:
- true if this line has been matched against another line
-
matches
- Specified by:
matches
in interfaceValidatableLine
-
updateColor
- Specified by:
updateColor
in interfaceValidatableLine
-
setValidationLine
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 interfaceValidatableLine
- Parameters:
line
- the line against which this line is validated
-
hashCode
public int hashCode() -
equals
-