I don't understand. What component? We're talking about software here.
Just because an interface object behaves in a way reminiscent of a physical object does not mean it is that object. It has an entirely different mechanism. What you're saying is that one kind of mechanism should be patentable while another should not, but it's not clear why there is a distinction.