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. AComponentAddon
is the equivalent of aLookAndFeel
but focused on one component.- Author:
- Frederic Lavigne
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
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 Detail
-
getName
java.lang.String getName()
- Returns:
- the name of this addon
-
initialize
void initialize(LookAndFeelAddons addon)
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
void uninitialize(LookAndFeelAddons addon)
Uninitializes this addon.- Parameters:
addon
-
-
-