public void setLayouts(List<AnchoredLayout> layouts) {
		totalFieldCount = 0;
		cursorField = null;
		accessibleLayouts = new ArrayList<>(layouts.size());
		for (AnchoredLayout layout : layouts) {
			AccessibleLayout accessibleLayout = new AccessibleLayout(layout, totalFieldCount);
			accessibleLayouts.add(accessibleLayout);
			totalFieldCount += layout.getNumFields();
		}
		fieldsCache = new AccessibleField[totalFieldCount];
		context.firePropertyChange(ACCESSIBLE_INVALIDATE_CHILDREN, null, panel);
		if (cursorLoc != null) {
			setCaret(cursorLoc, EventTrigger.GUI_ACTION);
		}
	}
Whenever the set of visible layouts changes, the field panel rebuilds its info for the
new visible fields and notifies the accessibility system that its children changed.
@param layouts the new set of visible layouts.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java