| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.gui.matrix.EditMask
All known Subclasses: jsx3.gui.matrix.BlockMask,
EditMask | public class EditMask extends jsx3.lang.Object (Code) | | 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.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
EditMask | public EditMask(Context context, String extension, ScriptProxy scriptProxy)(Code) | | All reverse ajax proxies need context to work from
Parameters: scriptProxy - The place we are writing scripts to Parameters: context - The script that got us to where we are now |
commitEditMask | public void commitEditMask(jsx3.gui.Event objEvent, boolean bKeepOpen)(Code) | | Commits the current edit session of this edit mask.
Parameters: objEvent - the wrapped browser event that logically caused this commit to occur. If thisparameter is provided then all the model events related to committing an edit session are triggered. Parameters: bKeepOpen - if true then the current value of this edit mask is committed withoutclosing the current edit session. |
emGetSession | public jsx3.lang.Object emGetSession()(Code) | | 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
the edit session. |
emGetSession | public T emGetSession(Class<T> returnType)(Code) | | 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
Parameters: returnType - The expected return type the edit session. |
emInit | public void emInit(jsx3.gui.matrix.Column objColumn)(Code) | | 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. |
resumeEditSession | public void resumeEditSession()(Code) | | Resumes an edit session so that the edit session will close the next time this mask loses focus.
|
suspendEditSession | public void suspendEditSession()(Code) | | Suspends an edit session so that if this mask loses focus, the edit session does not close.
|
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|