Package org.jvnet.lafplugin
Interface LafComponentPlugin
- All Superinterfaces:
LafPlugin
Basic interface for look-and-feel plugins.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML tag for look-and-feel plugins that specify component UI delegates. -
Method Summary
Modifier and TypeMethodDescriptionObject[]getDefaults(Object themeInfo) Retrieves a collection of custom settings based on the specified theme.voidInitializesthisplugin.voidUnitializesthisplugin.
-
Field Details
-
COMPONENT_TAG_PLUGIN_CLASS
XML tag for look-and-feel plugins that specify component UI delegates.- See Also:
-
-
Method Details
-
initialize
void initialize()Initializesthisplugin. -
uninitialize
void uninitialize()Unitializesthisplugin. -
getDefaults
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 beMetalTheme, 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.
-