Package org.jvnet.lafplugin
Interface LafComponentPlugin
- All Superinterfaces:
LafPlugin
Basic interface for look-and-feel plugins.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
XML 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.void
Initializesthis
plugin.void
Unitializesthis
plugin.
-
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()Initializesthis
plugin. -
uninitialize
void uninitialize()Unitializesthis
plugin. -
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.
-