org.xnap.gui.theme
Interface Theme

All Known Implementing Classes:
AbstractTheme, DefaultIconTheme, DefaultTheme, EclipsePlugin.EclipseTheme, LiquidPlugin.LiquidTheme, MetalThemeWrapper, TechnicalPlugin.TechnicalTheme

public interface Theme

Defines the requirements for XNap GUI themes.


Method Summary
 java.lang.String getClassName()
          Returns a unique identifier.
 java.lang.String getName()
          Returns the name of this theme.
 void install()
          Installs the theme.
 boolean isConfigurable()
          Returns true, if this theme provides additional configuration options.
 boolean isIconTheme()
          Returns true, if this theme provides a custom set of icons.
 boolean showConfigurationDialog(java.awt.Component parent)
          Show a configuration dialog.
 

Method Detail

install

void install()
Installs the theme. Invoked by ThemeManager.


getClassName

java.lang.String getClassName()
Returns a unique identifier.


getName

java.lang.String getName()
Returns the name of this theme.


isConfigurable

boolean isConfigurable()
Returns true, if this theme provides additional configuration options.

See Also:
showConfigurationDialog(Component)

isIconTheme

boolean isIconTheme()
Returns true, if this theme provides a custom set of icons.


showConfigurationDialog

boolean showConfigurationDialog(java.awt.Component parent)
Show a configuration dialog.

Returns:
true, if theme should be reloaded; false, otherwise
See Also:
isConfigurable()


Copyright © 2001-2005 XNap Team. All Rights Reserved.