Class FlatPropertiesLaf
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
com.formdev.flatlaf.FlatLaf
com.formdev.flatlaf.FlatPropertiesLaf
- All Implemented Interfaces:
Serializable
A Flat LaF that is able to load UI defaults from properties passed to the constructor.
Specify the base theme in the properties with @baseTheme=<baseTheme>.
Allowed values for <baseTheme> are light (the default), dark,
intellij, darcula, maclight or macdark.
The properties are applied after loading the base theme and may overwrite base properties. All features of FlatLaf properties files are available.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class FlatLaf
FlatLaf.DisabledIconProvider -
Field Summary
Fields inherited from class FlatLaf
NULL_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionFlatPropertiesLaf(String name, File propertiesFile) FlatPropertiesLaf(String name, InputStream in) FlatPropertiesLaf(String name, Properties properties) -
Method Summary
Methods inherited from class FlatLaf
createActiveFontValue, disableWindowsD3Donscreen, equals, getDefaults, getDisabledIcon, getExtraDefaults, getGlobalExtraDefaults, getID, 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
-
Constructor Details
-
FlatPropertiesLaf
- Throws:
IOException
-
FlatPropertiesLaf
- Throws:
IOException
-
FlatPropertiesLaf
-
-
Method Details
-
getName
- Specified by:
getNamein classLookAndFeel
-
getDescription
- Specified by:
getDescriptionin classLookAndFeel
-
isDark
-
getProperties
-
getLafClassesForDefaultsLoading
- Overrides:
getLafClassesForDefaultsLoadingin classFlatLaf
-
getAdditionalDefaults
- Overrides:
getAdditionalDefaultsin classFlatLaf
-