Class Html5Utils


  • public class Html5Utils
    extends Object
    • Constructor Detail

      • Html5Utils

        public Html5Utils()
    • Method Detail

      • disableAnchor

        public static void disableAnchor​(com.google.gwt.user.client.ui.Anchor a)
      • enableAnchor

        public static void enableAnchor​(com.google.gwt.user.client.ui.Anchor a)
      • setVideoFullScreen

        public static void setVideoFullScreen​(com.google.gwt.dom.client.Element element)
      • setVideoNotFullScreen

        public static void setVideoNotFullScreen​(com.google.gwt.dom.client.Element element)
      • isVideoFullScreen

        public static boolean isVideoFullScreen()
      • vibrate

        public static void vibrate()
      • vibrate

        public static void vibrate​(int duration)
      • isSpeechSupported

        public static boolean isSpeechSupported()
      • isSpeechSynthesisSupported

        public static boolean isSpeechSynthesisSupported()
      • startListening

        public static void startListening()
      • stopListening

        public static void stopListening()
      • initSpeech

        public static boolean initSpeech​(boolean continuous,
                                         String language)
      • getVoices

        public static com.google.gwt.core.client.JsArray<Voice> getVoices()
      • readText

        public static void readText​(String[] text,
                                    com.google.gwt.user.client.Command endCallback)
      • cancelSpeaking

        public static void cancelSpeaking()
      • onSpeechResult

        public static void onSpeechResult​(String result)
      • onSpeechStart

        public static void onSpeechStart()
      • onSpeechStop

        public static void onSpeechStop()
      • onSpeechError

        public static void onSpeechError()
      • copyInClipboard

        public static void copyInClipboard​(String text)