Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

alump/GoFullScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Published on Vaadin  Directory Stars on Vaadin Directory

GoFullScreen Vaadin UI Component Add On

Build Status

GoFullScreen add on provides button that will handle fullscreen mode switching on client side. Can be used to fullscreen whole Vaadin application or single components inside it (like images or videos).

Usage

Button

FullScreenButton button = new FullScreenButton(VaadinIcons.EXPAND_FULL);
button.setFullScreenTarget(componentShownInFullscreen);

MenuBar

FullScreenMenuBar menuBar = new FullScreenMenuBar();
MenuBar.MenuItem view = menuBar.addItem("View", null);
MenuBar.MenuItem fullscreenImage = view.addItem("Image in fullscreen", null);
menuBar.addFullScreenMapping(fullscreenImage, imageComponent);
MenuBar.MenuItem fullscreenAll = view.addItem("All in fullscreen", null);
menuBar.addFullScreenMapping(fullscreenAll, null);

Release notes

Version 0.6.1 (2017-06-21)

  • Add support for MenuBar

Version 0.6.0 (2017-03-10)

  • Version 0.6.0 and versions after it require and support Vaadin 8. For Vaadin 7, use 0.5.x versions.

Version 0.5.3 (2016-04-12)

  • Fixing project manifest files to format accepted again by Vaadin Directory
  • Cleaning API little more, as 0.5.0 release failed. Allowing adding non-button components later.

Version 0.5.0 (2016-04-07)

  • OSGi bundled
  • Listener API cleanup (API break)
  • Moved to use SCSS theming (add-on currently do not include any theming rules, so no actions required)