That was a viewscreen. It used visual sensors to show any image they wanted. Like all other Fed ships since then.I think many folks believe that the white rectangle on the front of the bridge module was a window of some kind.
At least as best as could be shown in 1966.