@Override
	public AddressSetView getAddressSet() {
		// If there are no visible layouts (no open data to display or listing component height = 0)
		if (layouts.isEmpty()) {
			return new AddressSet();
		}
		if (viewedAddresses == null) {
			Address start = getStartAddress();
			Address end = getEndAddress();
			if (start == null || end == null) {
				return new AddressSet();
			}
			viewedAddresses =
				map.getOriginalAddressSet().intersectRange(start, end);
		}
		return viewedAddresses;
	}
Constructor.

@param layouts the set of layouts that are currently visible on the screen
@param map the map containing the addresses by index
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/VerticalPixelAddressMapImpl.java