jsx3.gui.BlockXAPI
| After Move | Fires when the user releases the mouse button after moving this block across the screen. |
| Before Move | Fires when the user depresses the mouse button on this movable block. |
| Ctrl Drop | Fires after the user drops an object on this block while pressing the Ctrl key. |
| Destroy | Fires after this block is removed from the DOM. |
| Double-Click | Fires after the user double-clicks this block. |
| Drag | Fires when the user drags this block. |
| Drop | Fires after the user drops an object on this block. |
| Key Down | Fires after a browser keydown event when this block has focus. |
| Menu | Fires after the user right-clicks this block and before the bound context menu displays. |
| Spyglass | Fires after the user hovers the mouse over this block and before the spyglass displays. |
Fires when the user drags this block. Canceling this event prevents the drag from occurring.
Cancelable: Evaluate to false to cancel event.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
strDRAGTYPE {
String} - the type of drag (JSXDragType).
strDRAGID {
String} - the id of the dragged element (JSXDragId).
Fires after a browser keydown event when this block has focus.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Fires after the user double-clicks this block.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Fires after the user drops an object on this block.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
strDRAGTYPE {
String} - the type of drag (JSXDragType).
strDRAGID {
String} - the id of the dragged element (JSXDragId).
Fires after the user drops an object on this block while pressing the Ctrl key.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
strDRAGTYPE {
String} - the type of drag (JSXDragType).
strDRAGID {
String} - the id of the dragged element (JSXDragId).
Fires after the user hovers the mouse over this block and before the spyglass displays. The event script must evaluate to the HTML content to display in the spyglass. Canceling this event prevents the spyglass from displaying.
Cancelable: Evaluate to false to cancel event.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Fires after the user right-clicks this block and before the bound context menu displays. Canceling this event prevents the menu from displaying.
Cancelable: Evaluate to false to cancel event.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Return Fields
objMENU {
jsx3.gui.Menu} - use this field to override the default menu with an instance of
jsx3.gui.Menu.
Fires when the user depresses the mouse button on this movable block. Canceling this event prevents this block from moving.
Cancelable: Evaluate to false to cancel event.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Return Fields
bCONSTRAINX {
boolean} - set to
true if only vertical movement allowed. For example:
o = {bCONSTRAINX:true}; bCONSTRAINY {
boolean} - set to
true if only horizontal movement allowed. For example:
o = {bCONSTRAINY:true};
Fires when the user releases the mouse button after moving this block across the screen.
Context Variables
objEVENT {
jsx3.gui.Event} - the browser event that triggers this event.
Fires after this block is removed from the DOM.
Context Variables
objPARENT {
jsx3.app.Model} - the parent of this block before it is removed from the DOM.
Copyright © 2001-2007, TIBCO Software Inc.