Directory

SubWindowDesktop and Subwindow component - Vaadin Add-on Directory

Subwindow Desktop and Subwindow component for Vaadin Flow SubWindowDesktop and Subwindow component - Vaadin Add-on Directory
## SubwindowDesktop/Subwindow components This components let you correctly implement an MDI interface. No more windows floating over menu bar or other components. First you define the SubWindowDesktop and add the SubWindows to it. The SubWindows will float only inside it. ### Features: - fire events for onMove, onClose, onMinimize, onMaximize and onRestore. - fire events for updatePosition and updateSize - set default window state for new windows. - hide windows buttons. - add components to the title bar. - stay on top. - add component to desktop - add a subwindow icon. ### Theme: Now is posible to customize the componente theme using CssImport. Add a line like this to the view ```@CssImport(value = "./styles/subwindow-custom.css",themeFor = "sub-window")``` and in the `subwindow-custom.css` change what you need. ``` .subwindow-header { background-color: cornflowerblue !important; } ``` ### Theme variables #### Subwindow: --subwindow-bg: subwindow background color: #fff. --subwindow-border-radius: 2px. --subwindow-header-bg: none --subwindow-header-color: none --subwindow-header-bottomline-width: 1px --subwindow-header-bottomline-style: solid --subwindow-header-bottomline-color: #718191 --subwindow-resize-color: #666666 --subwindow-focus-lost-bg: #b3b3b340 #### Desktop: --subwindow-desktop-bg: #f6f6f6 --subwindow-desktop-bar-bg: #e0e0e0 --subwindow-desktop-bar-label-width: 150px the label width for each subwindow shown. --subwindow-desktop-bar-label-top-width: 3px --subwindow-desktop-bar-label-top-style: solid --subwindow-desktop-bar-label-top-color: #666666 --subwindow-desktop-bar-label-top-hover-width: 3px --subwindow-desktop-bar-label-top-hover-style: solid --subwindow-desktop-bar-label-top-hover-color: #0066ff --subwindow-desktop-bar-label-top-focus-width: 3px --subwindow-desktop-bar-label-top-focus-style: solid --subwindow-desktop-bar-label-top-focus-color: #0066ff ## Available at MavenCentral: * groupId: com.github.mdre * artifactId: flowsubwindow
Source Code

SubWindowDesktop and Subwindow component version 0.3.0

SubWindowDesktop and Subwindow component version 0.8.0
Added fire events for listeners.

SubWindowDesktop and Subwindow component version 0.8.1
added setResizable(Boolean b)

SubWindowDesktop and Subwindow component version 0.8.2
solved the null tooltip. Add a triangle to show the resize control. Add a method to resize de resize control.

SubWindowDesktop and Subwindow component version 0.8.3
Fix the issue of bringToFront when create a subwindow from a subwindow.

SubWindowDesktop and Subwindow component version 0.9.0
Add theme.

SubWindowDesktop and Subwindow component version 0.9.1
fix FF error.

SubWindowDesktop and Subwindow component version 0.9.5

SubWindowDesktop and Subwindow component version 0.9.6
Fix incorrect maximized state report.

SubWindowDesktop and Subwindow component version 1.0.0
First version compatible with Flow 14+. Compiled with jdk 11.

SubWindowDesktop and Subwindow component version 1.0.2
package build fixes.

SubWindowDesktop and Subwindow component version 1.0.3
What's news: - add stayOnTop attribute - add addComponent to desktop background

SubWindowDesktop and Subwindow component version 1.0.4
- Add a subwindow icon on the left. - Add updatePosition and updateSize event. - Add support to the with CssImport

SubWindowDesktop and Subwindow component version 1.0.5.4