Class FlatLightLaf
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
com.formdev.flatlaf.FlatLaf
com.formdev.flatlaf.FlatLightLaf
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FlatIntelliJLaf, FlatMacLightLaf
A Flat LaF that has a light color scheme.
The UI defaults are loaded from FlatLightLaf.properties and FlatLaf.properties.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class FlatLaf
FlatLaf.ActiveFont, FlatLaf.DisabledIconProvider -
Field Summary
FieldsFields inherited from class FlatLaf
NULL_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static booleaninstall()Deprecated.static voidAdds this look and feel to the set of available look and feels.booleanisDark()static booleansetup()Sets the application look and feel to this LaF usingUIManager.setLookAndFeel(javax.swing.LookAndFeel).Methods inherited from class FlatLaf
applyAdditionalProperties, createActiveFontValue, createCompositeFont, disableWindowsD3Donscreen, equals, getAdditionalDefaults, getCustomDefaultsSources, getDefaults, getDisabledIcon, getExtraDefaults, getGlobalExtraDefaults, getID, getLafClassesForDefaultsLoading, getPreferredFontFamily, getPreferredLightFontFamily, getPreferredMonospacedFontFamily, getPreferredSemiboldFontFamily, getStyleableInfos, getStyleableValue, getSupportsWindowDecorations, getSystemColorGetter, getUIKeyLightOrDarkPrefix, getUIKeyPlatformPrefixes, getUIKeySpecialPrefixes, 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, updateUILaterMethods inherited from class BasicLookAndFeel
createAudioAction, getAudioActionMap, initClassDefaults, initComponentDefaults, initSystemColorDefaults, loadSystemColors, playSoundMethods inherited from class LookAndFeel
getDesktopPropertyValue, getDisabledSelectedIcon, getLayoutStyle, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninstallBorder
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
FlatLightLaf
public FlatLightLaf()
-
-
Method Details
-
setup
public static boolean setup()Sets the application look and feel to this LaF usingUIManager.setLookAndFeel(javax.swing.LookAndFeel).- Since:
- 1.2
-
install
Deprecated.usesetup()instead; this method will be removed in a future version -
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
- Specified by:
getNamein classLookAndFeel
-
getDescription
- Specified by:
getDescriptionin classLookAndFeel
-
isDark
-
setup()instead; this method will be removed in a future version