|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
net.sf.freecol.client.gui.plaf.FreeColLookAndFeel
public class FreeColLookAndFeel
Implements the FreeCol look and feel.
| Field Summary | |
|---|---|
private static java.util.logging.Logger |
logger
|
| Constructor Summary | |
|---|---|
FreeColLookAndFeel(java.io.File dataDirectory,
java.awt.Dimension windowSize)
Initiates a new FreeCol look and feel. |
|
| Method Summary | |
|---|---|
javax.swing.UIDefaults |
getDefaults()
Creates the look and feel specific defaults table. |
java.lang.String |
getDescription()
Gets a one line description of this Look and Feel. |
java.lang.String |
getName()
Gets the name of this Look and Feel. |
static void |
install(FreeColLookAndFeel fclaf,
java.awt.Font defaultFont)
Installs a FreeColLookAndFeel as the default look and feel. |
| Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel |
|---|
createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getID, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initClassDefaults, initComponentDefaults, initSystemColorDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentTheme |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitialize |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.util.logging.Logger logger
| Constructor Detail |
|---|
public FreeColLookAndFeel(java.io.File dataDirectory,
java.awt.Dimension windowSize)
throws FreeColException
dataDirectory - The home of the FreeCol data files.windowSize - The size of the application window.
FreeColException - If the ui directory could not be found.| Method Detail |
|---|
public javax.swing.UIDefaults getDefaults()
getDefaults in class javax.swing.plaf.metal.MetalLookAndFeel
public static void install(FreeColLookAndFeel fclaf,
java.awt.Font defaultFont)
throws FreeColException
fclaf - The FreeColLookAndFeel to install.defaultFont - A Font to use by default.
FreeColException - if the installation fails.public java.lang.String getDescription()
getDescription in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getName()
getName in class javax.swing.plaf.metal.MetalLookAndFeel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||