public interface ComponentConverter
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.
Modifier and Type | Interface and Description |
---|---|
static class |
ComponentConverter.Fixed
A ComponentConverter implementation which always returns the same
component
|
Modifier and Type | Field and Description |
---|---|
static ComponentConverter |
DEFAULT
A default implementation which simply delegates to
TabData.getComponent()
|
Modifier and Type | Method and Description |
---|---|
Component |
getComponent(TabData data) |
static final ComponentConverter DEFAULT