asNodeOf

This node, typed by component, which it holds. A SwingComponentNodeListener component calls it with this to type the node it is told, so the callbacks it records under that node receive the component without a cast.

Throws

if this node holds another component.