Package ghidra.app.util.html
Class DataTypeLine
- java.lang.Object
- 
- ghidra.app.util.html.DataTypeLine
 
- 
- All Implemented Interfaces:
- ValidatableLine
 - Direct Known Subclasses:
- EmptyDataTypeLine
 
 public class DataTypeLine extends java.lang.Object implements ValidatableLine 
- 
- 
Field Summary- 
Fields inherited from interface ghidra.app.util.html.ValidatableLineINVALID_COLOR
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatableLinecopy()java.lang.StringgetComment()java.awt.ColorgetCommentColor()DataTypegetDataType()java.lang.StringgetName()java.awt.ColorgetNameColor()java.lang.StringgetText()java.lang.StringgetType()java.awt.ColorgetTypeColor()booleanhasUniversalId()booleanisDiffColored()booleanisFlexibleArray()Determine if data type should be treated as flexible arraybooleanisValidated()True 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(java.awt.Color commentColor)voidsetNameColor(java.awt.Color nameColor)voidsetTypeColor(java.awt.Color typeColor)voidsetValidationLine(ValidatableLine line)Sets the other line that this line is validated against.java.lang.StringtoString()voidupdateColor(ValidatableLine otherValidatableLine, java.awt.Color invalidColor)
 
- 
- 
- 
Method Detail- 
isFlexibleArraypublic boolean isFlexibleArray() Determine if data type should be treated as flexible array- Returns:
- true if data type should be treated as flexible array
 
 - 
copypublic ValidatableLine copy() - Specified by:
- copyin interface- ValidatableLine
 
 - 
isDiffColoredpublic boolean isDiffColored() - Specified by:
- isDiffColoredin interface- ValidatableLine
 
 - 
getTypepublic java.lang.String getType() 
 - 
getNamepublic java.lang.String getName() 
 - 
getCommentpublic java.lang.String getComment() 
 - 
getDataTypepublic DataType getDataType() 
 - 
hasUniversalIdpublic boolean hasUniversalId() 
 - 
getTypeColorpublic java.awt.Color getTypeColor() 
 - 
setTypeColorpublic void setTypeColor(java.awt.Color typeColor) 
 - 
getNameColorpublic java.awt.Color getNameColor() 
 - 
setNameColorpublic void setNameColor(java.awt.Color nameColor) 
 - 
getCommentColorpublic java.awt.Color getCommentColor() 
 - 
setCommentColorpublic void setCommentColor(java.awt.Color commentColor) 
 - 
updateColorpublic void updateColor(ValidatableLine otherValidatableLine, java.awt.Color invalidColor) - Specified by:
- updateColorin interface- ValidatableLine
 
 - 
isValidatedpublic 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 interface- ValidatableLine
- Returns:
- true if this line has been matched against another line
 
 - 
getTextpublic java.lang.String getText() - Specified by:
- getTextin interface- ValidatableLine
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
matchespublic boolean matches(ValidatableLine otherValidatableLine) - Specified by:
- matchesin interface- ValidatableLine
 
 - 
setValidationLinepublic void setValidationLine(ValidatableLine line) 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 interface- ValidatableLine
- Parameters:
- line- the line against which this line is validated
 
 
- 
 
-