@Override
	public String toString() {
		StringBuffer buffy = new StringBuffer();
		int n = getNumFields();
		for (int i = 0; i < n; i++) {
			Field layoutField = getField(i);
			if (buffy.length() > 0) {
				buffy.append(", ");
			}
			buffy.append(layoutField.getText());
		}
		return buffy.toString();
	}
Construct a SingleRowLayout from a list of fields.
@param fields an array of fields to put in this layout
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/SingleRowLayout.java