Karl Tauber
ec2fccbb0e
FlatSVGIcon: if icon has color filter and did change the color, then do not apply global color filter
2021-04-16 23:25:22 +02:00
Karl Tauber
6c48489d89
FlatSVGIcon:
...
- added getters for all fields passed to constructors
- preserve disabled state in derive() methods
- ColorFilter: create hash maps only if needed/used
2021-04-16 21:53:15 +02:00
Karl Tauber
ba9c884a0c
FlatSVGIcon:
...
- renamed FlatSVGIcon.setFilter(...) to setColorFilter()
- renamed ColorFilter.setFilter(Function) to setMapper(Function)
- replaced ColorFilter.createGrayFilterFunction(int,int,int) with universal createRGBImageFilterFunction(RGBImageFilter)
- ColorFilter: use default color palette mapping only in global filter
2021-04-16 21:33:23 +02:00
Karl Tauber
360f0bafe0
Extras: FlatInspector: always show tooltip over highlight figures
2021-04-16 15:12:55 +02:00
Karl Tauber
a7a4a19824
DesktopIcon: use derived color for icon background, based on background color of JDesktopPane
2021-04-11 14:48:19 +02:00
DUDSS
e9b2f17171
FlatSVGIcon: Fixed an oversight
2021-04-09 13:41:08 +02:00
DUDSS
d3bf4433b7
FlatSVGIcon: Removed unnecessary getInstance method. Changed the demo a little and added a utility method to ColorFilter to easily create a brightness/contrast/alpha filter.
2021-04-09 13:36:49 +02:00
DUDSS
ba0f43455b
Reworked how the FlatSVGIcon filters work. Filters are now set using the ColorFilter class and can work globally too. Added related demo components to flatlaf-demo extras tab.
2021-04-09 13:36:49 +02:00
DUDSS
638af4bcd7
Added an option to specify an RGBImageFilter to a FlatSVGIcon
2021-04-09 13:36:48 +02:00
Karl Tauber
c55f0e239e
Merge pull request #276 from ingokegel/border_less_button
...
Added ButtonType.borderLess
2021-04-09 11:17:11 +02:00
Ingo Kegel
32d9381745
Renamed borderLess to borderless
2021-04-08 22:36:42 +02:00
Karl Tauber
f12ee6c167
added dummy class to empty opend module packages
2021-04-01 09:40:22 +02:00
Karl Tauber
a143e5777c
Extras: FlatInspector: fixed InaccessibleObjectException when running in Java 16
2021-03-26 21:44:41 +01:00
Ingo Kegel
ae8323e2f8
Added ButtonType.borderLess for buttons that look like toolbar buttons but have a focus indicator.
...
This behavior can be achieved with JideButton, but it would be preferable to use FlatButton instead.
2021-03-22 16:45:37 +01:00
Karl Tauber
beff149004
JIDE: support JideButton and JideToggleButton
2021-03-16 22:15:32 +01:00
Karl Tauber
07db6e8fb0
Extras: FlatInspector: fixed NPE if component class is in default package
2021-03-16 13:46:25 +01:00
Karl Tauber
e5a116a0d4
Extras: FlatInspector: removed println ( fixes #263 )
2021-02-25 16:54:05 +01:00
Karl Tauber
a9e9fad222
Extras: FlatInspector: tooltip is no longer limited to window bounds
2021-02-11 18:23:01 +01:00
Karl Tauber
c6757cc61b
UI defaults inspector: filter by colors with alpha and derived colors
2021-02-06 01:32:32 +01:00
Karl Tauber
575b8e3f7f
UI defaults inspector: for derived colors, no longer change Item.value from Color to Color[] because this could cause problems if there is a UI value of type Color[]
2021-02-06 01:01:48 +01:00
Karl Tauber
6f7b5e8005
README.md: removed JCenter and replaced download links to bintray with Maven Central
2021-02-04 16:48:53 +01:00
Karl Tauber
9d5934df14
Extras: FlatInspector: use HTML in tooltip
2021-02-04 15:19:33 +01:00
Karl Tauber
fdf28fc385
javadoc and comment updates/fixes
2021-01-23 18:05:46 +01:00
Karl Tauber
3474129812
Tree:
...
- paint non-wide selection in FlatTreeUI.paintRow() instead of using reflection to change private field in DefaultTreeCellRenderer
- use DefaultTreeCellRenderer.getBackgroundSelectionColor() as selection color (if possible)
- added boolean client property JTree.paintSelection to disable selection painting in FlatTreeUI.paintRow()
- FlatComponents2Test:
- added checkboxes for wideSelection and paintSelection client properties
- added possibility to test various kinds of tree cell renderers
- added JXTree, JIDE CheckBoxTree
(PR #245 )
2021-01-21 17:38:20 +01:00
Ingo Kegel
60f3428da7
Added a per-tree wide selection setting
2021-01-19 17:46:41 +01:00
Karl Tauber
1bdf4532db
UI defaults inspector: support wildcard matching in filter
2021-01-16 12:56:25 +01:00
Karl Tauber
3ec59d0c58
UI defaults inspector:
...
- no longer show color values as decimal rgb
- use black for color value text if color is translucent
- fix derived color tooltip
- improved filter performance
2021-01-15 19:44:45 +01:00
Karl Tauber
c43249316c
UI defaults inspector:
...
- show computed derived colors
- also show base colors and default colors
- indicate derived colors with magenta bar on right side in value column
2021-01-15 19:07:44 +01:00
Karl Tauber
9113c31612
UI defaults inspector: support copy key/value to clipboard
2021-01-09 11:13:17 +01:00
Karl Tauber
00b4e0a6fd
UI defaults inspector: support embedding into any window
2021-01-09 00:38:46 +01:00
Karl Tauber
1315d847b9
removed dummy pom.xml for GitHub dependency graph
2021-01-07 14:09:55 +01:00
Karl Tauber
be18317a6d
moved flatlaf-extras/pom.xml (for GitHub dependency graph) to another folder to check whether GitHub recognizes it there
2021-01-05 11:48:50 +01:00
Karl Tauber
ea94899a28
Extras: added missing export of package com.formdev.flatlaf.extras.components to Java 9 module descriptor (issue #117 )
2020-12-30 11:23:51 +01:00
Karl Tauber
a7c6a881b3
Extras: FlatTriStateCheckBox reworked
2020-12-19 16:13:12 +01:00
Karl Tauber
435068515a
always reset our graphics rendering hints
...
(this is usually not necessary because each component gets its own instance of Graphics when painting, but resetting may avoid side effects if our paint methods are invoked directly)
2020-12-18 13:35:17 +01:00
Karl Tauber
ffb7a6dfbb
README.md:
...
- added demo download section
- added link to javadoc of extras components
2020-12-12 14:45:08 +01:00
Karl Tauber
176de6f245
README.md: simplified download sections of subprojects
2020-12-12 14:21:07 +01:00
Karl Tauber
11f9740dbf
Extras: added support for JComponent.outline client property (issue #117 )
2020-12-12 13:59:58 +01:00
Karl Tauber
42a91ba26c
Extras: renamed SVG utility class from com.formdev.flatlaf.extras.SVGUtils to com.formdev.flatlaf.extras.FlatSVGUtils
2020-12-12 12:21:48 +01:00
Karl Tauber
234003e2b1
Extras: Renamed tri-state check box class from
...
`com.formdev.flatlaf.extras.TriStateCheckBox` to
`com.formdev.flatlaf.extras.components.FlatTriStateCheckBox`
2020-12-12 00:33:51 +01:00
Karl Tauber
534384438b
Extras: added extension class for JTabbedPane (issue #117 )
2020-12-11 23:44:52 +01:00
Karl Tauber
ab51f35d5d
Extras: added extension classes for JEditorPane, JSpinner, JTextArea and JTextPane; added minimumWidth and roundRect properties (issue #117 )
2020-12-11 18:05:58 +01:00
Karl Tauber
511a4044d7
Extras: added extension classes for JButton and JToggleButton (issue #117 )
2020-12-11 17:18:35 +01:00
Karl Tauber
821efaff40
Extras: removed duplicate enums in text components (issue #117 )
2020-12-11 14:01:42 +01:00
Karl Tauber
91bc994532
Extras: made enums in text components public (issue #117 )
2020-12-11 13:39:51 +01:00
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
06cab0d4b5
updated svgSalamander to version 1.1.2.4
2020-11-18 18:34:12 +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