Package ghidra.app.decompiler.component
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 docking.widgets.fieldpanel.field.VerticalLayoutTextField
hlFactory, isClipped, preferredWidth, startX, subFields, width -
Constructor Summary
ConstructorsChangeConstructorDescriptionClangTextField(List<ClangToken> tokenList, FieldElement[] fieldElements, int x, int lineNumber, int width, HighlightFactory hlFactory) -
Method Summary
ChangeModifier and TypeMethodDescriptionintgetToken(FieldLocation loc) Gets the C language token at the indicated location.REMOVEDvoidpaint(JComponent c, Graphics g, PaintContext context, Rectangle clip, FieldBackgroundColorManager selectionMap, RowColLocation cursorLoc, int rowHeight) RemovedREMOVEDintRemovedMethods inherited from class docking.widgets.fieldpanel.field.WrappingVerticalLayoutTextField
dataToScreenLocationMethods inherited from class docking.widgets.fieldpanel.field.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, HighlightFactory 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()
-