Package com.formdev.flatlaf.themes
Class FlatMacLightLaf
- java.lang.Object
-
- javax.swing.LookAndFeel
-
- javax.swing.plaf.basic.BasicLookAndFeel
-
- com.formdev.flatlaf.FlatLaf
-
- com.formdev.flatlaf.FlatLightLaf
-
- com.formdev.flatlaf.themes.FlatMacLightLaf
-
- All Implemented Interfaces:
java.io.Serializable
public class FlatMacLightLaf extends FlatLightLaf
A Flat LaF that imitates macOS light look.The UI defaults are loaded from
FlatMacLightLaf.properties
,FlatLightLaf.properties
andFlatLaf.properties
.- Since:
- 3
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.formdev.flatlaf.FlatLaf
FlatLaf.DisabledIconProvider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Fields inherited from class com.formdev.flatlaf.FlatLaf
NULL_VALUE
-
-
Constructor Summary
Constructors Constructor Description FlatMacLightLaf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getName()
static void
installLafInfo()
Adds this look and feel to the set of available look and feels.boolean
isDark()
static boolean
setup()
Sets the application look and feel to this LaF usingUIManager.setLookAndFeel(javax.swing.LookAndFeel)
.-
Methods inherited from class com.formdev.flatlaf.FlatLightLaf
install
-
Methods inherited from class com.formdev.flatlaf.FlatLaf
createActiveFontValue, equals, getAdditionalDefaults, getDefaults, getDisabledIcon, getExtraDefaults, getGlobalExtraDefaults, getID, getLafClassesForDefaultsLoading, getPreferredFontFamily, getPreferredLightFontFamily, getPreferredMonospacedFontFamily, getPreferredSemiboldFontFamily, getStyleableInfos, getStyleableValue, getSupportsWindowDecorations, getSystemColorGetter, hashCode, hideMnemonics, initialize, initIconColors, install, installLafInfo, isLafDark, isNativeLookAndFeel, isShowMnemonics, isSupportedLookAndFeel, isUseNativeWindowDecorations, parseDefaultsValue, registerCustomDefaultsSource, registerCustomDefaultsSource, registerCustomDefaultsSource, registerCustomDefaultsSource, registerUIDefaultsGetter, repaintAllFramesAndDialogs, revalidateAndRepaintAllFramesAndDialogs, runWithUIDefaultsGetter, setExtraDefaults, setGlobalExtraDefaults, setPreferredFontFamily, setPreferredLightFontFamily, setPreferredMonospacedFontFamily, setPreferredSemiboldFontFamily, setSystemColorGetter, setup, setUseNativeWindowDecorations, showMnemonics, supportsNativeWindowDecorations, uninitialize, unregisterCustomDefaultsSource, unregisterCustomDefaultsSource, unregisterCustomDefaultsSource, unregisterCustomDefaultsSource, unregisterUIDefaultsGetter, updateUI, updateUILater
-
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initClassDefaults, initComponentDefaults, initSystemColorDefaults, loadSystemColors, playSound
-
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getDisabledSelectedIcon, getLayoutStyle, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setup
public static boolean setup()
Sets the application look and feel to this LaF usingUIManager.setLookAndFeel(javax.swing.LookAndFeel)
.
-
installLafInfo
public static void installLafInfo()
Adds this look and feel to the set of available look and feels.Useful if your application uses
UIManager.getInstalledLookAndFeels()
to query available LaFs and display them to the user in a combobox.
-
getName
public java.lang.String getName()
- Overrides:
getName
in classFlatLightLaf
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in classFlatLightLaf
-
isDark
public boolean isDark()
- Overrides:
isDark
in classFlatLightLaf
-
-