Package org.jdesktop.swingx.plaf
Interface ComponentAddon
- All Known Implementing Classes:
AbstractComponentAddon
,BusyLabelAddon
,ColumnControlButtonAddon
,DatePickerAddon
,ErrorPaneAddon
,HeaderAddon
,HyperlinkAddon
,LoginPaneAddon
,MonthViewAddon
,MultiThumbSliderAddon
,SearchFieldAddon
,StatusBarAddon
,TableAddon
,TableHeaderAddon
,TaskPaneAddon
,TaskPaneContainerAddon
,TipOfTheDayAddon
,TitledPanelAddon
,UIColorHighlighterAddon
,XListAddon
public interface ComponentAddon
Each new component type of the library will contribute an addon to
the LookAndFeelAddons. A
ComponentAddon
is the
equivalent of a LookAndFeel
but focused on one
component. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
initialize
(LookAndFeelAddons addon) Initializes this addon (i.e register UI classes, colors, fonts, borders, any UIResource used by the component class).void
uninitialize
(LookAndFeelAddons addon) Uninitializes this addon.
-
Method Details
-
getName
String getName()- Returns:
- the name of this addon
-
initialize
Initializes this addon (i.e register UI classes, colors, fonts, borders, any UIResource used by the component class). When initializing, the addon can register different resources based on the addon or the current look and feel.- Parameters:
addon
- the current addon
-
uninitialize
Uninitializes this addon.- Parameters:
addon
-
-