Packagecom.gestureworks.cml.components
Classpublic class PanoramicViewer
InheritancePanoramicViewer Inheritance com.gestureworks.cml.components.Component

The PanoramicViewer component is primarily meant to display a Panoramic element and its associated meta-data.

It is composed of the following:

The width and height of the component are automatically set to the dimensions of the Panoramic element unless it is previously specifed by the component.

      

            
     

See also

Component
com.gestureworks.cml.elements.Panoramic
com.gestureworks.cml.elements.TouchContainer


Public Properties
 PropertyDefined By
  panoramic : *
Sets the panoramic element.
PanoramicViewer
Public Methods
 MethodDefined By
  
Constructor
PanoramicViewer
  
dispose():void
[override] Dispose method to nullify the attributes and remove listener
PanoramicViewer
  
init():void
[override] Initialization function
PanoramicViewer
Protected Methods
 MethodDefined By
  
updateLayout(event:* = null):void
[override]
PanoramicViewer
Property Detail
panoramicproperty
panoramic:*

Sets the panoramic element. This can be set using a simple CSS selector (id or class) or directly to a display object. Regardless of how this set, a corresponding display object is always returned.


Implementation
    public function get panoramic():*
    public function set panoramic(value:any):void
Constructor Detail
PanoramicViewer()Constructor
public function PanoramicViewer()

Constructor

Method Detail
dispose()method
override public function dispose():void

Dispose method to nullify the attributes and remove listener

init()method 
override public function init():void

Initialization function

updateLayout()method 
override protected function updateLayout(event:* = null):void

Parameters

event:* (default = null)