| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.app.Model jsx3.gui.Painted jsx3.gui.Block jsx3.gui.Select
Select | public class Select extends jsx3.gui.Block (Code) | | The JSX version of a standard GUI select box. XML drives the contents of the select box.
This class requires a CDF data source. The supported CDF attributes are:
jsxid Ð the required unique record id.
jsxtext Ð the text to display in the select box for the record.
jsxtip Ð the tip to show when the mouse hovers over the record.
jsxstyle Ð the CSS style to apply to the record.
jsximg Ð a relative path to an image (16x16) to display to the left of @jsxtext.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Field Summary | |
final public static String | ARROWICON The URL of the arrow image. | final public static String | DEFAULTCLASSNAME | final public static String | DEFAULTXSLURL The URL of the default XSL template of a normal select box. | final public static String | OVERIMAGE The URL of the mouse over background image. | final public static String | SELECTEDIMAGE The URL of the selected background image. | final public static int | TYPEAHEADDELAY The number of milliseconds of delay for the combo typeahead function. | final public static int | TYPECOMBO Value of the type field indicating a combo select box. | final public static int | TYPESELECT Value of the type field indicating a normal select box. |
Constructor Summary | |
public | Select(Context context, String extension, ScriptProxy scriptProxy) | public | Select(String strName, int vntLeft, int vntTop, int vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, int vntTop, String vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, String vntTop, String vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, String vntTop, String vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, int vntTop, String vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, int vntTop, int vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, String vntTop, int vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, String vntTop, String vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, String vntTop, int vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, int vntTop, String vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, int vntTop, int vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, int vntTop, String vntWidth, String vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, int vntLeft, String vntTop, int vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, String vntTop, String vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, String vntTop, int vntWidth, int vntHeight, String strSelectedValue) The instance initializer. | public | Select(String strName, String vntLeft, int vntTop, int vntWidth, int vntHeight, String strSelectedValue) The instance initializer. |
Method Summary | |
public jsx3.xml.Node | adoptRecord(jsx3.xml.CdfDocument strSourceId, String strRecordId, String strParentRecordId, boolean bRedraw) Transfers a CDF record from another object to this object. | public jsx3.xml.Node | adoptRecord(String strSourceId, String strRecordId, String strParentRecordId, boolean bRedraw) Transfers a CDF record from another object to this object. | public jsx3.xml.Node | adoptRecordBefore(jsx3.xml.CdfDocument strSourceId, String strRecordId, String strSiblingRecordId, boolean bRedraw) Equivalent to adoptRecord, except that the to-be relationship is as a previousSibling to the CDF record identified by the parameter, strSiblingRecordId
This method fails quietly if any of the following conditions apply:
there is no record with a jsxid equal to strSourceId
there is no record in the source object with a jsxid equal to strRecordId
strSiblingRecordId is specified and there is no record in this object with a
jsxid equal to strParentRecordId
this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strSiblingRecordId - the unique jsxid of an existing record in front ofwhich the record identified by strSourceId will be placed Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. | public jsx3.xml.Node | adoptRecordBefore(String strSourceId, String strRecordId, String strSiblingRecordId, boolean bRedraw) Equivalent to adoptRecord, except that the to-be relationship is as a previousSibling to the CDF record identified by the parameter, strSiblingRecordId
This method fails quietly if any of the following conditions apply:
there is no record with a jsxid equal to strSourceId
there is no record in the source object with a jsxid equal to strRecordId
strSiblingRecordId is specified and there is no record in this object with a
jsxid equal to strParentRecordId
this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strSiblingRecordId - the unique jsxid of an existing record in front ofwhich the record identified by strSourceId will be placed Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. | public void | clearXmlData() Resets the XML source document stored in the server cache under the XML ID of this object to an empty CDF
document. | public void | convertProperties(java.util.Properties objProps, Object[] arrProps, boolean bUnion) Converts all attributes in this CDF document that are property keys of the form {key} to
the value of the property. | public jsx3.xml.Node | deleteRecord(String strRecordId, boolean bRedraw) Removes a record from the XML data source of this object.
Parameters: strRecordId - the jsxid attribute of the data record to remove. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. | public void | deleteRecordProperty(String strRecordId, String strPropName, boolean bRedraw) Removes a specific property from a record. | public jsx3.gui.HotKey | doKeyBinding(org.directwebremoting.proxy.CodeBlock fctCallback, String strKeys) Binds the given key sequence to a callback function. | public jsx3.gui.Form | doReset() Resets the validation state of this control. | public T | doReset(Class<T> returnType) Resets the validation state of this control. | public void | doValidate(org.directwebremoting.proxy.Callback<Integer> callback) Returns STATEVALID if this select box is not required or if it is required and its value is not
empty. | public void | getDefaultText(org.directwebremoting.proxy.Callback<String> callback) Returns the text to display in this select box if the value of this select box is null. | public void | getDisabledBackgroundColor(org.directwebremoting.proxy.Callback<String> callback) Returns the background color of this control when it is disabled. | public void | getDisabledColor(org.directwebremoting.proxy.Callback<String> callback) Returns the font color to use when this control is disabled. | public void | getEnabled(org.directwebremoting.proxy.Callback<Integer> callback) Returns the state for the form field control. | public void | getKeyBinding(org.directwebremoting.proxy.Callback<String> callback) Returns the key binding that when keyed will fire the execute event for this control. | public void | getMaxLength(org.directwebremoting.proxy.Callback<Integer> callback) Returns the maximum length allowed for the input field of this combo control. | public jsx3.lang.Object | getRecord(String strRecordId) Returns an object containing the attributes of a particular CDF record as property/value pairs. | public T | getRecord(String strRecordId, Class<T> returnType) Returns an object containing the attributes of a particular CDF record as property/value pairs. | public jsx3.xml.Node | getRecordNode(String strRecordId) Returns a record from the XML data source of this object. | public void | getRequired(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not this control is required. | public void | getShareResources(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed. | public void | getType(org.directwebremoting.proxy.Callback<Integer> callback) Returns the type of this select box. | public void | getValidationState(org.directwebremoting.proxy.Callback<Integer> callback) Returns the validation state of this control. | public void | getValue(org.directwebremoting.proxy.Callback<String> callback) Returns the value of this select box. | public jsx3.xml.CdfDocument | getXML() Returns the XML source document of this object. | public T | getXML(Class<T> returnType) Returns the XML source document of this object. | public void | getXMLId(org.directwebremoting.proxy.Callback<String> callback) Returns the XML ID of this object. | public void | getXMLString(org.directwebremoting.proxy.Callback<String> callback) Returns the XML string of this object. | public void | getXMLTransformers(org.directwebremoting.proxy.Callback<Object[]> callback) Returns the list of XML transformers of this object. | public void | getXMLURL(org.directwebremoting.proxy.Callback<String> callback) Returns the XML URL of this object. | public jsx3.xml.CdfDocument | getXSL() Returns the XSL appropriate to the select type (either combo or select) if no custom XSLT is specified. | public T | getXSL(Class<T> returnType) Returns the XSL appropriate to the select type (either combo or select) if no custom XSLT is specified. | public void | getXSLId(org.directwebremoting.proxy.Callback<String> callback) Returns the XSL ID of this object. | public jsx3.lang.Object | getXSLParams() Returns a map containing all the parameters to pass to the XSL stylesheet during transformation. | public T | getXSLParams(Class<T> returnType) Returns a map containing all the parameters to pass to the XSL stylesheet during transformation. | public void | getXmlAsync(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether the XML data source of this object is loaded asynchronously. | public void | getXmlBind(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether this object is bound to the XML document stored in the data cache. | public void | hide(boolean bFocus) Hides the drop-down portion of this select control. | public jsx3.xml.Node | insertRecord(jsx3.lang.Object objRecord, String strParentRecordId, boolean bRedraw) Inserts a new record into the XML data source of this object. | public jsx3.xml.Node | insertRecordBefore(jsx3.lang.Object objRecord, String strSiblingRecordId, boolean bRedraw) Creates a new CDF record and inserts it into the CDF data source of this object, before the record identified by strSiblingRecordId.
This method fails quietly if any of the following conditions apply:
there is no existing record with a jsxid equal to strSiblingRecordId
there is an existing record with jsxid equal to objRecord.jsxid
Parameters: objRecord - a JavaScript object containing property/value pairs that define theattributes of the XML entity to create. | public void | insertRecordNode(jsx3.xml.Node objRecordNode, String strParentRecordId, boolean bRedraw) Inserts a new record into the XML data source of this object. | public jsx3.xml.CdfDocument | insertRecordProperty(String strRecordId, String strPropName, String strPropValue, boolean bRedraw) Inserts a new property into an existing record with jsxid equal to strRecordId.
If the property already exists, the existing property value will be updated. | public T | insertRecordProperty(String strRecordId, String strPropName, String strPropValue, boolean bRedraw, Class<T> returnType) Inserts a new property into an existing record with jsxid equal to strRecordId.
If the property already exists, the existing property value will be updated. | public void | onXmlBinding(jsx3.lang.Object objEvent) This method is called in two situations:
When the datasource of this object finishes loading (success, error, or timeout), if the
xmlAsync property of this object is true, its datasource is specified as an
XML URL, and the first time doTransform() was called the datasource was still loading. | public jsx3.gui.Select | redrawRecord(String strRecordId, int intAction) Redraws one record from the CDF data source of this select box. | public jsx3.xml.Cacheable | removeXSLParam(String strName) Removes a parameter from the list of parameters to pass to the XSL stylesheet during transformation.
Parameters: strName - the name of the XSL parameter to remove. | public T | removeXSLParam(String strName, Class<T> returnType) Removes a parameter from the list of parameters to pass to the XSL stylesheet during transformation. | public jsx3.xml.Cacheable | removeXSLParams() Removes all parameters from the list of parameters to pass to the XSL stylesheet during transformation. | public T | removeXSLParams(Class<T> returnType) Removes all parameters from the list of parameters to pass to the XSL stylesheet during transformation. | public void | resetCacheData(jsx3.app.Server objServer) Removes the XML and XSL source documents from the server cache.
Parameters: objServer - the server owning the cache to modify. | public void | resetXmlCacheData(jsx3.app.Server objServer) Removes the XML source document stored under the XML ID of this object from the server cache.
Parameters: objServer - the server owning the cache to modify. | public jsx3.gui.Select | setDefaultText(String strDefaultText) Sets the text to display in this select box if the value of this select box is null.
Parameters: strDefaultText - any valid string. | public jsx3.gui.Form | setDisabledBackgroundColor(String strColor) Sets the background color of this form control when it is disabled. | public T | setDisabledBackgroundColor(String strColor, Class<T> returnType) Sets the background color of this form control when it is disabled. | public jsx3.gui.Form | setDisabledColor(String strColor) Sets the font color to use when this control is disabled. | public T | setDisabledColor(String strColor, Class<T> returnType) Sets the font color to use when this control is disabled. | public void | setEnabled(int intEnabled, boolean bRepaint) Sets whether this control is enabled. | public jsx3.gui.Form | setKeyBinding(String strSequence) Sets the key binding that when keyed will fire the bound execute (jsx3.gui.Interactive.EXECUTE)
event for this control. | public T | setKeyBinding(String strSequence, Class<T> returnType) Sets the key binding that when keyed will fire the bound execute (jsx3.gui.Interactive.EXECUTE)
event for this control. | public jsx3.gui.Select | setMaxLength(int intMaxLength) Sets the maximum length allowed for the input field of this combo control. | public jsx3.gui.Form | setRequired(int required) Sets whether or not this control is required.
Parameters: required - {int} REQUIRED or OPTIONAL . | public T | setRequired(int required, Class<T> returnType) Sets whether or not this control is required. | public jsx3.xml.Cacheable | setShareResources(int intShare) Sets whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed.
Parameters: intShare - CLEANUPRESOURCES or SHARERESOURCES . | public T | setShareResources(int intShare, Class<T> returnType) Sets whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed.
Parameters: intShare - CLEANUPRESOURCES or SHARERESOURCES . | public jsx3.xml.CdfDocument | setSourceXML(jsx3.xml.CdfDocument objDoc, jsx3.app.Cache objCache) Sets the source document of this object as though objDoc were retrieved from the XML URL or XML
string of this object. | public T | setSourceXML(jsx3.xml.CdfDocument objDoc, jsx3.app.Cache objCache, Class<T> returnType) Sets the source document of this object as though objDoc were retrieved from the XML URL or XML
string of this object. | public jsx3.gui.Select | setType(int TYPE) Sets the type of this select box.
Parameters: TYPE - TYPESELECT or TYPECOMBO . | public jsx3.gui.Form | setValidationState(int intState) Sets the validation state of this control. | public T | setValidationState(int intState, Class<T> returnType) Sets the validation state of this control. | public jsx3.gui.Select | setValue(String strRecordId) Sets the selected record of this select control. | public jsx3.xml.Cacheable | setXMLId(String strXMLId) Sets the XML ID of this object. | public T | setXMLId(String strXMLId, Class<T> returnType) Sets the XML ID of this object. | public jsx3.xml.Cacheable | setXMLString(String strXML) Sets the XML string of this object. | public T | setXMLString(String strXML, Class<T> returnType) Sets the XML string of this object. | public void | setXMLTransformers(Object[] arrTrans) Sets the list of XML transformers of this object. | public jsx3.xml.Cacheable | setXMLURL(String strXMLURL) Sets the XML URL of this object. | public T | setXMLURL(String strXMLURL, Class<T> returnType) Sets the XML URL of this object. | public jsx3.xml.Cacheable | setXSLParam(String strName, String strValue) Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. | public T | setXSLParam(String strName, String strValue, Class<T> returnType) Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. | public jsx3.xml.Cacheable | setXmlAsync(boolean bAsync) Sets whether the XML data source of this object is loaded asynchronously. | public T | setXmlAsync(boolean bAsync, Class<T> returnType) Sets whether the XML data source of this object is loaded asynchronously. | public void | setXmlBind(boolean bBind, org.directwebremoting.proxy.Callback<Integer> callback) Sets whether this object is bound to the XML document stored in the data cache. | public void | show() Displays the list of options for this select box. |
ARROWICON | final public static String ARROWICON(Code) | | The URL of the arrow image.
|
DEFAULTCLASSNAME | final public static String DEFAULTCLASSNAME(Code) | | jsx30select_select
|
DEFAULTXSLURL | final public static String DEFAULTXSLURL(Code) | | The URL of the default XSL template of a normal select box.
|
OVERIMAGE | final public static String OVERIMAGE(Code) | | The URL of the mouse over background image.
|
SELECTEDIMAGE | final public static String SELECTEDIMAGE(Code) | | The URL of the selected background image.
|
TYPEAHEADDELAY | final public static int TYPEAHEADDELAY(Code) | | The number of milliseconds of delay for the combo typeahead function.
|
TYPECOMBO | final public static int TYPECOMBO(Code) | | Value of the type field indicating a combo select box.
|
TYPESELECT | final public static int TYPESELECT(Code) | | Value of the type field indicating a normal select box.
|
Select | public Select(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 |
Select | public Select(String strName, int vntLeft, int vntTop, int vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, int vntTop, String vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, String vntTop, String vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, String vntTop, String vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, int vntTop, String vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, int vntTop, int vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, String vntTop, int vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, String vntTop, String vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, String vntTop, int vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, int vntTop, String vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, int vntTop, int vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, int vntTop, String vntWidth, String vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, int vntLeft, String vntTop, int vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, String vntTop, String vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, String vntTop, int vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
Select | public Select(String strName, String vntLeft, int vntTop, int vntWidth, int vntHeight, String strSelectedValue)(Code) | | The instance initializer.
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: vntLeft - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntTop - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntWidth - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: vntHeight - either a number (i.e, 12, 30, etc) or a number and a unit value (i.e., "25%", "36pt", etc); if a number is passed, pixels will be the assumed unit when painted to screen Parameters: strSelectedValue - this value should correspond to the XML value for the node whose text should be preloaded in the select box when it is painted |
adoptRecord | public jsx3.xml.Node adoptRecord(jsx3.xml.CdfDocument strSourceId, String strRecordId, String strParentRecordId, boolean bRedraw)(Code) | | Transfers a CDF record from another object to this object. If no XML data source exists
yet for this object, an empty one is created before adding the new record. This method always updates the
on-screen view of both the source and destination objects.
This method fails quietly if any of the following conditions apply:
there is no object with id equal to strSourceId
there is no record in the source object with jsxid equal to strRecordId
strParentRecordId is specified and there is no record in this object with
jsxid equal to strParentRecordId
the this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strParentRecordId - the unique jsxid of an existing record. If this optional parameteris provided, the adopted record will be added as a child of this record. Otherwise, the adopted record willbe added to the root data element. Parameters: bRedraw - forces suppression of the insert event the adopted record. |
adoptRecord | public jsx3.xml.Node adoptRecord(String strSourceId, String strRecordId, String strParentRecordId, boolean bRedraw)(Code) | | Transfers a CDF record from another object to this object. If no XML data source exists
yet for this object, an empty one is created before adding the new record. This method always updates the
on-screen view of both the source and destination objects.
This method fails quietly if any of the following conditions apply:
there is no object with id equal to strSourceId
there is no record in the source object with jsxid equal to strRecordId
strParentRecordId is specified and there is no record in this object with
jsxid equal to strParentRecordId
the this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strParentRecordId - the unique jsxid of an existing record. If this optional parameteris provided, the adopted record will be added as a child of this record. Otherwise, the adopted record willbe added to the root data element. Parameters: bRedraw - forces suppression of the insert event the adopted record. |
adoptRecordBefore | public jsx3.xml.Node adoptRecordBefore(jsx3.xml.CdfDocument strSourceId, String strRecordId, String strSiblingRecordId, boolean bRedraw)(Code) | | Equivalent to adoptRecord, except that the to-be relationship is as a previousSibling to the CDF record identified by the parameter, strSiblingRecordId
This method fails quietly if any of the following conditions apply:
there is no record with a jsxid equal to strSourceId
there is no record in the source object with a jsxid equal to strRecordId
strSiblingRecordId is specified and there is no record in this object with a
jsxid equal to strParentRecordId
this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strSiblingRecordId - the unique jsxid of an existing record in front ofwhich the record identified by strSourceId will be placed Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. the adopted record. |
adoptRecordBefore | public jsx3.xml.Node adoptRecordBefore(String strSourceId, String strRecordId, String strSiblingRecordId, boolean bRedraw)(Code) | | Equivalent to adoptRecord, except that the to-be relationship is as a previousSibling to the CDF record identified by the parameter, strSiblingRecordId
This method fails quietly if any of the following conditions apply:
there is no record with a jsxid equal to strSourceId
there is no record in the source object with a jsxid equal to strRecordId
strSiblingRecordId is specified and there is no record in this object with a
jsxid equal to strParentRecordId
this object already has a record with jsxid equal to the record to adopt
Parameters: strSourceId - either the id of the source object or the source object itself. Parameters: strRecordId - the jsxid attribute of the data record in the source object to transfer. Parameters: strSiblingRecordId - the unique jsxid of an existing record in front ofwhich the record identified by strSourceId will be placed Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. the adopted record. |
clearXmlData | public void clearXmlData()(Code) | | Resets the XML source document stored in the server cache under the XML ID of this object to an empty CDF
document.
|
convertProperties | public void convertProperties(java.util.Properties objProps, Object[] arrProps, boolean bUnion)(Code) | | Converts all attributes in this CDF document that are property keys of the form {key} to
the value of the property.
Parameters: objProps - the properties repository to query. Parameters: arrProps - if provided, these attributes are converted rather than the default set ofattributes. Parameters: bUnion - if true , arrProps is combined with the default set ofattributes and those attributes are converted. |
deleteRecord | public jsx3.xml.Node deleteRecord(String strRecordId, boolean bRedraw)(Code) | | Removes a record from the XML data source of this object.
Parameters: strRecordId - the jsxid attribute of the data record to remove. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted record. the record removed from the data source or null if no such record found. |
deleteRecordProperty | public void deleteRecordProperty(String strRecordId, String strPropName, boolean bRedraw)(Code) | | Removes a specific property from a record. If no such record exists in the XML document, this method fails quietly.
Parameters: strRecordId - the jsxid attribute of the data record to modify. Parameters: strPropName - the name of the property to remove from the record. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the deleted property. |
doKeyBinding | public jsx3.gui.HotKey doKeyBinding(org.directwebremoting.proxy.CodeBlock fctCallback, String strKeys)(Code) | | Binds the given key sequence to a callback function. Any object that has a key binding (specified with
setKeyBinding()) will call this method when painted to register the key sequence with an appropriate
ancestor of this form control. Any key down event that bubbles up to the ancestor without being intercepted
and matches the given key sequence will invoke the given callback function.
As of 3.2: The hot key will be registered with the first ancestor found that is either a
jsx3.gui.Window, a jsx3.gui.Dialog, or the root block of a jsx3.app.Server.
Parameters: fctCallback - JavaScript function to execute when the given sequence is keyed by the user. Parameters: strKeys - a plus-delimited ('+') key sequence such as ctrl+s orctrl+shift+alt+h or shift+a , etc. Any combination of shift, ctrl, and alt aresupported, including none. Also supported as the final token are enter , esc ,tab , del , and space . To specify the final token as a key code, thelast token can be the key code contained in brackets, [13] . the registered hot key. |
doReset | public jsx3.gui.Form doReset()(Code) | | Resets the validation state of this control.
this object. |
doReset | public T doReset(Class<T> returnType)(Code) | | Resets the validation state of this control.
Parameters: returnType - The expected return type this object. |
doValidate | public void doValidate(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns STATEVALID if this select box is not required or if it is required and its value is not
empty. If this select is of type combo then any value other than an empty string is valid, otherwise only values
corresponding to an actual CDF record of this select are valid.
Parameters: callback - jsx3.gui.Form.STATEVALID or jsx3.gui.Form.STATEINVALID . |
getDefaultText | public void getDefaultText(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the text to display in this select box if the value of this select box is null.
If no value has been explicitly set with setDefaultText() a value appropriate to the server locale
is returned.
|
getDisabledBackgroundColor | public void getDisabledBackgroundColor(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the background color of this control when it is disabled.
Parameters: callback - valid CSS property value, (i.e., red, #ff0000) |
getEnabled | public void getEnabled(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the state for the form field control. If no enabled state is set, this method returns
STATEENABLED.
Parameters: callback - STATEDISABLED or STATEENABLED . |
getKeyBinding | public void getKeyBinding(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the key binding that when keyed will fire the execute event for this control.
Parameters: callback - plus-delimited (e.g.,'+') key sequence such as ctrl+s or ctrl+shift+alt+h or shift+a, etc |
getRecord | public jsx3.lang.Object getRecord(String strRecordId)(Code) | | Returns an object containing the attributes of a particular CDF record as property/value pairs. The object returned by this
method is a copy of the underlying data. Therefore, updates to this object will not affect the underlying data.
The following two lines of code evaluate to the same value:
objCDF.getRecord(strId).propName;
objCDF.getRecordNode(strId).getAttribute("propName");
Parameters: strRecordId - the jsxid attribute of the data record to return. the object representation of a CDF node or null if no such record found. |
getRecord | public T getRecord(String strRecordId, Class<T> returnType)(Code) | | Returns an object containing the attributes of a particular CDF record as property/value pairs. The object returned by this
method is a copy of the underlying data. Therefore, updates to this object will not affect the underlying data.
The following two lines of code evaluate to the same value:
objCDF.getRecord(strId).propName;
objCDF.getRecordNode(strId).getAttribute("propName");
Parameters: strRecordId - the jsxid attribute of the data record to return. Parameters: returnType - The expected return type the object representation of a CDF node or null if no such record found. |
getRecordNode | public jsx3.xml.Node getRecordNode(String strRecordId)(Code) | | Returns a record from the XML data source of this object. This returned value is a handle to the record and
not a clone. Therefore, any updates made to the returned value with update the XML document of this object.
To reflect such changes in the on-screen view of this object, call
redrawRecord(strRecordId, jsx3.xml.CDF.UPDATE); on this object.
Parameters: strRecordId - the jsxid attribute of the data record to return. the record node or null if none exists with a jsxid attribute equal to strRecordId . |
getRequired | public void getRequired(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not this control is required. If the required property has never been set, this method returns
OPTIONAL.
Parameters: callback - REQUIRED or OPTIONAL . |
getShareResources | public void getShareResources(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed.
Parameters: callback - CLEANUPRESOURCES or SHARERESOURCES . |
getValidationState | public void getValidationState(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the validation state of this control. If the validationState property has never been set, this method returns
STATEVALID.
Parameters: callback - STATEINVALID or STATEVALID . |
getValue | public void getValue(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the value of this select box. The value is the jsxid attribute of the selected CDF record.
Parameters: callback - the value or null if no record is selected. |
getXML | public jsx3.xml.CdfDocument getXML()(Code) | | Returns the XML source document of this object. The XML document is determined by the following steps:
If an XML document exists in the server cache under an ID equal to the XML ID of this object, that
document is returned.
If the XML string of this object is not empty, a new document is created by parsing this string.
If the XML URL of this object is not empty, a new document is created by parsing the file at the location
specified by the URL resolved against the server owning this object.
Otherwise, an empty CDF document is returned.
If a new document is created for this object (any of the steps listed above except for the first one), the
following actions are also taken:
If creating the document resulted in an error (XML parsing error, file not found error, etc) the offending
document is returned immediately.
Otherwise, setSourceXML is called on this object, passing in the created document.
|
getXML | public T getXML(Class<T> returnType)(Code) | | Returns the XML source document of this object. The XML document is determined by the following steps:
If an XML document exists in the server cache under an ID equal to the XML ID of this object, that
document is returned.
If the XML string of this object is not empty, a new document is created by parsing this string.
If the XML URL of this object is not empty, a new document is created by parsing the file at the location
specified by the URL resolved against the server owning this object.
Otherwise, an empty CDF document is returned.
If a new document is created for this object (any of the steps listed above except for the first one), the
following actions are also taken:
If creating the document resulted in an error (XML parsing error, file not found error, etc) the offending
document is returned immediately.
Otherwise, setSourceXML is called on this object, passing in the created document.
Parameters: returnType - The expected return type |
getXSL | public jsx3.xml.CdfDocument getXSL()(Code) | | Returns the XSL appropriate to the select type (either combo or select) if no custom XSLT is specified.
jsx3.xml.Document instance |
getXSL | public T getXSL(Class<T> returnType)(Code) | | Returns the XSL appropriate to the select type (either combo or select) if no custom XSLT is specified.
Parameters: returnType - The expected return type jsx3.xml.Document instance |
getXSLParams | public jsx3.lang.Object getXSLParams()(Code) | | Returns a map containing all the parameters to pass to the XSL stylesheet during transformation.
|
getXSLParams | public T getXSLParams(Class<T> returnType)(Code) | | Returns a map containing all the parameters to pass to the XSL stylesheet during transformation.
Parameters: returnType - The expected return type |
hide | public void hide(boolean bFocus)(Code) | | Hides the drop-down portion of this select control.
Parameters: bFocus - if true , the form control will be focused after hiding the drop-down. |
insertRecord | public jsx3.xml.Node insertRecord(jsx3.lang.Object objRecord, String strParentRecordId, boolean bRedraw)(Code) | | Inserts a new record into the XML data source of this object. If no XML data source exists
yet for this object, an empty one is created before adding the new record.
If a record already exists with an id equal to the jsxid property of objRecord,
the operation is treated as an update, meaning the existing record is completely removed and a new record with
the given jsxid is inserted.
Parameters: objRecord - a JavaScript object containing property/value pairs that define theattributes of the XML entity to create. Note that most classes that implement this interface require that allrecords have an attribute named jsxid that is unique across all records in the XML document.All property values will be treated as strings. Additionally, the following 3 characters are escaped:" > < . Parameters: strParentRecordId - the unique jsxid of an existing record. If this optional parameteris provided and a record exists with a matching jsxid attribute, the new record will be added as a child ofthis record. Otherwise, the new record will be added to the root data element. However, if arecord already exists with a jsxid attribute equal to the jsxid property ofobjRecord , this parameter will be ignored. In this case adoptRecord() must be calledto change the parent of the record. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the additional record. the newly created or updated entity. |
insertRecordBefore | public jsx3.xml.Node insertRecordBefore(jsx3.lang.Object objRecord, String strSiblingRecordId, boolean bRedraw)(Code) | | Creates a new CDF record and inserts it into the CDF data source of this object, before the record identified by strSiblingRecordId.
This method fails quietly if any of the following conditions apply:
there is no existing record with a jsxid equal to strSiblingRecordId
there is an existing record with jsxid equal to objRecord.jsxid
Parameters: objRecord - a JavaScript object containing property/value pairs that define theattributes of the XML entity to create. Note that most classes that implement this interface require that allrecords have an attribute named jsxid that is unique across all records in the XML document.All property values will be treated as strings. Additionally, the following 3 characters are escaped:" > < . Parameters: strSiblingRecordId - the unique jsxid of an existing record before which the new record will be inserted. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the additional record. the newly created entity. |
insertRecordNode | public void insertRecordNode(jsx3.xml.Node objRecordNode, String strParentRecordId, boolean bRedraw)(Code) | | Inserts a new record into the XML data source of this object. This method is the same as
insertRecord() except that its first parameter is of type jsx3.xml.Entity rather than
Object.
Parameters: objRecordNode - an XML element of name record . Note that most classes thatimplement this interface require that all records have an attribute named jsxid that is uniqueacross all records in the XML document. Parameters: strParentRecordId - the unique jsxid of an existing record. If this optional parameteris provided and a record exists with a matching jsxid attribute, the new record will be added as a child ofthis record. Otherwise, the new record will be added to the root data element. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the additional record. |
insertRecordProperty | public jsx3.xml.CdfDocument insertRecordProperty(String strRecordId, String strPropName, String strPropValue, boolean bRedraw)(Code) | | Inserts a new property into an existing record with jsxid equal to strRecordId.
If the property already exists, the existing property value will be updated. If no such record exists
in the XML document, this method fails quietly.
Parameters: strRecordId - the jsxid attribute of the data record to modify. Parameters: strPropName - the name of the property to insert into the record. Parameters: strPropValue - the value of the property to insert. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the inserted property. this object. |
insertRecordProperty | public T insertRecordProperty(String strRecordId, String strPropName, String strPropValue, boolean bRedraw, Class<T> returnType)(Code) | | Inserts a new property into an existing record with jsxid equal to strRecordId.
If the property already exists, the existing property value will be updated. If no such record exists
in the XML document, this method fails quietly.
Parameters: strRecordId - the jsxid attribute of the data record to modify. Parameters: strPropName - the name of the property to insert into the record. Parameters: strPropValue - the value of the property to insert. Parameters: bRedraw - if true or null , the on-screen view of this object isimmediately updated to reflect the inserted property. Parameters: returnType - The expected return type this object. |
onXmlBinding | public void onXmlBinding(jsx3.lang.Object objEvent)(Code) | | This method is called in two situations:
When the datasource of this object finishes loading (success, error, or timeout), if the
xmlAsync property of this object is true, its datasource is specified as an
XML URL, and the first time doTransform() was called the datasource was still loading.
Any time the value stored in the server XML cache under the key equal to the XML Id of this object
changes, if the xmlBind property of this object is true.
Any methods overriding this method should begin with a call to jsxsupermix().
Parameters: objEvent - the event published by the cache. |
redrawRecord | public jsx3.gui.Select redrawRecord(String strRecordId, int intAction)(Code) | | Redraws one record from the CDF data source of this select box. If strRecordId is equal to the
selected record id, the text of this select box is set to the value of the record's jsxtext attribute.
Parameters: strRecordId - the id of the record that will be redrawn. Parameters: intAction - INSERT , UPDATE , or DELETE . this object. |
removeXSLParam | public jsx3.xml.Cacheable removeXSLParam(String strName)(Code) | | Removes a parameter from the list of parameters to pass to the XSL stylesheet during transformation.
Parameters: strName - the name of the XSL parameter to remove. this object. |
removeXSLParam | public T removeXSLParam(String strName, Class<T> returnType)(Code) | | Removes a parameter from the list of parameters to pass to the XSL stylesheet during transformation.
Parameters: strName - the name of the XSL parameter to remove. Parameters: returnType - The expected return type this object. |
removeXSLParams | public jsx3.xml.Cacheable removeXSLParams()(Code) | | Removes all parameters from the list of parameters to pass to the XSL stylesheet during transformation.
this object. |
removeXSLParams | public T removeXSLParams(Class<T> returnType)(Code) | | Removes all parameters from the list of parameters to pass to the XSL stylesheet during transformation.
Parameters: returnType - The expected return type this object. |
resetCacheData | public void resetCacheData(jsx3.app.Server objServer)(Code) | | Removes the XML and XSL source documents from the server cache.
Parameters: objServer - the server owning the cache to modify. This is a required argument only ifthis.getServer() does not returns a server instance. |
resetXmlCacheData | public void resetXmlCacheData(jsx3.app.Server objServer)(Code) | | Removes the XML source document stored under the XML ID of this object from the server cache.
Parameters: objServer - the server owning the cache to modify. This is a required argument only ifthis.getServer() does not returns a server instance. |
setDefaultText | public jsx3.gui.Select setDefaultText(String strDefaultText)(Code) | | Sets the text to display in this select box if the value of this select box is null.
Parameters: strDefaultText - any valid string. HTML markup is allowed, but may cause unpredicatable effects. this object. |
setDisabledBackgroundColor | public jsx3.gui.Form setDisabledBackgroundColor(String strColor)(Code) | | Sets the background color of this form control when it is disabled.
Parameters: strColor - valid CSS property value, (i.e., red, #ff0000) this object. |
setDisabledBackgroundColor | public T setDisabledBackgroundColor(String strColor, Class<T> returnType)(Code) | | Sets the background color of this form control when it is disabled.
Parameters: strColor - valid CSS property value, (i.e., red, #ff0000) Parameters: returnType - The expected return type this object. |
setDisabledColor | public jsx3.gui.Form setDisabledColor(String strColor)(Code) | | Sets the font color to use when this control is disabled.
Parameters: strColor - valid CSS property value, (i.e., red, #ff0000) this object. |
setDisabledColor | public T setDisabledColor(String strColor, Class<T> returnType)(Code) | | Sets the font color to use when this control is disabled.
Parameters: strColor - valid CSS property value, (i.e., red, #ff0000) Parameters: returnType - The expected return type this object. |
setEnabled | public void setEnabled(int intEnabled, boolean bRepaint)(Code) | | Sets whether this control is enabled. Disabled controls do not respond to user interaction.
Parameters: intEnabled - STATEDISABLED or STATEENABLED . null isequivalent to STATEENABLED . Parameters: bRepaint - if true this control is immediately repainted to reflect the new setting. |
setKeyBinding | public jsx3.gui.Form setKeyBinding(String strSequence)(Code) | | Sets the key binding that when keyed will fire the bound execute (jsx3.gui.Interactive.EXECUTE)
event for this control.
Parameters: strSequence - plus-delimited (e.g.,'+') key sequence such as ctrl+s or ctrl+shift+alt+h or shift+a, etc this object. |
setKeyBinding | public T setKeyBinding(String strSequence, Class<T> returnType)(Code) | | Sets the key binding that when keyed will fire the bound execute (jsx3.gui.Interactive.EXECUTE)
event for this control.
Parameters: strSequence - plus-delimited (e.g.,'+') key sequence such as ctrl+s or ctrl+shift+alt+h or shift+a, etc Parameters: returnType - The expected return type this object. |
setMaxLength | public jsx3.gui.Select setMaxLength(int intMaxLength)(Code) | | Sets the maximum length allowed for the input field of this combo control.
Parameters: intMaxLength - this object. |
setRequired | public jsx3.gui.Form setRequired(int required)(Code) | | Sets whether or not this control is required.
Parameters: required - {int} REQUIRED or OPTIONAL . this object. |
setRequired | public T setRequired(int required, Class<T> returnType)(Code) | | Sets whether or not this control is required.
Parameters: required - {int} REQUIRED or OPTIONAL . Parameters: returnType - The expected return type this object. |
setShareResources | public jsx3.xml.Cacheable setShareResources(int intShare)(Code) | | Sets whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed.
Parameters: intShare - CLEANUPRESOURCES or SHARERESOURCES . CLEANUPRESOURCES is the default value if the property is null . this object. |
setShareResources | public T setShareResources(int intShare, Class<T> returnType)(Code) | | Sets whether this object removes its XML and XSL source documents from the cache of its server when it
is destroyed.
Parameters: intShare - CLEANUPRESOURCES or SHARERESOURCES . CLEANUPRESOURCES is the default value if the property is null . Parameters: returnType - The expected return type this object. |
setSourceXML | public jsx3.xml.CdfDocument setSourceXML(jsx3.xml.CdfDocument objDoc, jsx3.app.Cache objCache)(Code) | | Sets the source document of this object as though objDoc were retrieved from the XML URL or XML
string of this object. This method executes the following steps:
The document is transformed serially by each XML transformers of this object.
The XML document is saved in the server cache under the XML ID of this object.
If this object is an instance of jsx3.xml.CDF and the root node is a element
and its jsxassignids attribute is equal to 1, all elements without a
jsxid attribute are assigned a unique jsxid.
If this object is an instance of jsx3.xml.CDF, convertProperties() is called
on this object.
Parameters: objDoc - Parameters: objCache - the document stored in the server cache as the data source of this object. Iftransformers were run, this value will not be equal to the objDoc parameter. |
setSourceXML | public T setSourceXML(jsx3.xml.CdfDocument objDoc, jsx3.app.Cache objCache, Class<T> returnType)(Code) | | Sets the source document of this object as though objDoc were retrieved from the XML URL or XML
string of this object. This method executes the following steps:
The document is transformed serially by each XML transformers of this object.
The XML document is saved in the server cache under the XML ID of this object.
If this object is an instance of jsx3.xml.CDF and the root node is a element
and its jsxassignids attribute is equal to 1, all elements without a
jsxid attribute are assigned a unique jsxid.
If this object is an instance of jsx3.xml.CDF, convertProperties() is called
on this object.
Parameters: objDoc - Parameters: objCache - Parameters: returnType - The expected return type the document stored in the server cache as the data source of this object. Iftransformers were run, this value will not be equal to the objDoc parameter. |
setType | public jsx3.gui.Select setType(int TYPE)(Code) | | Sets the type of this select box.
Parameters: TYPE - TYPESELECT or TYPECOMBO . this object. |
setValidationState | public jsx3.gui.Form setValidationState(int intState)(Code) | | Sets the validation state of this control. The validation state of a control is not serialized.
Parameters: intState - STATEINVALID or STATEVALID . this object. |
setValidationState | public T setValidationState(int intState, Class<T> returnType)(Code) | | Sets the validation state of this control. The validation state of a control is not serialized.
Parameters: intState - STATEINVALID or STATEVALID . Parameters: returnType - The expected return type this object. |
setValue | public jsx3.gui.Select setValue(String strRecordId)(Code) | | Sets the selected record of this select control. Fires the SELECT event only under the deprecated
3.0 model event protocol.
Parameters: strRecordId - id for the record that will be the selected item. this object. |
setXMLId | public jsx3.xml.Cacheable setXMLId(String strXMLId)(Code) | | Sets the XML ID of this object. This value is the key under which the XML source document of this object is
saved in the cache of the server owning this object. The developer may specify either a unique or shared value.
If no value is specified, a unique id is generated.
Parameters: strXMLId - this object. |
setXMLId | public T setXMLId(String strXMLId, Class<T> returnType)(Code) | | Sets the XML ID of this object. This value is the key under which the XML source document of this object is
saved in the cache of the server owning this object. The developer may specify either a unique or shared value.
If no value is specified, a unique id is generated.
Parameters: strXMLId - Parameters: returnType - The expected return type this object. |
setXMLString | public jsx3.xml.Cacheable setXMLString(String strXML)(Code) | | Sets the XML string of this object. Setting this value to the string serialization of an XML document is one
way of specifying the source XML document of this object.
Parameters: strXML - null or a well-formed serialized XML element. this object. |
setXMLString | public T setXMLString(String strXML, Class<T> returnType)(Code) | | Sets the XML string of this object. Setting this value to the string serialization of an XML document is one
way of specifying the source XML document of this object.
Parameters: strXML - null or a well-formed serialized XML element. Parameters: returnType - The expected return type this object. |
setXMLTransformers | public void setXMLTransformers(Object[] arrTrans)(Code) | | Sets the list of XML transformers of this object. The XML source document of this object is transformed
serially by each of these transformers before it is placed in the XML cache.
Each transformer is either the URI of an XSLT document (which will be resolved against the
the server of this object) or the cache id of a XSLT document in the XML cache of the server
of this object. When any transformer is loaded from a URI it is placed in the server cache under the id
equal to its resolved URI. Any transformer that does not correspond to a valid XSLT document will be skipped
without throwing an error.
Parameters: arrTrans - |
setXMLURL | public jsx3.xml.Cacheable setXMLURL(String strXMLURL)(Code) | | Sets the XML URL of this object. Settings this value to the URI of an XML document is one way of specifying the
source XML document of this object.
Parameters: strXMLURL - null or a URI that when resolved against the server owning this objectspecifies a valid XML document. this object. |
setXMLURL | public T setXMLURL(String strXMLURL, Class<T> returnType)(Code) | | Sets the XML URL of this object. Settings this value to the URI of an XML document is one way of specifying the
source XML document of this object.
Parameters: strXMLURL - null or a URI that when resolved against the server owning this objectspecifies a valid XML document. Parameters: returnType - The expected return type this object. |
setXSLParam | public jsx3.xml.Cacheable setXSLParam(String strName, String strValue)(Code) | | Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. If
strValue is null the parameter is removed.
Parameters: strName - the name of the XSL parameter to add. Parameters: strValue - the value of the XSL parameter to add. this object. |
setXSLParam | public T setXSLParam(String strName, String strValue, Class<T> returnType)(Code) | | Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. If
strValue is null the parameter is removed.
Parameters: strName - the name of the XSL parameter to add. Parameters: strValue - the value of the XSL parameter to add. Parameters: returnType - The expected return type this object. |
setXmlAsync | public jsx3.xml.Cacheable setXmlAsync(boolean bAsync)(Code) | | Sets whether the XML data source of this object is loaded asynchronously. This setting only applies to
data sources loaded from an XML URL.
Parameters: bAsync - this object. |
setXmlAsync | public T setXmlAsync(boolean bAsync, Class<T> returnType)(Code) | | Sets whether the XML data source of this object is loaded asynchronously. This setting only applies to
data sources loaded from an XML URL.
Parameters: bAsync - Parameters: returnType - The expected return type this object. |
setXmlBind | public void setXmlBind(boolean bBind, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Sets whether this object is bound to the XML document stored in the data cache. If this object is bound to the
cache, then the onXmlBinding() method of this object is called any time the document stored in
the cache under the XML Id of this object changes.
Parameters: bBind - Parameters: callback - 0 or 1 . |
show | public void show()(Code) | | Displays the list of options for this select box.
|
Methods inherited from jsx3.gui.Block | public jsx3.lang.Object doEvent(String strType, jsx3.lang.Object objContext)(Code)(Java Doc) public T doEvent(String strType, jsx3.lang.Object objContext, Class<T> returnType)(Code)(Java Doc) public void getBackground(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getBackgroundColor(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getBorder(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getCSSOverride(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getCanDrag(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getCanDrop(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getCanMove(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getCanSpy(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getClassName(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getColor(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getCursor(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getDimensions(org.directwebremoting.proxy.Callback<Object[]> callback)(Code)(Java Doc) public void getDisplay(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getEvent(String strType, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.lang.Object getEvents()(Code)(Java Doc) public T getEvents(Class<T> returnType)(Code)(Java Doc) public void getFontName(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getFontSize(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getFontWeight(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getHeight(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getIndex(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getLeft(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getMargin(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getMenu(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getOverflow(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getPadding(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getRelativePosition(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getTagName(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getText(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getTextAlign(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getTip(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getTop(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getVisibility(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getWidth(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getZIndex(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void hasEvent(String strType, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void hideMask()(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(String vntCallback, String vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(org.directwebremoting.proxy.CodeBlock vntCallback, String vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(String vntCallback, int vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(org.directwebremoting.proxy.CodeBlock vntCallback, int vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(jsx3.gui.HotKey vntCallback, String vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.HotKey registerHotKey(jsx3.gui.HotKey vntCallback, int vntKey, boolean bShift, boolean bControl, boolean bAlt)(Code)(Java Doc) public jsx3.gui.Interactive removeEvent(String strType)(Code)(Java Doc) public T removeEvent(String strType, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Interactive removeEvents()(Code)(Java Doc) public T removeEvents(Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Block setBackground(String strBG)(Code)(Java Doc) public jsx3.gui.Block setBackgroundColor(String strColor, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setBorder(String strCSS, boolean bRecalc)(Code)(Java Doc) public jsx3.gui.Block setCSSOverride(String strCSS)(Code)(Java Doc) public jsx3.gui.Interactive setCanDrag(int bDrag)(Code)(Java Doc) public T setCanDrag(int bDrag, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Interactive setCanDrop(int bDrop)(Code)(Java Doc) public T setCanDrop(int bDrop, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Interactive setCanMove(int bMovable)(Code)(Java Doc) public T setCanMove(int bMovable, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Interactive setCanSpy(int bSpy)(Code)(Java Doc) public T setCanSpy(int bSpy, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Block setClassName(String strClassName)(Code)(Java Doc) public jsx3.gui.Block setColor(String strColor, boolean bRepaint)(Code)(Java Doc) public void setCursor(String strCursor, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, int top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, int top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, int top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, int top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, int top, String width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, String top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, String top, String width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, String top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, int top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, int top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, String top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, String top, String width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, int top, String width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, int top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, String top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, String top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, String top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(Object[] left, int top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, String top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, String top, int width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, String top, String width, int height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, int top, int width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(String left, int top, String width, String height, boolean bRepaint)(Code)(Java Doc) public void setDimensions(int left, String top, String width, String height, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setDisplay(String intDisplay, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Interactive setEvent(String strScript, String strType)(Code)(Java Doc) public T setEvent(String strScript, String strType, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Block setFontName(String strFontName)(Code)(Java Doc) public jsx3.gui.Block setFontSize(int intPixelSize)(Code)(Java Doc) public jsx3.gui.Block setFontWeight(String FONTWEIGHT)(Code)(Java Doc) public jsx3.gui.Block setHeight(String vntHeight, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setHeight(int vntHeight, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setIndex(int intIndex, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setLeft(int vntLeft, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setLeft(String vntLeft, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setMargin(String strCSS, boolean bRecalc)(Code)(Java Doc) public jsx3.gui.Interactive setMenu(String strMenu)(Code)(Java Doc) public T setMenu(String strMenu, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Block setOverflow(int OVERFLOW)(Code)(Java Doc) public jsx3.gui.Block setPadding(String strCSS, boolean bRecalc)(Code)(Java Doc) public jsx3.gui.Block setRelativePosition(int intRelative, boolean bRepaint)(Code)(Java Doc) public void setSpyStyles(String strCSS)(Code)(Java Doc) public jsx3.gui.Block setTagName(String strTagName)(Code)(Java Doc) public jsx3.gui.Block setText(String strText, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setTextAlign(String ALIGN)(Code)(Java Doc) public jsx3.gui.Block setTip(String strTip)(Code)(Java Doc) public jsx3.gui.Block setTop(String vntTop, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setTop(int vntTop, boolean bRepaint)(Code)(Java Doc) public void setVisibility(String VISIBILITY, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setWidth(String vntWidth, boolean bRepaint)(Code)(Java Doc) public jsx3.gui.Block setWidth(int vntWidth, boolean bRepaint)(Code)(Java Doc) public void setZIndex(int intZIndex, boolean bRepaint)(Code)(Java Doc) public void showMask(String strMessage)(Code)(Java Doc) public void showSpy(String strHTML, int intLeft, int intTop)(Code)(Java Doc) public void showSpy(String strHTML, jsx3.gui.Event intLeft, int intTop)(Code)(Java Doc)
|
Methods inherited from jsx3.gui.Painted | public void focus(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.lang.Object getAbsolutePosition(String objRoot, String objGUI)(Code)(Java Doc) public T getAbsolutePosition(String objRoot, String objGUI, Class<T> returnType)(Code)(Java Doc) public void getAttribute(String strName, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.lang.Object getAttributes()(Code)(Java Doc) public T getAttributes(Class<T> returnType)(Code)(Java Doc) public void getDynamicProperty(String strName, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getRendered(jsx3.gui.Event objGUI, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getRendered(jsx3.lang.Object objGUI, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void onAfterPaint(String objGUI)(Code)(Java Doc) public void paint(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void paintChild(jsx3.gui.Painted objChild, boolean bGroup, String objGUI, boolean bCascadeOnly)(Code)(Java Doc) public void paintChildren(Object[] c, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void recalcBox(Object[] properties)(Code)(Java Doc) public jsx3.gui.Painted removeAttribute(String strName)(Code)(Java Doc) public T removeAttribute(String strName, Class<T> returnType)(Code)(Java Doc) public jsx3.gui.Painted removeAttributes()(Code)(Java Doc) public T removeAttributes(Class<T> returnType)(Code)(Java Doc) public void repaint(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.gui.Painted setAttribute(String strName, String strValue)(Code)(Java Doc) public jsx3.gui.Painted setDynamicProperty(String strName, String strValue)(Code)(Java Doc)
|
Methods inherited from jsx3.app.Model | public void adoptChild(jsx3.app.Model objChild, boolean bRepaint, boolean bForce)(Code)(Java Doc) public jsx3.app.Model doClone(int intPersist, int intMode)(Code)(Java Doc) public T doClone(int intPersist, int intMode, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model findAncestor(org.directwebremoting.proxy.CodeBlock fctTest, boolean bIncludeSelf)(Code)(Java Doc) public T findAncestor(org.directwebremoting.proxy.CodeBlock fctTest, boolean bIncludeSelf, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model findDescendants(org.directwebremoting.proxy.CodeBlock fctTest, boolean bDepthFirst, boolean bMultiple, boolean bShallow, boolean bIncludeSelf)(Code)(Java Doc) public T findDescendants(org.directwebremoting.proxy.CodeBlock fctTest, boolean bDepthFirst, boolean bMultiple, boolean bShallow, boolean bIncludeSelf, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getAncestorOfName(String strName)(Code)(Java Doc) public T getAncestorOfName(String strName, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getAncestorOfType(String strType)(Code)(Java Doc) public T getAncestorOfType(String strType, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getAncestorOfType(Class strType)(Code)(Java Doc) public T getAncestorOfType(Class strType, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getAncestorOfType(org.directwebremoting.proxy.CodeBlock strType)(Code)(Java Doc) public T getAncestorOfType(org.directwebremoting.proxy.CodeBlock strType, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getChild(int vntIndexOrName)(Code)(Java Doc) public T getChild(int vntIndexOrName, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getChild(String vntIndexOrName)(Code)(Java Doc) public T getChild(String vntIndexOrName, Class<T> returnType)(Code)(Java Doc) public void getChildIndex(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getChildren(org.directwebremoting.proxy.Callback<Object[]> callback)(Code)(Java Doc) public jsx3.app.Model getDescendantOfName(String strName, boolean bDepthFirst, boolean bChildOnly)(Code)(Java Doc) public T getDescendantOfName(String strName, boolean bDepthFirst, boolean bChildOnly, Class<T> returnType)(Code)(Java Doc) public void getDescendantsOfType(org.directwebremoting.proxy.CodeBlock strType, boolean bShallow, org.directwebremoting.proxy.Callback<Object[]> callback)(Code)(Java Doc) public void getDescendantsOfType(String strType, boolean bShallow, org.directwebremoting.proxy.Callback<Object[]> callback)(Code)(Java Doc) public void getDescendantsOfType(Class strType, boolean bShallow, org.directwebremoting.proxy.Callback<Object[]> callback)(Code)(Java Doc) public jsx3.app.Model getFirstChild()(Code)(Java Doc) public T getFirstChild(Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getFirstChildOfType(org.directwebremoting.proxy.CodeBlock strType, boolean bExact)(Code)(Java Doc) public T getFirstChildOfType(org.directwebremoting.proxy.CodeBlock strType, boolean bExact, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getFirstChildOfType(Class strType, boolean bExact)(Code)(Java Doc) public T getFirstChildOfType(Class strType, boolean bExact, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getFirstChildOfType(String strType, boolean bExact)(Code)(Java Doc) public T getFirstChildOfType(String strType, boolean bExact, Class<T> returnType)(Code)(Java Doc) public void getHelpId(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getId(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.app.Model getLastChild()(Code)(Java Doc) public T getLastChild(Class<T> returnType)(Code)(Java Doc) public void getLoadType(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public void getMetaValue(String strKey, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getNS(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public void getName(org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.app.Model getNextSibling()(Code)(Java Doc) public T getNextSibling(Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model getParent()(Code)(Java Doc) public T getParent(Class<T> returnType)(Code)(Java Doc) public void getPersistence(org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public jsx3.app.Model getPreviousSibling()(Code)(Java Doc) public T getPreviousSibling(Class<T> returnType)(Code)(Java Doc) public jsx3.app.Server getServer()(Code)(Java Doc) public jsx3.net.URIResolver getUriResolver()(Code)(Java Doc) public T getUriResolver(Class<T> returnType)(Code)(Java Doc) public void insertBefore(jsx3.app.Model objMoveChild, jsx3.app.Model objPrecedeChild, boolean bRepaint, org.directwebremoting.proxy.Callback<Boolean> callback)(Code)(Java Doc) public jsx3.app.Model load(java.net.URI strURL, boolean bRepaint, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public T load(java.net.URI strURL, boolean bRepaint, jsx3.net.URIResolver objResolver, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model load(String strURL, boolean bRepaint, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public T load(String strURL, boolean bRepaint, jsx3.net.URIResolver objResolver, Class<T> returnType)(Code)(Java Doc) public void loadAndCache(java.net.URI strURL, boolean bRepaint, jsx3.app.Cache objCache, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public void loadAndCache(String strURL, boolean bRepaint, jsx3.app.Cache objCache, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public jsx3.app.Model loadXML(jsx3.xml.CdfDocument strXML, boolean bRepaint, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public T loadXML(jsx3.xml.CdfDocument strXML, boolean bRepaint, jsx3.net.URIResolver objResolver, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model loadXML(String strXML, boolean bRepaint, jsx3.net.URIResolver objResolver)(Code)(Java Doc) public T loadXML(String strXML, boolean bRepaint, jsx3.net.URIResolver objResolver, Class<T> returnType)(Code)(Java Doc) public void onAfterAssemble(jsx3.app.Model objParent, jsx3.app.Server objServer)(Code)(Java Doc) public void onAfterAttach()(Code)(Java Doc) public void onBeforeAssemble(jsx3.app.Model objParent, jsx3.app.Server objServer)(Code)(Java Doc) public void onChangeServer(jsx3.app.Server objNewServer, jsx3.app.Server objOldServer)(Code)(Java Doc) public void onDestroy(jsx3.app.Model objParent)(Code)(Java Doc) public void onRemoveChild(Object[] objChild, int intIndex)(Code)(Java Doc) public void onRemoveChild(jsx3.app.Model objChild, int intIndex)(Code)(Java Doc) public void onSetChild(java.lang.Object objChild, org.directwebremoting.proxy.Callback<Boolean> callback)(Code)(Java Doc) public void onSetParent(java.lang.Object objParent, org.directwebremoting.proxy.Callback<Boolean> callback)(Code)(Java Doc) public void publish(jsx3.lang.Object objEvent, org.directwebremoting.proxy.Callback<Integer> callback)(Code)(Java Doc) public jsx3.app.Model removeChild(jsx3.app.Model vntItem)(Code)(Java Doc) public T removeChild(jsx3.app.Model vntItem, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model removeChild(int vntItem)(Code)(Java Doc) public T removeChild(int vntItem, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model removeChildren(Object[] arrChildren)(Code)(Java Doc) public T removeChildren(Object[] arrChildren, Class<T> returnType)(Code)(Java Doc) public jsx3.app.Model setChild(jsx3.app.Model objChild, int intPersist, java.net.URI strSourceURL, String strNS)(Code)(Java Doc) public jsx3.app.Model setChild(jsx3.app.Model objChild, int intPersist, String strSourceURL, String strNS)(Code)(Java Doc) public void setHelpId(String strId)(Code)(Java Doc) public void setLoadType(int intLoadType)(Code)(Java Doc) public void setMetaValue(String strKey, String strValue)(Code)(Java Doc) public void setName(String strName)(Code)(Java Doc) public jsx3.app.Model setPersistence(int intPersist)(Code)(Java Doc) public void subscribe(Object[] strEventId, jsx3.lang.Object objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(Object[] strEventId, org.directwebremoting.proxy.CodeBlock objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(String strEventId, org.directwebremoting.proxy.CodeBlock objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(String strEventId, String objHandler, String objFunction)(Code)(Java Doc) public void subscribe(String strEventId, jsx3.lang.Object objHandler, String objFunction)(Code)(Java Doc) public void subscribe(Object[] strEventId, org.directwebremoting.proxy.CodeBlock objHandler, String objFunction)(Code)(Java Doc) public void subscribe(String strEventId, String objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(Object[] strEventId, jsx3.lang.Object objHandler, String objFunction)(Code)(Java Doc) public void subscribe(String strEventId, jsx3.lang.Object objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(Object[] strEventId, String objHandler, String objFunction)(Code)(Java Doc) public void subscribe(Object[] strEventId, String objHandler, org.directwebremoting.proxy.CodeBlock objFunction)(Code)(Java Doc) public void subscribe(String strEventId, org.directwebremoting.proxy.CodeBlock objHandler, String objFunction)(Code)(Java Doc) public void toXML(jsx3.lang.Object objProperties, org.directwebremoting.proxy.Callback<String> callback)(Code)(Java Doc) public jsx3.xml.CdfDocument toXMLDoc(jsx3.lang.Object objProperties)(Code)(Java Doc) public T toXMLDoc(jsx3.lang.Object objProperties, Class<T> returnType)(Code)(Java Doc) public void unsubscribe(Object[] strEventId, org.directwebremoting.proxy.CodeBlock objHandler)(Code)(Java Doc) public void unsubscribe(Object[] strEventId, String objHandler)(Code)(Java Doc) public void unsubscribe(String strEventId, String objHandler)(Code)(Java Doc) public void unsubscribe(String strEventId, jsx3.lang.Object objHandler)(Code)(Java Doc) public void unsubscribe(Object[] strEventId, jsx3.lang.Object objHandler)(Code)(Java Doc) public void unsubscribe(String strEventId, org.directwebremoting.proxy.CodeBlock objHandler)(Code)(Java Doc) public void unsubscribeAll(String strEventId)(Code)(Java Doc)
|
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|