The interface defining the methods that affect the behavior of an object used as an edit mask in a matrix column.
If an object is placed in the DOM as a child of a matrix column, it will be used as an edit mask. Any methods
in this interface that the object does not implement will be inserted into the object. This interface is a "loose"
interface because the class of an edit mask does not need to implement it in its class declaration. The class
simply needs to define any methods whose default behavior it wishes to override.
Any edit mask that implements the
jsx3.gui.Form interface will have the methods in this interface
inserted into it. If the edit mask does not implement
jsx3.gui.Form but extends
jsx3.gui.Block, the methods in the
jsx3.gui.Matrix.BlockMask interface are inserted
instead.
| Method Summary |
|---|
| void | Commits the current edit session of this edit mask. |
| boolean | Called whenever an edit session begins. |
| String | Called when the current edit session ends. |
| Object<String, Object> | Returns the state of the current edit session if this object is involved in a jsx3.gui.Matrix
edit mask session. |
| String | Returns the current value stored in the edit mask. |
| void | This method is called once when the edit mask is discovered by the matrix column to give it an opportunity
to initialize itself. |
| void | Resumes an edit session so that the edit session will close the next time this mask loses focus. |
| void | Suspends an edit session so that if this mask loses focus, the edit session does not close. |
Commits the current edit session of this edit mask.
Parameters:
objEvent – the wrapped browser event that logically caused this commit to occur. If this
parameter is provided then all the model events related to committing an edit session are triggered.
bKeepOpen – if true then the current value of this edit mask is committed without
closing the current edit session.
Called whenever an edit session begins.
Parameters:
strValue –
objTdDim –
objPaneDim –
objMatrix –
objColumn –
strRecordId –
objTD –
Returns:
false to cancel the edit session.
Called when the current edit session ends. This method should return the edited value.
Returns:
the edited value.
Returns the state of the current edit session if this object is involved in a
jsx3.gui.Matrix
edit mask session. The state has the following keys:
- matrix {jsx3.gui.Matrix}
- column {jsx3.gui.Matrix.Column}
- recordId {String}
- td {HTMLElement}
- value {String} may be
null
Returns:
the edit session.
Returns the current value stored in the edit mask.
Returns:
the current value of the edit mask.
This method is called once when the edit mask is discovered by the matrix column to give it an opportunity
to initialize itself.
Parameters:
objColumn – the matrix column parent.
Resumes an edit session so that the edit session will close the next time this mask loses focus.
Suspends an edit session so that if this mask loses focus, the edit session does not close.
Copyright © 2001-2007, TIBCO Software Inc.