var AdfDvtGraph = AdfUIComponents.createComponentClass("AdfDvtGraph", {componentType:"oracle.dss.adf.graph.Graph", propertyKeys:[], namingContainer:!0, superclass:$AdfDvtImageView$$});
$goog$exportSymbol$$("AdfDvtGraph", AdfDvtGraph);
AdfDvtGraph.$MODE_DEFAULT$ = 0;
AdfDvtGraph.$MODE_ZOOM$ = 1;
AdfDvtGraph.$TOKEN_START_DATE$ = "__START_DATE__";
AdfDvtGraph.$TOKEN_END_DATE$ = "__END_DATE__";
$JSCompiler_prototypeAlias$$ = AdfDvtGraph.prototype;
$JSCompiler_prototypeAlias$$.$_mode$ = AdfDvtGraph.$MODE_DEFAULT$;
$JSCompiler_prototypeAlias$$.$_timeSelListeners$ = null;
$JSCompiler_prototypeAlias$$.$_bFlashTimeSelListenerAdded$ = !1;
$JSCompiler_prototypeAlias$$.setMode = function $$JSCompiler_prototypeAlias$$$setMode$($mode$$11$$) {
  var $movieObj$$25_objName$$2_peer$$48$$ = this.$getFlashMovieObj$();
  $movieObj$$25_objName$$2_peer$$48$$ && $movieObj$$25_objName$$2_peer$$48$$.setMode ? ($movieObj$$25_objName$$2_peer$$48$$.setMode($mode$$11$$), this.$_mode$ = $mode$$11$$) : "SVG" == this.getProperty("clientImageFormat") && ($movieObj$$25_objName$$2_peer$$48$$ = $JSCompiler_StaticMethods_GetSvgProxyName$$(this.getPeer(), this), window[$movieObj$$25_objName$$2_peer$$48$$] && window[$movieObj$$25_objName$$2_peer$$48$$].setMode && window[$movieObj$$25_objName$$2_peer$$48$$].setMode($mode$$11$$));
  ($movieObj$$25_objName$$2_peer$$48$$ = this.getPeer()) && $movieObj$$25_objName$$2_peer$$48$$.$_view$ && ($movieObj$$25_objName$$2_peer$$48$$.$_view$.setMode($mode$$11$$), this.$_mode$ = $mode$$11$$);
};
$JSCompiler_prototypeAlias$$.getMode = function $$JSCompiler_prototypeAlias$$$getMode$() {
  return this.$_mode$;
};
$JSCompiler_prototypeAlias$$.$addTimeSelectorListener$ = function $$JSCompiler_prototypeAlias$$$$addTimeSelectorListener$$($listener$$63_movieObj$$30$$) {
  if ($listener$$63_movieObj$$30$$) {
    if ($JSCompiler_StaticMethods_TimeSelListenerHasArgs$$(this.getPeer(), $listener$$63_movieObj$$30$$) || ($listener$$63_movieObj$$30$$ += "(src, startTime, endTime)"), "FLASH" == this.getProperty("clientImageFormat") || "AUTO" == this.getProperty("clientImageFormat")) {
      if (null == this.$_timeSelListeners$ && (this.$_timeSelListeners$ = []), this.$_timeSelListeners$.push($listener$$63_movieObj$$30$$), !this.$_bFlashTimeSelListenerAdded$) {
        if (($listener$$63_movieObj$$30$$ = this.getPeer().$getFlashMovieObj$()) && $listener$$63_movieObj$$30$$.addTimeSelectorListener) {
          var $listenerStr_objName$$3$$ = $JSCompiler_StaticMethods_GetFlashTimeSelListener$$(this);
          $listener$$63_movieObj$$30$$.addTimeSelectorListener($listenerStr_objName$$3$$);
        }
        this.$_bFlashTimeSelListenerAdded$ = !0;
      }
    } else {
      "SVG" == this.getProperty("clientImageFormat") && ($listenerStr_objName$$3$$ = $JSCompiler_StaticMethods_GetSvgProxyName$$(this.getPeer(), this), window[$listenerStr_objName$$3$$] && window[$listenerStr_objName$$3$$].$addTimeSelectorListener$ && window[$listenerStr_objName$$3$$].$addTimeSelectorListener$($listener$$63_movieObj$$30$$));
    }
  }
};
$JSCompiler_prototypeAlias$$.$removeTimeSelectorListener$ = function $$JSCompiler_prototypeAlias$$$$removeTimeSelectorListener$$($listener$$64_movieObj$$31$$) {
  if ($listener$$64_movieObj$$31$$) {
    if ($JSCompiler_StaticMethods_TimeSelListenerHasArgs$$(this.getPeer(), $listener$$64_movieObj$$31$$) || ($listener$$64_movieObj$$31$$ += "(src, startTime, endTime)"), "FLASH" == this.getProperty("clientImageFormat") || "AUTO" == this.getProperty("clientImageFormat")) {
      if (null != this.$_timeSelListeners$) {
        for (var $i$$122_objName$$4$$ = 0;$i$$122_objName$$4$$ < this.$_timeSelListeners$.length;$i$$122_objName$$4$$++) {
          $listener$$64_movieObj$$31$$ == this.$_timeSelListeners$[$i$$122_objName$$4$$] && this.$_timeSelListeners$.splice($i$$122_objName$$4$$, 1);
        }
        1 > this.$_timeSelListeners$.length && this.$_bFlashTimeSelListenerAdded$ && (($listener$$64_movieObj$$31$$ = this.getPeer().$getFlashMovieObj$()) && $listener$$64_movieObj$$31$$.removeTimeSelectorListener && $listener$$64_movieObj$$31$$.removeTimeSelectorListener($JSCompiler_StaticMethods_GetFlashTimeSelListener$$(this)), this.$_bFlashTimeSelListenerAdded$ = !1);
      }
    } else {
      "SVG" == this.getProperty("clientImageFormat") && ($i$$122_objName$$4$$ = $JSCompiler_StaticMethods_GetSvgProxyName$$(this.getPeer(), this), window[$i$$122_objName$$4$$] && window[$i$$122_objName$$4$$].$removeTimeSelectorListener$ && window[$i$$122_objName$$4$$].$removeTimeSelectorListener$($listener$$64_movieObj$$31$$));
    }
  }
};
function $JSCompiler_StaticMethods_GetFlashTimeSelListener$$($JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$) {
  $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ = "AdfPage.PAGE.findComponent('" + $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$.getClientId() + "')";
  $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ = $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ + ".getPeer().NotifyTimeSelectorListeners(" + AdfDvtGraph.$TOKEN_START_DATE$;
  $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ = $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ + ", " + AdfDvtGraph.$TOKEN_END_DATE$;
  return $JSCompiler_StaticMethods_GetFlashTimeSelListener$self_str$$15$$ += ");";
}
$JSCompiler_prototypeAlias$$.$getClientImageFormat$ = function $$JSCompiler_prototypeAlias$$$$getClientImageFormat$$() {
  return this.getPeer().$getClientImageFormat$(this);
};
