I was wondering if there is a general construct to create your own object/function that shows some details, and to one can apply values to (like for ColorData apply a value between 0 and 1 to get a color). Mainly because all of them look very similar, so I guess there is a function that can do this…
I am trying to dig through this myself, but I do not quite understand this. It might be related to the Low-Level Notebook Structure described also a bit in the tutorial Representing Textual Forms by Boxes. If you look with CMD+SHIFT+E on those structures you can see things like InterpretationBox and TemplateBox.