Interface LafComponentPlugin

  • All Superinterfaces:
    LafPlugin

    public interface LafComponentPlugin
    extends LafPlugin
    Basic interface for look-and-feel plugins.
    • Field Detail

      • COMPONENT_TAG_PLUGIN_CLASS

        static final String COMPONENT_TAG_PLUGIN_CLASS
        XML tag for look-and-feel plugins that specify component UI delegates.
        See Also:
        Constant Field Values
    • Method Detail

      • initialize

        void initialize()
        Initializes this plugin.
      • uninitialize

        void uninitialize()
        Unitializes this plugin.
      • getDefaults

        Object[] getDefaults​(Object themeInfo)
        Retrieves a collection of custom settings based on the specified theme. The entries in the array should be pairwise, odd being symbolic name of a setting, and even being the setting value.
        Parameters:
        themeInfo - Theme information object. Can be MetalTheme, for instance or any other LAF-specific object.
        Returns:
        Collection of custom settings based on the specified theme. The entries in the array should be pairwise, odd being symbolic name of a setting, and even being the setting value.