Class s7sdk.event.ZoomPanEvent
Dispatched by NavigationView when the user has moved the view rectangle.
Constructor Attributes | Constructor Name and Description |
---|---|
s7sdk.event.ZoomPanEvent(type, dx, dy, bubbles)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
s7sdk.event.ZoomPanEvent.ACT_ZOOM_NPAN
Defines a value of the
type property of an actZoomNPan event object. |
<static> |
s7sdk.event.ZoomPanEvent.ACT_ZOOM_PAN
Defines a value of the
type property of an actZoomPan event object. |
<static> |
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_NPAN
Event dispatched whenever the user drags to pan the current image view port.
|
<static> |
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_PAN
Event dispatched when the user drags to pan the current image view port.
|
Class Detail
s7sdk.event.ZoomPanEvent(type, dx, dy, bubbles)
- Parameters:
- {String} type
- Event type from DOM.
- {Number} dx
- Horizontal change in viewport.
- {Number} dy
- Vertical change in viewport.
- {Boolean} bubbles
- Determines if the event bubbles.
Field Detail
<static>
s7sdk.event.ZoomPanEvent.ACT_ZOOM_NPAN
Defines a value of the
type
property of an actZoomNPan
event object.
The displacement values for this event are in resolution independent image coordinates where
the image upper-left corner is at 0,0 and the lower-right corner is at 1,1.
<static>
s7sdk.event.ZoomPanEvent.ACT_ZOOM_PAN
Defines a value of the
type
property of an actZoomPan
event object.
The displacement values for this event are in component coordinates.
<static>
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_NPAN
Event dispatched whenever the user drags to pan the current image view port.
Defines a value of the
type
property of a notfZoomNPan
event object.
The displacement values for this event are in component coordinates.
<static>
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_PAN
Event dispatched when the user drags to pan the current image view port.
Defines a value of the
type
property of a notfZoomPan
event object.
The image upper-left corner is at 0,0 and the lower-right corner is at 1,1.