Commit Graph

65 Commits

Author SHA1 Message Date
nathan
56832b44ca Added ability to query the system tray type 2018-11-10 23:44:09 +01:00
nathan
f0e7ff5cf8 Updated URL for test examples 2018-11-10 23:43:24 +01:00
nathan
e0e103be08 Added App Name (issue #68 on github) for linux desktop that *sometimes* use a ID string for the tray icon. Previously this was "SystemTray", now it is configurable. 2018-11-04 01:01:29 +01:00
nathan
0962408edb Added dynamic adding of menu entries to examples 2018-10-24 01:05:15 +02:00
nathan
efe4b2c966 Fixed menu ordering to be the same as the other examples 2018-05-02 14:27:08 +02:00
nathan
0b53d5388f Fixed typo in comments 2017-11-12 00:53:45 +01:00
nathan
79a7ccbe5c Changed test examples to add menu as an 'out of order' entry 2017-09-17 21:01:29 +02:00
nathan
9479f34a29 Added temp directory to test case 2017-09-03 14:52:04 +02:00
nathan
65e7c669b5 Added Menu Entry tooltip support. Emits warning on first load of
tooltips (as they are not supported by all OS configurations). This
warning can be suppressed. Misc fix for loading swing with GTK.
2017-07-24 14:32:58 +02:00
nathan
1e21d305be Commented out test code from the examples 2017-07-18 16:43:13 +02:00
nathan
08b86cf16f Removed test code 2017-07-16 02:19:37 +02:00
nathan
e9d10b0bf9 Added 'about' -> https://github.com/dorkbox/SystemTray to the test
examples.
2017-07-16 02:07:07 +02:00
nathan
68c9795674 (reverted) Changed Util class names 2017-07-15 18:26:17 +02:00
nathan
3d652e2d14 Changed Util class names 2017-07-14 18:34:55 +02:00
nathan
72b3f20d30 Null pointer fix when executing the javaFX application handler
directly.
2017-07-14 18:34:09 +02:00
nathan
9fcbfd0e3c Code polish for tests 2017-07-14 00:46:12 +02:00
nathan
baaaa72079 Fixed color struct, so now color queries match what C returned 2017-07-14 00:08:40 +02:00
nathan
b49688aac7 Example code cleanup 2017-07-12 02:28:02 +02:00
nathan
7a4601c8dd Refactored UI class packages, now that there are no "native" vs "swing"
UI implementations anymore.
2017-07-12 02:25:32 +02:00
nathan
41e8a9fed6 Custom Swing UI now returns just the defaults, it's meant to be used as
an example.
2017-07-11 14:27:02 +02:00
nathan
923ff023b0 Changed how the checkmark is rendered. now specifiy a color, the size
one wants for the check, and the size one wants for the resulting image.
 If the checkmark is smaller than the size of the resulting image, then
 the checkmark will be centered in it.
2017-07-03 20:30:14 +02:00
nathan
e8cf81637a Custom Swing UI now defaults to the built-in checkmark 2017-07-01 20:39:31 +02:00
nathan
2c362c63d1 Code polish 2017-07-01 16:07:31 +02:00
nathan
9cfbd7689b added comments for test 2017-05-19 01:07:04 +02:00
nathan
6b1d0c4a12 Updated comments WRT component sizing information 2017-03-05 00:19:20 +01:00
nathan
0455507f51 Added comments 2017-03-03 15:56:39 +01:00
nathan
d263df78a6 Cleaned up test examples 2017-02-26 00:09:52 +01:00
nathan
238e5d8afa Moved DeafultUI implementations to Utils 2017-02-17 16:23:08 +01:00
nathan
0e5d52352b Updated Swing menu item behavior to permit customization. 2017-02-17 15:50:42 +01:00
nathan
3d510e7092 Removed commented out/dead code 2017-01-30 01:56:12 +01:00
nathan
3c24139544 Removing logic to choose between swing/native menus (Swing w/
appindicators is broken)
2017-01-30 01:34:36 +01:00
nathan
ec9499c1bb Added support for tooltips. note: AppIndicators DO NOT support tooltips 2017-01-30 00:25:01 +01:00
nathan
c524585dec API Changed SystemTray.get() -> SystemTray.getSwing() to be
consistent with getNative() and to indicate that neither are preferred.
2017-01-21 15:49:58 +01:00
nathan
dac3d09764 Added comments for compiling for gtk3. Fixed icons path 2016-12-12 01:09:41 +01:00
nathan
e24e42e4d9 Fixed javaFX example to be CORRECT (just because it works, doesn't
mean it's correct). MacOSX is particularly sensitive to "correctness"
2016-12-10 22:15:28 +01:00
nathan
146afbf949 Cleaned up examples 2016-10-24 01:53:01 +02:00
nathan
599dabf4ef Code polish, documentation, cleanup for API changes 2016-10-24 01:43:32 +02:00
nathan
86d031ed7c Added better detection for click-jack detection on MacOS. 2016-10-17 12:07:56 +02:00
nathan
a07c5e8ab8 Changed action callback to ActionListener. Added checkbox. 2016-10-17 11:47:25 +02:00
nathan
512d5b794c Fixed missing file 2016-10-12 15:23:33 +02:00
nathan
09143f7630 API cleanup, WIP adding widgets to the menu (on pause because of
problems with the enter key not responding after this). Updated test
examples.
2016-10-10 22:40:39 +02:00
nathan
919120701d Added SystemTray.setEnabled(). Updated test examples. 2016-10-10 01:15:32 +02:00
nathan
53a9110605 Clean API 2016-10-10 00:30:40 +02:00
nathan
c2881e54fd Added more C examples 2016-10-09 22:39:45 +02:00
nathan
1a35cb8726 API CHANGE (setIcon -> setImage) for API consistency with how
menus/entries get their image set. Class heirarchy is now consistent
with all menu types (system tray + sub-menus)
2016-10-08 23:54:45 +02:00
nathan
4bbe713519 Updated examples to include new functionality 2016-10-03 23:58:25 +02:00
nathan
bf3cb8de11 Refactored out Menu object (from the SystemTray object). Converted
SystemTray into a crossPlatform proxy. WIP submenus
2016-09-29 01:44:11 +02:00
nathan
c9b0cce1e3 Refactored status entries, added spacers to menu 2016-09-28 02:51:06 +02:00
nathan
a985827f5b Changed out icons for ones that fill the entire space (less padding) 2016-09-25 15:52:15 +02:00
nathan
a4bad80479 Code cleanup 2016-09-22 21:45:53 +02:00