org.xnap.gui.theme
Class MetalThemeWrapper

java.lang.Object
  extended by org.xnap.gui.theme.MetalThemeWrapper
All Implemented Interfaces:
Theme

public class MetalThemeWrapper
extends java.lang.Object
implements Theme

This class provides a theme that wraps an existing MetalTheme.


Constructor Summary
MetalThemeWrapper(javax.swing.plaf.metal.MetalTheme theme)
           
 
Method Summary
 java.lang.String getClassName()
          Returns the class name of the theme.
 java.lang.String getName()
          Returns the name theme.
 javax.swing.plaf.metal.MetalTheme getTheme()
           
 void install()
          Installs the theme.
 boolean isConfigurable()
          Returns false.
 boolean isIconTheme()
          Returns false.
 boolean showConfigurationDialog(java.awt.Component parent)
          Does nothing.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetalThemeWrapper

public MetalThemeWrapper(javax.swing.plaf.metal.MetalTheme theme)
Method Detail

install

public void install()
Description copied from interface: Theme
Installs the theme. Invoked by ThemeManager.

Specified by:
install in interface Theme

getClassName

public java.lang.String getClassName()
Returns the class name of the theme.

Specified by:
getClassName in interface Theme

getName

public java.lang.String getName()
Returns the name theme.

Specified by:
getName in interface Theme

getTheme

public javax.swing.plaf.metal.MetalTheme getTheme()

isConfigurable

public boolean isConfigurable()
Returns false.

Specified by:
isConfigurable in interface Theme
See Also:
Theme.showConfigurationDialog(Component)

isIconTheme

public boolean isIconTheme()
Returns false.

Specified by:
isIconTheme in interface Theme

showConfigurationDialog

public boolean showConfigurationDialog(java.awt.Component parent)
Does nothing.

Specified by:
showConfigurationDialog in interface Theme
Returns:
true, if theme should be reloaded; false, otherwise
See Also:
Theme.isConfigurable()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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