Class ClangTextField
java.lang.Object
docking.widgets.fieldpanel.field.VerticalLayoutTextField
docking.widgets.fieldpanel.field.WrappingVerticalLayoutTextField
ghidra.app.decompiler.component.ClangTextField
-
Field Summary
Fields inherited from class VerticalLayoutTextField
hlFactory, isClipped, preferredWidth, startX, subFields, width -
Constructor Summary
ConstructorsConstructorDescriptionClangTextField(List<ClangToken> tokenList, FieldElement[] fieldElements, int x, int lineNumber, int width, FieldHighlightFactory hlFactory) -
Method Summary
Modifier and TypeMethodDescriptionintgetToken(FieldLocation loc) Gets the C language token at the indicated location.Methods inherited from class WrappingVerticalLayoutTextField
dataToScreenLocationMethods inherited from class VerticalLayoutTextField
calculateHeight, contains, createFieldForLine, getCol, getCursorBounds, getFieldElement, getHeight, getHeightAbove, getHeightBelow, getLines, getNumCols, getNumDataRows, getNumRows, getPreferredWidth, getRow, getScrollableUnitIncrement, getStartX, getText, getTextWithLineSeparators, getWidth, getX, getY, isClipped, isPrimary, isValid, layoutElements, paint, rowHeightChanged, screenLocationToTextOffset, screenToDataLocation, setPrimary, textOffsetToScreenLocation, toString
-
Constructor Details
-
ClangTextField
public ClangTextField(List<ClangToken> tokenList, FieldElement[] fieldElements, int x, int lineNumber, int width, FieldHighlightFactory hlFactory)
-
-
Method Details
-
getToken
Gets the C language token at the indicated location.- Parameters:
loc- the field location- Returns:
- the token
-
getLineNumber
public int getLineNumber() -
getFirstToken
-
getLastToken
-