Karl Tauber
1323b46ac7
Extras: added extension class for JProgressBar (issue #117 )
2020-12-11 13:28:55 +01:00
Karl Tauber
3a8b30ca8e
Extras: removed extension interfaces and moved methods to components classes because:
...
- Javadoc for components that implement extension interfaces are useless because they do not include default methods from the extension interface
- GUI builders do not recognize default methods from the extension interface and it is not possible to edit extension properties in GUI builder
- the idea of adding the extension interface to own components can be also achieved by changing superclass of own component
(issue #117 )
2020-12-11 13:24:14 +01:00
Karl Tauber
923d58519f
Extras: added extension interfaces and classes for JComboBox, JFormattedTextField, JPasswordField, JScrollBar, JScrollPane and JTextField (issue #117 )
2020-12-10 20:30:27 +01:00
Karl Tauber
5b8f922273
FlatSVGIcon: getImage() now returns a multi-resolution image (on Java 9+) for HiDPI disabled icons in other LaFs that support multi-resolution images when producing disabled icons in LookAndFeel.getDisabledIcon() (e.g. Windows or Nimbus Laf) (issue #205 )
2020-11-10 11:56:59 +01:00
Karl Tauber
847b41752c
FlatSVGIcon: icons were not painted in disabled labels and disabled tabs (issue #205 )
2020-11-10 11:22:34 +01:00
Karl Tauber
09c98359af
fixed javadoc warnings and errors
2020-10-26 15:16:37 +01:00
Karl Tauber
6f8a7471c2
SVGUtils: support creating window images from SVG files that are not 16x16 (issue #196 )
2020-10-26 15:13:37 +01:00
Karl Tauber
4c141fe47c
FlatSVGIcon now allows specifying icon width and height in constructors (issue #196 )
2020-10-26 13:53:25 +01:00
Karl Tauber
700bb9b567
TabbedPane: support closable tabs (issue #40 )
2020-10-20 09:37:28 +02:00
Karl Tauber
ebe0d74dbe
FlatInspector: make sure that glass pane is not opaque, which is not the case in all Lafs
2020-10-14 10:36:29 +02:00
Karl Tauber
01058bde1b
UI defaults inspector: fixed key rendering for Nimbus Laf
2020-10-04 14:03:39 +02:00
Karl Tauber
5643546117
UI defaults inspector:
...
- add placeholder text to filter field
- fixed menu item text in Demo
2020-09-15 17:56:20 +02:00
Karl Tauber
549832ba96
UI defaults inspector:
...
- fixed: indicate when a LaF UI value was overridden with UIManager.put(key,value)
- auto-refresh if UIManager.put(key,value) was invoked
2020-09-15 17:30:13 +02:00
Karl Tauber
e292d3444c
UI defaults inspector: avoid that restored window bounds are outside of screens
2020-09-15 15:09:03 +02:00
Karl Tauber
8c15bc746b
UI defaults inspector: render values of type Border, GrayFilter, Object[] and int[]; paint icons with light gray background
2020-09-15 13:16:01 +02:00
Karl Tauber
aebb083180
UI defaults inspector: indicate when a LaF UI value was overridden with UIManager.put(key,value)
2020-09-15 12:02:51 +02:00
Karl Tauber
5438549b6d
UI defaults inspector: horizontally align rgb() and hsl() in color values
2020-09-15 10:56:28 +02:00
Karl Tauber
2fd99ec9f3
UI defaults inspector: support sorting
2020-09-15 00:16:57 +02:00
Karl Tauber
0d266c4990
UI defaults inspector: use short format for hex colors if possible; use uppercase hex
2020-09-14 23:53:54 +02:00
Karl Tauber
0982675b5f
UI defaults inspector: support filter by value
...
this is also a preparation to support sort by value
2020-09-14 23:13:44 +02:00
Karl Tauber
3bac5d3c80
UI defaults inspector:
...
- update table if LaF was switched or F5 key pressed
- added LaF name to window title
- close window with ESC key
2020-09-14 21:18:52 +02:00
Karl Tauber
58338f4848
UI defaults inspector: scroll with Up, Down, PageUp and PageDown keys if filter field is focused
2020-09-14 20:35:41 +02:00
Karl Tauber
9c261d3a3f
UI defaults inspector: support filter by key and by value type
2020-09-14 18:17:05 +02:00
Karl Tauber
5441ac6640
UI defaults inspector: added separator between component groups and draw component name with lighter color
2020-09-14 15:18:10 +02:00
Karl Tauber
015b04a29a
UI defaults inspector: initial commit with basic functionality
2020-09-14 15:16:16 +02:00
Karl Tauber
147e400bd6
FlatInspector: limit parent level to real depth at mouse location (issue #169 )
2020-09-11 17:37:40 +02:00
Karl Tauber
5923ac65df
smoother transition from old to new theme, independent of UI complexity, when using animated theme change
2020-08-31 18:10:54 +02:00
Karl Tauber
faffc9393d
fixed sub-pixel text rendering in animated theme change; use weak hash map for static map to avoid memory leak for the case that something went wrong
2020-08-31 18:07:37 +02:00
Karl Tauber
535c3ddf6c
FlatSVGIcon now allows specifying ClassLoader that is used to load SVG file (issue #163 )
2020-08-24 23:31:18 +02:00
Karl Tauber
5a9e620c17
Animator: added constructor that allows passing a runnable that is invoked at the end of the animation, which allows using lambdas in most cases
2020-07-25 10:53:06 +02:00
Karl Tauber
2ffd5437a9
animated Laf changing added to flatlaf-extras, used in Demo
2020-07-22 12:56:42 +02:00
Karl Tauber
0d91116e62
Merge branch 'origin/custom-window-decorations' into master
...
# Conflicts:
# flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java
2020-06-29 15:59:38 +02:00
Karl Tauber
df7f693cf4
Demo: new window icon
2020-06-28 23:59:28 +02:00
Karl Tauber
7c9bbe6aef
Merge branch 'master' into branch 'custom-window-decorations'
2020-06-23 11:11:14 +02:00
Karl Tauber
907956994f
Extras: FlatInspector:
...
- do not increase inspection level when activated with keyboard shortcut
- added some javadoc
- added to CHANGELOG.md and flatlaf-extras/README.md
2020-06-08 15:44:52 +02:00
Karl Tauber
9246cc0607
Extras: added FlatInspector (moved from flatlaf-testing)
2020-06-08 15:03:34 +02:00
Karl Tauber
b9bd26b2fb
FlatSVGIcon: support mapping custom colors
2020-06-08 14:11:06 +02:00
Karl Tauber
732ca8be56
FlatLaf.isLafDark() added
2020-06-06 22:00:54 +02:00
Karl Tauber
fbb9bf5f0c
Extras: TriStateCheckBox: fixed painting third state in LaFs that do not support third state
2020-05-16 12:29:35 +02:00
Karl Tauber
5bd40baed2
Extras: TriStateCheckBox: paint magenta rectangle when used in LaFs that do not support third state
2020-05-12 23:26:52 +02:00
Karl Tauber
4bd3b889dc
FlatSVGIcon: support color filtering
2020-05-03 18:21:00 +02:00
Karl Tauber
464787dc1e
FlatSVGIcon: use grayFilter and graphics proxy to paint disabled icons without bitmaps
2020-05-02 23:48:46 +02:00
Karl Tauber
6ba1a419bc
FlatSVGIcon:
...
- use SVGDiagram directly instead of using SVGIcon
- check cliping bounds before painting
- paint red box on errors
2019-11-17 13:04:46 +01:00
Karl Tauber
3de329a332
moved ScaledSVGIcon.java from demo to flatlaf-extras and renamed to FlatSVGIcon.java
2019-11-16 23:23:02 +01:00
Karl Tauber
7f43b3003c
TriStateCheckBox component added
2019-10-24 12:36:40 +02:00