com.l2fprod.common.swing.plaf
Interface ComponentAddon

All Known Implementing Classes:
AbstractComponentAddon

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

public java.lang.String getName()
Returns:
the name of this addon

initialize

public 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

public void uninitialize(LookAndFeelAddons addon)
Uninitializes this addon.

Parameters:
addon -


Copyright (c) 2005-2006 L2FProd.com. All Rights Reserved.