| A class which can provide a component corresponding to a TabData object.
While TabData.getComponent can provide a Component via its getComponent()
method, there are use cases where the tabbed container should contain a
single component, and the data model should be used to control it (the
tabbed form of NetBeans' property sheet is one example).
A ComponentConvertor can be plugged into an instance of TabbedContainer
to enable it to display, for example, the same component for all tabs, which a listener
on its selection model will reconfigure for the selected tab; or it can
be used for lazy initialization, to construct components on demand.
author: Tim Boudreau |