@@ -0,0 +1,2033 @@
+package com.github.fworks.screenfullgwt.client.ui;%0D%0A%0D%0Aimport com.google.gwt.dom.client.Element;%0D%0A%0D%0Apublic class ScreenFull %7B%0D%0A%0D%0A%0D%0A%09/**%0D%0A%09 * Toggle fullscreen%0D%0A%09 */%0D%0A%09public static native void toggleFullScreen() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09$wnd.screenfull.toggle();%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Request fullscreen for the page%0D%0A%09 */%0D%0A%09public static native void requestFullScreen() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09$wnd.screenfull.request();%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Request fullscreen for an element%0D%0A%09 * @param elem%0D%0A%09 */%0D%0A%09public static native void requestFullScreen(Element elem) /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09$wnd.screenfull.request(elem);%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Exit fullscreen mode%0D%0A%09 */%0D%0A%09public static native void exitFullScreen() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09$wnd.screenfull.exit();%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Returns a boolean whether fullscreen is active.%0D%0A%09 * @return%0D%0A%09 */%0D%0A%09public static native boolean isFullScreen() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09return $wnd.screenfull.isFullscreen;%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Returns the element currently in fullscreen, otherwise null.%0D%0A%09 * @return%0D%0A%09 */%0D%0A%09public static native Element element() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09return $wnd.screenfull.element;%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Returns a boolean whether you are allowed to enter fullscreen. If your page is inside an %3Ciframe%3E you will need to add a allowfullscreen attribute (+ webkitallowfullscreen and mozallowfullscreen).%0D%0A%09 * @return%0D%0A%09 */%0D%0A%09public static native boolean enabled() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09return $wnd.screenfull.enabled;%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%0D%0A%09/**%0D%0A%09 * Exposes the raw properties (prefixed if needed) used internally: requestFullscreen, exitFullscreen, fullscreenElement, fullscreenEnabled, fullscreenchange, fullscreenerror%0D%0A%09 * @return%0D%0A%09 */%0D%0A%09public static native Element raw() /*-%7B%0D%0A%09  %09if ($wnd.screenfull.enabled) %7B%0D%0A%09  %09%09return $wnd.screenfull.raw;%0D%0A%09  %09%7D%0D%0A%09%7D-*/;%0D%0A%7D%0D%0A

package renaming pom.xml