JC Panorama Events
Overview | Properties | Methods | Events | Hotspots | Editor
Event | Description |
HOTSPOT_ACTION |
The event is dispatched when the action of a hotspot is initiated. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
HOTSPOT_DOUBLE_CLICK |
The event is dispatched when there's a double click mouse action on the hotspot. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
HOTSPOT_PRESS |
The event is dispatched when there's a mouse press action on the hotspot. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
HOTSPOT_RELEASE |
The event is dispatched when there's a mouse release action on the hotspot. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
HOTSPOT_ROLL_OUT |
The event is dispatched when the mouse rolls outside the hotspot. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
HOTSPOT_ROLL_OVER |
The event is dispatched when the mouse rolls over the hotspot. The event object contains information about the hotspot and the content. Event object properties: - attributes:Array - all the attributes of the target hotspot - content:Object - a reference to the hotspot object Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
IMAGE_LOAD_COMPLETE |
The event is dispatched when the images has completely loaded. This event is dispatched for each image separately. The event object specifies how much of image has loaded and the total size of the image. Event object properties: - index:int - the index of the image that was loaded - path:String - the path and file name of the image that was loaded Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
IMAGE_LOAD_ERROR |
The event is dispatched when there was an error during the loading process of an image. This event is dispatched for each image separately. The event object specifies how much of image has loaded and the total size of the image. Event object properties: - index:int - the index of the image that starts loading - path:String - the path and file name of the image that starts loading Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
IMAGE_LOAD_PROGRESS |
The event is dispatched during the loading process of the images of the panorama. This event is dispatched for each image separately. The event object specifies how much of image has loaded and the total size of the image. Event object properties: - index:int - the index of the image that starts loading - path:String - the path and file name of the image that starts loading - bytesLoaded:int - how much of the target image has been loaded so far - bytesTotal:int - the total size of the target image Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
IMAGE_LOAD_START |
The event is dispatched when an image starts loading into the panorama. This event is dispatched for each image separately. The event object provides the index of the image and its path. Event object properties: - index:int - the index of the image that starts loading - path:String - the path and file name of the image that starts loading Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
INIT |
The event is dispatched when the panorama is already initialized and displayed. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
LOAD_COMPLETE |
The event is dispatched when the panorama starts loading the images. This event is dispatched once, when each panorama has finished loading. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
LOAD_PROGRESS |
The event is dispatched during the loading process of the panorama's contents. This event is dispatched once for each panorama. Event object properties: - index:int - the number of loaded images so far - totalImages:int - the total number of images that should be loaded Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
LOAD_START |
The event is dispatched when the panorama starts loading the images. This event is dispatched once, when each panorama starts loading. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
NODE_CHANGED |
The event is dispatched when a node of the virtual tour has changed. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
ROTATE |
The event is dispatched when the camera is rotated. The new pan and tilt values can be retrieved directly from the component instance. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
TRANSITION_FINISH |
The event is dispatched when the transition between two virtual tour nodes has finished. Event object properties: - transitionType:String - the type of transition that is executing: show or hide Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
TRANSITION_START |
The event is dispatched when the transition between two virtual tour nodes starts. Event object properties: - transitionType:String - the type of transition that is executing: show or hide Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
UNLOAD |
The event is dispatched when currently loaded panorama gets unloaded (call to the unload() method), deleted (call to the deletePanorama() method) or replaced by another panorama (a new XML data is loaded via the xmlPath or xml property). Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
XML_LOAD_COMPLETE |
The event is dispatched after the XML data has completely loaded. Event object properties: - path:String - the path and file name of the source .xml file - bytesTotal:int - the total size of the XML data - xml:XML - a reference to the object containing the XML data Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
XML_LOAD_PROGRESS |
The event is dispatched during the loading process of the XML data. Event object properties: - path:String - the path and file name of the source .xml file - bytesLoaded:int - how much of the XML data has loaded so far - bytesTotal:int - the total size of the XML data Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
XML_LOAD_START |
The event is dispatched when the panorama starts loading the .xml file. Event object properties: - path:String - the path and file name of the source .xml file Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
ZOOM |
The event is dispatched when the zoom level changes. The new zoom value can be retrieved directly from the component instance. Example:
import com.jumpeye.Events.JCPanoramaViewerEvents;
|
Overview | Properties | Methods | Events | Hotspots | Editor
The free version contains limitations and displays a watermark. This version can be used for trial purposes.
Planar and cylindrical panorama types only
Watermarked