package eu.ydp.empiria.player.client.controller.extensions.jswrappers;

import com.google.gwt.core.client.JavaScriptObject;

import eu.ydp.empiria.player.client.module.media.MediaAvailableOptions;

/**
 * Overlay type dla konfiguracji w formacie JSON
 *
 */
public class JsMediaAvaliableOptions extends JavaScriptObject implements MediaAvailableOptions {
	protected JsMediaAvaliableOptions() {

	}

	@Override
	public native final boolean isPlaySupported() /*-{
		return this.playSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isPauseSupported() /*-{
		return this.pauseSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isMuteSupported() /*-{
		return this.muteSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isVolumeChangeSupported() /*-{
		return this.volumeChangeSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isStopSupported() /*-{
		return this.stopSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isSeekSupported() /*-{
		return this.seekSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isFullScreenSupported() /*-{
		return this.fullScreenSupported ? true : false;
	}-*/;

	@Override
	public native final boolean isMediaMetaAvailable() /*-{
		return this.mediaMetaAvailable ? true : false;
	}-*/;

	@Override
	public native final boolean isTemplateSupported() /*-{
		return this.templateSupported ? true : false;
	}-*/;
}

@@ -359,16 +359,19 @@
 ions %7B%0D%0A
+%09%0D%0A
 %09protect
@@ -402,16 +402,16 @@
 ns() %7B%0D%0A
-
 %0D%0A%09%7D%0D%0A%0D%0A
@@ -499,38 +499,31 @@
 aySupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -614,38 +614,31 @@
 seSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -727,38 +727,31 @@
 teSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -856,38 +856,31 @@
 geSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -969,38 +969,31 @@
 opSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -1082,38 +1082,31 @@
 ekSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -1207,38 +1207,31 @@
 enSupported 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/;%0D%0A%0D
@@ -1334,30 +1334,23 @@
 ailable 
-?
+==
  true
- : false
 ;%0D%0A%09%7D-*/
@@ -1459,22 +1459,15 @@
 ted 
-?
+==
  true
- : false
 ;%0D%0A%09

refactor MediaAvailableOptions overlay type issue EMPCP-120