@Override
	protected TextField createFieldForLine(FieldElement element) {
		CompositeFieldElement composite = (CompositeFieldElement) element;
		int numDataRows = composite.getNumElements();
		return new ClippingTextField(startX, width, element, numDataRows, hlFactory);
	}
This constructor will create a text field that will render one line of text. If
<code>metrics.stringWidth(text) &gt; width</code>, then the text will be wrapped.
If <code>text</code> contains the highlight string, then it will be highlighted using the
highlight color.

@param elements the AttributedStrings to display
@param startX the x position to draw the string
@param width the max width allocated to this field
@param maxLines the max number of lines to display
@param hlFactory the highlight factory
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/FlowLayoutTextField.java