Package ghidra.app.util.html
Class DataTypeLine
java.lang.Object
ghidra.app.util.html.DataTypeLine
- All Implemented Interfaces:
ValidatableLine
- Direct Known Subclasses:
EmptyDataTypeLine
-
Field Summary
Fields inherited from interface ghidra.app.util.html.ValidatableLine
INVALID_COLOR -
Method Summary
Modifier and TypeMethodDescriptioncopy()getName()getText()getType()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) voidsetCommentColor(Color commentColor) voidsetNameColor(Color nameColor) voidsetTextColor(Color color) Set color for all text.voidsetTypeColor(Color typeColor) voidSets the other line that this line is validated against.toString()voidupdateColor(ValidatableLine otherValidatableLine, Color invalidColor)
-
Method Details
-
copy
- Specified by:
copyin interfaceValidatableLine
-
isDiffColored
public boolean isDiffColored()- Specified by:
isDiffColoredin interfaceValidatableLine
-
getType
-
getName
-
getComment
-
getDataType
-
hasUniversalId
public boolean hasUniversalId() -
getTypeColor
-
setTypeColor
-
getNameColor
-
setNameColor
-
getCommentColor
-
setCommentColor
-
setTextColor
Description copied from interface:ValidatableLineSet color for all text.- Specified by:
setTextColorin interfaceValidatableLine- Parameters:
color- text color
-
updateColor
- Specified by:
updateColorin interfaceValidatableLine
-
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
-
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
-