|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.gui.theme.AbstractTheme
public abstract class AbstractTheme
This class provides a default implementation for a theme. A theme can customize the fonts and colors of an application.
| Constructor Summary | |
|---|---|
AbstractTheme(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
createProperties(javax.swing.plaf.FontUIResource font)
Creates and returns font properties. |
java.lang.String |
getClassName()
Returns the class name of this theme. |
java.lang.String |
getName()
Returns the name of this theme. |
boolean |
isConfigurable()
Returns false. |
boolean |
isIconTheme()
Returns false. |
boolean |
showConfigurationDialog(java.awt.Component parent)
Show a configuration dialog. |
java.lang.String |
toString()
Returns the name of this theme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xnap.gui.theme.Theme |
|---|
install |
| Constructor Detail |
|---|
public AbstractTheme(java.lang.String name)
| Method Detail |
|---|
public boolean isConfigurable()
isConfigurable in interface ThemeTheme.showConfigurationDialog(Component)public boolean isIconTheme()
isIconTheme in interface Themepublic java.lang.String getClassName()
getClassName in interface Themepublic boolean showConfigurationDialog(java.awt.Component parent)
showConfigurationDialog in interface ThemeisConfigurable()public java.lang.String getName()
getName in interface Themepublic static java.lang.Object[] createProperties(javax.swing.plaf.FontUIResource font)
font.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||