org.jdesktop.swingx.plaf
Class AbstractComponentAddon

java.lang.Object
  extended by org.jdesktop.swingx.plaf.AbstractComponentAddon
All Implemented Interfaces:
ComponentAddon
Direct Known Subclasses:
BusyLabelAddon, ColumnControlButtonAddon, ColumnHeaderRendererAddon, DatePickerAddon, ErrorPaneAddon, HeaderAddon, HyperlinkAddon, LoginPaneAddon, MonthViewAddon, MultiThumbSliderAddon, StatusBarAddon, TaskPaneAddon, TaskPaneContainerAddon, TipOfTheDayAddon, TitledPanelAddon, UIColorHighlighterAddon

public abstract class AbstractComponentAddon
extends java.lang.Object
implements ComponentAddon

Ease the work of creating an addon for a component.

Author:
Frederic Lavigne, Karl Schaefer

Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public final java.lang.String getName()
Specified by:
getName in interface ComponentAddon
Returns:
the name of this addon

initialize

public void initialize(LookAndFeelAddons addon)
Description copied from interface: ComponentAddon
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.

Specified by:
initialize in interface ComponentAddon
Parameters:
addon - the current addon

uninitialize

public void uninitialize(LookAndFeelAddons addon)
Description copied from interface: ComponentAddon
Uninitializes this addon.

Specified by:
uninitialize in interface ComponentAddon