private class LookAndFeelFrame.Themes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
LookAndFeelFrame.Themes.Aqua
This class defines the
Aqua theme. |
private class |
LookAndFeelFrame.Themes.Default
This class defines the
Default theme. |
private class |
LookAndFeelFrame.Themes.HighContrast
This class defines the
HighContrast theme. |
private class |
LookAndFeelFrame.Themes.LargeFont
This class defines the
LargeFont theme. |
private class |
LookAndFeelFrame.Themes.Ocean
This class defines the
Ocean theme. |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
AQUA_NAME |
private java.lang.String |
DEFAULT_NAME
Available theme names.
|
private java.lang.String |
HIGH_CONTRAST |
private java.lang.String |
LARGE_FONT_NAME |
private java.lang.String |
OCEAN_NAME |
private java.lang.String[] |
themeList |
Modifier | Constructor and Description |
---|---|
private |
LookAndFeelFrame.Themes() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getListOfThemes()
Gets the list of available themes.
|
javax.swing.plaf.metal.MetalTheme |
getTheme(java.lang.String themeName)
Returns a theme object.
|
private final java.lang.String DEFAULT_NAME
private final java.lang.String OCEAN_NAME
private final java.lang.String AQUA_NAME
private final java.lang.String LARGE_FONT_NAME
private final java.lang.String HIGH_CONTRAST
private final java.lang.String[] themeList
public java.lang.String[] getListOfThemes()
public javax.swing.plaf.metal.MetalTheme getTheme(java.lang.String themeName)
themeName
- the theme name.java.lang.IllegalArgumentException
- if thameName
is not
available or it is null.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)