Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: count(): Parameter must be an array or an object that implements Countable in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/JavaScriptSymbol.php on line 69 Warning: count(): Parameter must be an array or an object that implements Countable in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/JavaScriptSymbol.php on line 69

dojox/mobile/app/ImageView.js

  • Provides:

    • dojox.mobile.app.ImageView
  • Requires:

    • dojox.mobile.app._Widget in common
    • dojo.fx.easing in common
  • dojox.mobile.app.ImageView

    • type
      Function
    • chains:
      • dojox.mobile.app._Widget: (prototype)
      • dojox.mobile.app._Widget: (call)
  • dojox.mobile.app.ImageView.zoom

    • type
      Number
    • summary
      The current level of zoom.  This should not be set manually.
  • dojox.mobile.app.ImageView.zoomCenterX

    • type
      Number
    • summary
      The X coordinate in the image where the zoom is focused
  • dojox.mobile.app.ImageView.zoomCenterY

    • type
      Number
    • summary
      The Y coordinate in the image where the zoom is focused
  • dojox.mobile.app.ImageView.maxZoom

    • type
      Number
    • summary
      The highest degree to which an image can be zoomed.  For example,
      a maxZoom of 5 means that the image will be 5 times larger than normal
  • dojox.mobile.app.ImageView.autoZoomLevel

    • type
      Number
    • summary
      The degree to which the image is zoomed when auto zoom is invoked.
      The higher the number, the more the image is zoomed in.
  • dojox.mobile.app.ImageView.disableAutoZoom

    • type
      Boolean
    • summary
      Disables auto zoom
  • dojox.mobile.app.ImageView.disableSwipe

    • type
      Boolean
    • summary
      Disables the users ability to swipe from one image to the next.
  • dojox.mobile.app.ImageView.autoZoomEvent

    • type
      String
    • summary
      Overrides the default event listened to which invokes auto zoom
  • dojox.mobile.app.ImageView._leftImg

    • type
      Node
    • summary
      The small sized image to the left
  • dojox.mobile.app.ImageView._centerImg

    • type
      Node
    • summary
      The small sized image in the center
  • dojox.mobile.app.ImageView._rightImg

    • type
      Node
    • summary
      The small sized image to the right
  • dojox.mobile.app.ImageView._leftSmallImg

    • type
      Object
  • dojox.mobile.app.ImageView._centerSmallImg

    • type
      Object
  • dojox.mobile.app.ImageView._rightSmallImg

    • type
      Object
  • dojox.mobile.app.ImageView.constructor

    • constructor - constructor
    • type
      Function
  • dojox.mobile.app.ImageView.buildRendering

    • type
      Function
  • dojox.mobile.app.ImageView.canvas

    • type
      Object
  • dojox.mobile.app.ImageView.postCreate

    • type
      Function
  • dojox.mobile.app.ImageView.size

    • type
      Object
  • dojox.mobile.app.ImageView.canvas.height

  • dojox.mobile.app.ImageView.canvas.width

  • dojox.mobile.app.ImageView.isAnimating

    • summary
      Returns true if an animation is in progress, false otherwise.
    • type
      Function
  • dojox.mobile.app.ImageView.handleDragEnd

    • summary
      Handles the end of a dragging event. If not zoomed in, it
      determines if the next or previous image should be transitioned
      to.
    • type
      Function
  • dojox.mobile.app.ImageView.downX

    • type
      Object
  • dojox.mobile.app.ImageView.downY

    • type
      Object
  • dojox.mobile.app.ImageView.panX

    • type
      Number
  • dojox.mobile.app.ImageView.panY

    • type
      Number
  • dojox.mobile.app.ImageView.handleFlick

    • parameters:
      • event
    • summary
      Handle a flick event.
    • type
      Function
  • dojox.mobile.app.ImageView.moveTo

    • parameters:
      • direction
    • type
      Function
  • dojox.mobile.app.ImageView._moveDir

  • dojox.mobile.app.ImageView._switchImage

    • parameters:
      • toImg
      • fromImg
    • type
      Function
  • dojox.mobile.app.ImageView._centerImg._type

    • type
      String
  • dojox.mobile.app.ImageView._centerSmallImg._type

    • type
      String
  • dojox.mobile.app.ImageView._animPanTo

    • parameters:
      • to
      • easing
      • duration
      • callback
    • type
      Function
  • dojox.mobile.app.ImageView._animCallback

  • dojox.mobile.app.ImageView._anim

    • type
      Object
  • dojox.mobile.app.ImageView.onChange

    • parameters:
      • direction
    • summary
      Stub function that can be listened to in order to provide
      new images when the displayed image changes
    • type
      Function
  • dojox.mobile.app.ImageView._updateAnimatedPan

    • parameters:
      • amount
    • type
      Object
  • dojox.mobile.app.ImageView._onAnimPanEnd

    • type
      Object
  • dojox.mobile.app.ImageView.zoomTo

    • parameters:
      • centerX
      • centerY
      • zoom
    • type
      Function
  • dojox.mobile.app.ImageView.render

    • type
      Function
  • dojox.mobile.app.ImageView._renderImg

    • parameters:
      • smallImg
      • largeImg
      • panDir
    • summary
      Renders a single image
    • type
      Function
  • dojox.mobile.app.ImageView.dispWidth

    • type
      Number
  • dojox.mobile.app.ImageView.dispHeight

    • type
      Number
  • dojox.mobile.app.ImageView._setZoomAttr

    • parameters:
      • amount
    • type
      Function
  • dojox.mobile.app.ImageView._setZoomCenterXAttr

    • parameters:
      • value
    • type
      Function
  • dojox.mobile.app.ImageView._setZoomCenterYAttr

    • parameters:
      • value
    • type
      Function
  • dojox.mobile.app.ImageView._setZoomCenterAttr

    • parameters:
      • value
    • type
      Function
  • dojox.mobile.app.ImageView._setAnimatedZoomAttr

    • parameters:
      • amount
    • type
      Function
  • dojox.mobile.app.ImageView._updateAnimatedZoom

    • parameters:
      • amount
    • type
      Object
  • dojox.mobile.app.ImageView._setCenterUrlAttr

    • parameters:
      • urlOrObj
    • type
      Function
  • dojox.mobile.app.ImageView._setLeftUrlAttr

    • parameters:
      • urlOrObj
    • type
      Function
  • dojox.mobile.app.ImageView._setRightUrlAttr

    • parameters:
      • urlOrObj
    • type
      Function
  • dojox.mobile.app.ImageView._setImage

    • parameters:
      • name
      • urlOrObj
    • type
      Function
  • dojox.mobile.app.ImageView.handleLoad

    • parameters:
      • evt
    • summary
      Handles the loading of an image, both the large and small
      versions.  A render is triggered as a result of each image load.
    • type
      Object
  • dojox.mobile.app.ImageView.onLoad

    • parameters:
      • type: (typeof String)
        The position of the image that has loaded, either
        "center", "left" or "right"
      • url: (typeof String)
        The src of the image
      • isSmall: (typeof Boolean)
        True if it is a small version of the image that has loaded,
        false otherwise.
    • summary
      Dummy function that is called whenever an image loads.
    • type
      Function
  • dojox.mobile.app

    • type
      Object
  • dojox.mobile

    • type
      Object
  • dojox

    • type
      Object