org.jdesktop.swingx.plaf
Class AbstractComponentAddon
- java.lang.Object
-
- org.jdesktop.swingx.plaf.AbstractComponentAddon
-
- All Implemented Interfaces:
- ComponentAddon
- Direct Known Subclasses:
- BusyLabelAddon, ColumnControlButtonAddon, DatePickerAddon, ErrorPaneAddon, HeaderAddon, HyperlinkAddon, LoginPaneAddon, MonthViewAddon, MultiThumbSliderAddon, SearchFieldAddon, StatusBarAddon, TableAddon, TableHeaderAddon, TaskPaneAddon, TaskPaneContainerAddon, TipOfTheDayAddon, TitledPanelAddon, UIColorHighlighterAddon, XListAddon
public abstract class AbstractComponentAddon extends java.lang.Object implements ComponentAddon
Ease the work of creating an addon for a component.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetName()voidinitialize(LookAndFeelAddons addon)Initializes this addon (i.e register UI classes, colors, fonts, borders, any UIResource used by the component class).voiduninitialize(LookAndFeelAddons addon)Uninitializes this addon.
-
-
-
Method Detail
-
getName
public final java.lang.String getName()
- Specified by:
getNamein interfaceComponentAddon- Returns:
- the name of this addon
-
initialize
public void initialize(LookAndFeelAddons addon)
Description copied from interface:ComponentAddonInitializes 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.- Specified by:
initializein interfaceComponentAddon- Parameters:
addon- the current addon
-
uninitialize
public void uninitialize(LookAndFeelAddons addon)
Description copied from interface:ComponentAddonUninitializes this addon.- Specified by:
uninitializein interfaceComponentAddon
-
-
DataMelt 3.0 © DataMelt by jWork.ORG