com.l2fprod.common.swing.plaf
Interface ComponentAddon

All Known Implementing Classes:
AbstractComponentAddon, JButtonBarAddon, JDirectoryChooserAddon, JFontChooserAddon, JLinkButtonAddon, JOutlookBarAddon, JTaskPaneAddon, JTaskPaneGroupAddon, JTipOfTheDayAddon

public interface ComponentAddon

Each new component type of the library will contribute an addon to the LookAndFeelAddons. A ComponentAddon is the equivalent of a LookAndFeelbut focused on one component.


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.
 

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 -