-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebOverlay component revamp #568
Labels
Comments
24 tasks
Moving this to v1.2.11 since I'll soon be merging in some old changes that I had locally and those include rework for |
mgarin
added a commit
that referenced
this issue
Nov 28, 2019
- TaskManager.java - New manager that handles all concurrent tasks within library except for animation which is currently handled by `AnimationManager` - TaskManager.java - There are a few predefined `TaskGroup`s available that are used by various WebLaF parts, but they can be reconfigured - TaskGroup.java - Object with unique identifier that represents a specific group of tasks - TaskException.java - Custom exception for any problems that might occur in `TaskManager` - Multiple classes like `ThumbnailGenerator` or `AsyncTreeModel` now use `TaskManager` for concurrent tasks execution AnimationManager - ThreadGroupHandler.java - Renamed from `DaemonThreadHandler` and is now based on the `TaskGroup` identifier it uses LazyContent [ #577 ] - LazyContent.java - Custom utility allowing convenient UI initialization involving heavy data loading - LazyLoadTrigger.java - Enumeration representing trigger types for data and UI loading start - LazyContentListener.java, LazyContentAdapter.java - `LazyContent` data and UI event listener and adapter for it - LazyState.java - Enumeration representing all possible data and UI states - LazyStateListener.java, LazyStateAdapter.java - `LazyContent` states listener and adapter for it - DataLoadProgress.java - Object passed to progress display component for feedback on asynchronous task completion progress - ProgressCallback.java - Object passed to asynchronous task to provide information about it's progress if necessary - LazyDataLoadProgress.java - Bridge object for passing data loading events to progress component - LazyProgressOverlay.java - Default progress display component that can show both indeterminate and determinate progress and can switch between them LazyPanel [ #577 ] - LazyPanel.java - Custom container that provides means for more convenient `LazyContent` feature usage - LazyPanelLayout.java - Custom layout for `LazyPanel` for displaying various components for each of loading stages - lazypanel.xml, StyleId.java - Default style for `LazyPanel` component similar to default `JPanel` styles Overlay [ #568 ] - WebOverlay.java - Completely reworked overlay component with more convenient support for custom overlay locations and complete styling support - WOverlayUI.java, WebOverlayUI.java, IOverlayPainter.java, OverlayPainter.java - Basic UI and painter implementations for `WebOverlay` - WebProgressOverlay.java - Implementation based on new `WebOverlay` that can display indeterminate progress on a custom canvas overlay - Overlay.java - New interface for overlays to be added to `WebOverlay` - FillOverlay.java, AlignedOverlay.java - Basic `Overlay` implementations for most common use cases - WebOverlay.java, OverlayData.java, OverlayLayout.java, OverlayLocation.java - Replaced with new `WebOverlay` implementation - WebProgressOverlay.java - Replaced with new `WebProgressOverlay` implementation - overlay.xml, StyleId.java - Default styles for `WebOverlay` and `WebProgressOverlay` components AsyncTree - AsyncTreeDataProvider.java - Added `getThreadGroupId` method for returning identifier of `ThreadGroup` on which data loading should be performed - AsyncTreeModel.java - Reworked to incorporate new `TaskManager` instead of a custom `AsyncTreeQueue` class - AsyncTreeQueue.java - Removed as redundant, `TaskManager` is used instead NinePatchEditor - NinePatchEditor.java - Added proper usage of alpha background texture Utilities - NoOpMouseListener.java - Changed to singleton to avoid unnecessary instances creation - NoOpKeyListener.java - `KeyListener` implementation similar to `NoOpMouseListener` - CoreSwingUtils.java - Added `invokeOnEventDispatchThread` method for convenience - SwingUtils.java - Added `maxNonNull` method for convenience - facebook.gif - Fixed loader icon size to be 16x16 like other icons - LazyLoadBehavior.java - Added `TaskGroup` identifier usage for concurrent task running - LazyLoadBehavior.java - Marked as `@Deprecated` and will be removed or reworked in future releases - ComponentUpdater.java - Marked as `@Deprecated` and will be removed before v1.2.11 release DemoApplication.java - DemoTaskGroup.java - New `TaskGroup` for demo application concurrent tasks - LazyPanelExample.java - New example for `LazyPanel` component - WebOverlayExample.java - New example for `WebOverlay` component - WebProgressOverlayExample.java - New example for `WebProgressOverlay` component - JProgressBarExample.java - Slowed down progress animation - SampleInterface.java - New class providing some basic UI elements for use in examples - SampleData.java, demo-language.xml - Regrouped sample data translations for convenience - demo-language.xml - Added translations for new examples
Component have been revamped, it will be available in v1.2.11 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current
WebOverlay
component implementations is quite outdated, has a lot of issues and also simply lacks customizability and styling support.I have already started working on newer version quite a while ago, but had to finish multiple other changes and fixes first, but now might be a good chance to get back to
WebOverlay
. I'll schedule it for v1.2.12 for now.The text was updated successfully, but these errors were encountered: