Package com.formdev.flatlaf.extras
Class FlatUIDefaultsInspector
- java.lang.Object
-
- com.formdev.flatlaf.extras.FlatUIDefaultsInspector
-
public class FlatUIDefaultsInspector extends Object
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.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JComponent
createInspectorPanel()
Creates a UI defaults inspector panel that can be embedded into any window.static void
hide()
static void
install(String activationKeys)
Installs a key listener into the application that allows enabling and disabling the UI inspector with the given keystroke (e.g.static void
show()
-
-
-
Method Detail
-
install
public static void install(String activationKeys)
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")
-
show
public static void show()
-
hide
public static void hide()
-
createInspectorPanel
public static JComponent createInspectorPanel()
Creates a UI defaults inspector panel that can be embedded into any window.
-
-