org.xnap.gui.theme
Class DefaultTheme
java.lang.Object
org.xnap.gui.theme.AbstractTheme
org.xnap.gui.theme.DefaultTheme
- All Implemented Interfaces:
- Theme
public class DefaultTheme
- extends AbstractTheme
This class provides a theme that makes use of a custom font. A font chooser
is provided as the configuration dialog.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultTheme
public DefaultTheme(java.lang.String name)
DefaultTheme
public DefaultTheme()
isConfigurable
public boolean isConfigurable()
- Description copied from class:
AbstractTheme
- Returns false.
- Specified by:
isConfigurable
in interface Theme
- Overrides:
isConfigurable
in class AbstractTheme
- See Also:
Theme.showConfigurationDialog(Component)
getFont
public java.awt.Font getFont()
getProperties
public java.lang.Object[] getProperties()
install
public void install()
- Installs the theme. Sets the UIManager defaults.
- See Also:
getProperties()
setFont
public void setFont(java.awt.Font newValue)
showConfigurationDialog
public boolean showConfigurationDialog(java.awt.Component parent)
- Description copied from class:
AbstractTheme
- Show a configuration dialog.
- Specified by:
showConfigurationDialog
in interface Theme
- Overrides:
showConfigurationDialog
in class AbstractTheme
- Returns:
- true, if theme should be reloaded; false, otherwise
- See Also:
AbstractTheme.isConfigurable()
Copyright © 2001-2005 XNap Team. All Rights Reserved.