@Override
	public int getStringWidth() {
		if (textWidth == -1) {
			textWidth = 0;
			for (FieldElement fieldElement : fieldElements) {
				textWidth += fieldElement.getStringWidth();
			}
		}
		return textWidth;
	}
A FieldElement that is composed of other FieldElements.  The elements are laid out horizontally.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/field/CompositeFieldElement.java