Package com.formdev.flatlaf
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
public class FlatLightLaf extends FlatLaf
A Flat LaF that has a light color scheme.The UI defaults are loaded from
FlatLightLaf.properties
andFlatLaf.properties
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.formdev.flatlaf.FlatLaf
FlatLaf.DisabledIconProvider
-
-
Constructor Summary
Constructors Constructor Description FlatLightLaf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDescription()
String
getName()
static boolean
install()
Deprecated.usesetup()
instead; this method will be removed in a future versionstatic 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.FlatLaf
createActiveFontValue, equals, getAdditionalDefaults, getDefaults, getDisabledIcon, getID, getLafClassesForDefaultsLoading, getSupportsWindowDecorations, hashCode, hideMnemonics, initialize, initIconColors, install, installLafInfo, isLafDark, isNativeLookAndFeel, isShowMnemonics, isSupportedLookAndFeel, isUseNativeWindowDecorations, registerCustomDefaultsSource, registerCustomDefaultsSource, registerCustomDefaultsSource, repaintAllFramesAndDialogs, revalidateAndRepaintAllFramesAndDialogs, setup, setUseNativeWindowDecorations, showMnemonics, supportsNativeWindowDecorations, uninitialize, unregisterCustomDefaultsSource, unregisterCustomDefaultsSource, unregisterCustomDefaultsSource, 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 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)
.
-
install
@Deprecated public static boolean 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
public String getName()
- Specified by:
getName
in classLookAndFeel
-
getDescription
public String getDescription()
- Specified by:
getDescription
in classLookAndFeel
-
-