|
||||||||||
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".
Constructor Summary | |
---|---|
FreeColLookAndFeel(java.awt.Dimension windowSize)
Initiates a new "FreeCol Look and Feel". |
|
FreeColLookAndFeel(java.lang.String dataFolder,
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. |
Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel |
---|
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, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentTheme |
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
---|
initialize, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FreeColLookAndFeel(java.awt.Dimension windowSize) throws FreeColException
windowSize
- The size of the application window.
FreeColException
- If the ui directory could not be found.public FreeColLookAndFeel(java.lang.String dataFolder, java.awt.Dimension windowSize) throws FreeColException
dataFolder
- 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 java.lang.String getDescription()
getDescription
in class javax.swing.plaf.metal.MetalLookAndFeel
public 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 |