Package com.formdev.flatlaf.extras
Class FlatUIDefaultsInspector
java.lang.Object
com.formdev.flatlaf.extras.FlatUIDefaultsInspector
A simple UI defaults inspector that shows a window with all UI defaults used
in current look and feel.
To use it in an application install it with:
FlatUIDefaultsInspector.install( "ctrl shift alt Y" );This can be done e.g. in the main() method and allows enabling (and disabling) the UI defaults inspector with the given keystroke.
- Author:
- Karl Tauber
-
Method Summary
Modifier and TypeMethodDescriptionstatic JComponentCreates a UI defaults inspector panel that can be embedded into any window.static voidhide()static voidInstalls a key listener into the application that allows enabling and disabling the UI inspector with the given keystroke (e.g.static voidshow()
-
Method Details
-
install
Installs a key listener into the application that allows enabling and disabling the UI inspector with the given keystroke (e.g. "ctrl shift alt Y").- Parameters:
activationKeys- a keystroke (e.g. "ctrl shift alt Y"), ornullto use "ctrl shift alt Y"
-
show
public static void show() -
hide
public static void hide() -
createInspectorPanel
Creates a UI defaults inspector panel that can be embedded into any window.
-