DesktopPaneFX 0.11.0 Released

Version 0.11.0 has just been released! You can download it directly from Bintray’s JCenter and/or Maven Central. This version delivers the following changes:

  • Bulk window operations added to DekstopPane and InternalWindow.
  • A richer set of InternalWindowEvent values.
  • Ability to register explicit InternalWindowEvent event handlers on InternalWindow.

Bulk operations include the following ones:

  • minimizeAllWindows
  • minimizeOtherWindows
  • maximizeAllWindows
  • maximizeVisibleWindows
  • restoreMinimizedWindows
  • restoreVisibleWindows
  • closeAllWindows
  • closeOtherWindows
  • tileAllWindows
  • tileVisibleWindows
  • tileHorizontally
  • tileVertically

These operations are available as direct method calls on DesktopPane. All of them except for the tiling ones are also available when popping a contextual menu on the title bar of an InternalWindow. Events triggered by internal windows closely follow those triggered by regular windows

  • WINDOW_SHOWING
  • WINDOW_SHOWN
  • WINDOW_HIDING
  • WINDOW_HIDDEN
  • WINDOW_CLOSE_REQUEST

While at the same time additional events were added such as

  • WINDOW_MINIMIZING
  • WINDOW_MINIMIZED
  • WINDOW_MAXIMIZING
  • WINDOW_MAXIMIZED
  • WINDOW_RESTORING
  • WINDOW_RESTORED
  • WINDOW_DETACHING
  • WINDOW_DETACHED
  • WINDOW_ATTACHING
  • WINDOW_ATTACHED

The default event handling mechanism is still in place but you can also register specific event handlers using the following methods

  • setOnAttached(EventHandler<InternalWindowEvent> value)
  • setOnAttaching(EventHandler<InternalWindowEvent> value)
  • setOnCloseRequest(EventHandler<InternalWindowEvent> value)
  • setOnDetached(EventHandler<InternalWindowEvent> value)
  • setOnDetaching(EventHandler<InternalWindowEvent> value)
  • setOnHidden(EventHandler<InternalWindowEvent> value)
  • setOnHiding(EventHandler<InternalWindowEvent> value)
  • setOnMaximized(EventHandler<InternalWindowEvent> value)
  • setOnMaximizing(EventHandler<InternalWindowEvent> value)
  • setOnMinimized(EventHandler<InternalWindowEvent> value)
  • setOnMinimizing(EventHandler<InternalWindowEvent> value)
  • setOnRestored(EventHandler<InternalWindowEvent> value)
  • setOnRestoring(EventHandler<InternalWindowEvent> value)
  • setOnShowing(EventHandler<InternalWindowEvent> value)
  • setOnShown(EventHandler<InternalWindowEvent> value)

Lastly, here's a short video of some of these new features in action

Feedback is always welcomed, source code and issue tracker are located at https://github.com/aalmiray/desktoppanefx/.

Keep on coding!

Liked it? Take a second to support aalmiray on Patreon!
Become a patron at Patreon!

Trackbacks/Pingbacks

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ˆ Back To Top