Class Index | File Index

Classes


Class pwlib.appEvent.selectionChange


Extends pwlib.appEvent.
Selection change event. This event is not cancelable.
Defined in: selection.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
pwlib.appEvent.selectionChange(state, x, y, width, height)
Field Summary
Field Attributes Field Name and Description
 
Selection height.
 
Selection state.
<constant>  
No selection is available.
<constant>  
Selection available.
 
Selection width.
 
x
Selection location on the x-axis of the image.
 
y
Selection location on the y-axis of the image.
Fields borrowed from class pwlib.appEvent:
cancelable, defaultPrevented, target, type
Methods borrowed from class pwlib.appEvent:
preventDefault, stopPropagation, toString
Class Detail
pwlib.appEvent.selectionChange(state, x, y, width, height)
Parameters:
{Number} state
Tells the new state of the selection.
{Number} x Optional
Selection start position on the x-axis of the image.
{Number} y Optional
Selection start position on the y-axis of the image.
{Number} width Optional
Selection width.
{Number} height Optional
Selection height.
Field Detail
{Number} height
Selection height.

{Number} state
Selection state.

<constant> STATE_NONE
No selection is available.

<constant> STATE_SELECTED
Selection available.

{Number} width
Selection width.

{Number} x
Selection location on the x-axis of the image.

{Number} y
Selection location on the y-axis of the image.

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Jun 26 2010 21:57:00 GMT+0300 (EEST)