mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 05:50:53 +03:00
Extras: added screenshots to README.md and instructions for using UI inspectors
This commit is contained in:
@@ -3,19 +3,20 @@ FlatLaf Extras
|
|||||||
|
|
||||||
This sub-project provides some additional components and classes:
|
This sub-project provides some additional components and classes:
|
||||||
|
|
||||||
- [FlatAnimatedLafChange](src/main/java/com/formdev/flatlaf/extras/FlatAnimatedLafChange.java):
|
- [FlatSVGIcon](https://www.javadoc.io/doc/com.formdev/flatlaf-extras/latest/com/formdev/flatlaf/extras/FlatSVGIcon.html):
|
||||||
Animated Laf changing.
|
An icon that displays SVG using
|
||||||
- [FlatInspector](src/main/java/com/formdev/flatlaf/extras/FlatInspector.java):
|
[svgSalamander](https://github.com/JFormDesigner/svgSalamander).\
|
||||||
A simple UI inspector that shows information about UI component at mouse
|

|
||||||
location in a tooltip.
|
- [TriStateCheckBox](https://www.javadoc.io/doc/com.formdev/flatlaf-extras/latest/com/formdev/flatlaf/extras/TriStateCheckBox.html):
|
||||||
- [FlatSVGIcon](src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java): An
|
A tri-state check box.\
|
||||||
icon that displays SVG using
|

|
||||||
[svgSalamander](https://github.com/JFormDesigner/svgSalamander).
|
- [FlatAnimatedLafChange](https://www.javadoc.io/doc/com.formdev/flatlaf-extras/latest/com/formdev/flatlaf/extras/FlatAnimatedLafChange.html):
|
||||||
- [FlatUIDefaultsInspector](src/main/java/com/formdev/flatlaf/extras/FlatUIDefaultsInspector.java):
|
Animated Laf (theme) changing.
|
||||||
A simple UI defaults inspector that shows a window with all UI defaults used
|
- [FlatInspector](#ui-inspector): A simple UI inspector that shows information
|
||||||
in current theme (look and feel).
|
about UI component at mouse location in a tooltip.
|
||||||
- [TriStateCheckBox](src/main/java/com/formdev/flatlaf/extras/TriStateCheckBox.java):
|
- [FlatUIDefaultsInspector](#ui-defaults-inspector): A simple UI defaults
|
||||||
A tri-state check box.
|
inspector that shows a window with all UI defaults used in current theme (look
|
||||||
|
and feel).
|
||||||
|
|
||||||
|
|
||||||
Download
|
Download
|
||||||
@@ -39,3 +40,45 @@ you can download here:
|
|||||||
|
|
||||||
[](https://bintray.com/jformdesigner/flatlaf/flatlaf/_latestVersion)
|
[](https://bintray.com/jformdesigner/flatlaf/flatlaf/_latestVersion)
|
||||||
[](https://bintray.com/jformdesigner/svgSalamander/svgSalamander/_latestVersion)
|
[](https://bintray.com/jformdesigner/svgSalamander/svgSalamander/_latestVersion)
|
||||||
|
|
||||||
|
|
||||||
|
Tools
|
||||||
|
-----
|
||||||
|
|
||||||
|
### UI Inspector
|
||||||
|
|
||||||
|
A simple UI inspector that shows information about UI component at mouse
|
||||||
|
location in a tooltip, which may be useful while developing an application.
|
||||||
|
Should be not installed in released applications.
|
||||||
|
|
||||||
|
Once installed with following code (e.g. in method `main`), it can be activated
|
||||||
|
for the active window with the given keystroke:
|
||||||
|
|
||||||
|
~~~java
|
||||||
|
FlatInspector.install( "ctrl shift alt X" );
|
||||||
|
~~~
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
When the UI inspector is active some additional keys are available:
|
||||||
|
|
||||||
|
- press <kbd>Esc</kbd> key to disable UI inspector
|
||||||
|
- press <kbd>Ctrl</kbd> key to increase inspection level, which shows
|
||||||
|
information about parent of UI component at mouse location
|
||||||
|
- press <kbd>Shift</kbd> key to decrease inspection level
|
||||||
|
|
||||||
|
|
||||||
|
### UI Defaults Inspector
|
||||||
|
|
||||||
|
A simple UI defaults inspector that shows a window with all UI defaults used in
|
||||||
|
current theme (look and feel), which may be useful while developing an
|
||||||
|
application. Should be not installed in released applications.
|
||||||
|
|
||||||
|
Once installed with following code (e.g. in method `main`), it can be activated
|
||||||
|
with the given keystroke:
|
||||||
|
|
||||||
|
~~~java
|
||||||
|
FlatUIDefaultsInspector.install( "ctrl shift alt Y" );
|
||||||
|
~~~
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
BIN
images/extras-FlatInspector.png
Normal file
BIN
images/extras-FlatInspector.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
BIN
images/extras-FlatSVGIcon.png
Normal file
BIN
images/extras-FlatSVGIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
images/extras-FlatUIDefaultsInspector.png
Normal file
BIN
images/extras-FlatUIDefaultsInspector.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
images/extras-TriStateCheckBox.png
Normal file
BIN
images/extras-TriStateCheckBox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 715 B |
Reference in New Issue
Block a user