| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.app.Model jsx3.gui.Painted jsx3.gui.Block jsx3.gui.Tree
Tree | public class Tree extends jsx3.gui.Block (Code) | | Creates a DHTML-based navigational trees (similar to the tree structure used by Windows Explorer with folders
and files). This class expects XML source adhering to standards for version 3.0, the Common Data Format.
The Tree class by default supports the following CDF attributes:
jsxid
jsxselected
jsxstyle
jsxclass
jsxopen
jsximg
jsxtip
jsxtext
jsxunselectable
This class publishes the following model events:
EXECUTE Ð
SELECT (deprecated) Ð
MENU Ð
TOGGLE Ð
CHANGE Ð
SPYGLASS Ð
ADOPT Ð
DROP/CTRL_DROP/BEFORE_DROP/CANCEL_DROP Ð
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Method Summary | |
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 | 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 | 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) validates the Tree; if the Tree is set to 'required', a selection must be made to pass validation. | public void | executeRecord(String strRecordId) Executes any bound code for the record with id strRecordId. | 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 | getIcon(org.directwebremoting.proxy.Callback<String> callback) Returns the Icon to use for items in the tree. | public void | getIconMinus(org.directwebremoting.proxy.Callback<String> callback) Returns the Icon to use when a node is in an open state. | public void | getIconPlus(org.directwebremoting.proxy.Callback<String> callback) Returns the Icon to use when the given tree node is in an closed state. | 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 | getMultiSelect(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether this tree is multi- (Tree.MULTI) or single-select (Tree.SINGLE). | public void | getNoDataMessage(org.directwebremoting.proxy.Callback<String> callback) | 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 | getRoot(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not the tree should paint its root node or paint the direct child nodes to the VIEW without rendering their containing root. | 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 | 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 jsxid attribute for the selected CDF record/records. | 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() | public T | getXSL(Class<T> returnType) | 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 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.Tree | redrawRecord(String strRecordId, int ACTION) | 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 void | revealRecord(String strRecordId, jsx3.gui.Block objJSX) Reveals a record by toggling parent nodes as necessary and scrolling any containing blocks within the tree. | 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.Tree | setIcon(String strURL) | public jsx3.gui.Tree | setIconMinus(String strURL) Sets the Icon to use when a node is in an open state. | public jsx3.gui.Tree | setIconPlus(String strURL) | 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.Tree | setMultiSelect(int intMulti) Sets whether this tree is multi- (Tree.MULTI) or single-select (Tree.SINGLE). | 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.gui.Tree | setRoot(int bBoolean) | 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.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.Tree | setValue(Object[] strRecordId, boolean bReveal) Selects a record in the tree. | public jsx3.gui.Tree | setValue(String strRecordId, boolean bReveal) Selects a record in the tree. | 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 jsx3.gui.Tree | toggleItem(String strRecordId, boolean bOpen, boolean bBook) toggles the open/closed state for a node on the tree; updates both MODEL and VIEW; if the tree is not yet
painted and the open state for a node needs to be set, call: [tree instance].insertRecordProperty(@strId,@strPropName,@strPropValue,false);
if there is a VIEW for the item, the 'ontoggle' event will be fired; if the developer has bound an ontoggle script
(e.g., [treeinstance].setEvent("var a=1;",jsx3.gui.Interactive.TOGGLE);), this script will have contextual access to the variables:
objGUI: object reference to the on-screen DHTML object for the node just toggled; objRECORD: object reference for the node
in the XML Cache; strID: The jsxid property(as a string) for the node object; bOPEN: whether to item was toggled open (true) or closed (false). |
APPEND_IMG | final public static String APPEND_IMG(Code) | | jsx:///images/matrix/append.gif
|
BORDERCOLOR | final public static String BORDERCOLOR(Code) | | #8CAEDF (default)
|
DEFAULTBACKGROUNDCOLOR | final public static String DEFAULTBACKGROUNDCOLOR(Code) | | #ffffff (default)
|
DEFAULTNODATAMSG | final public static String DEFAULTNODATAMSG(Code) | | (default)
|
ICON | final public static String ICON(Code) | | JSX/images/tree/file.gif (default)
|
ICONMINUS | final public static String ICONMINUS(Code) | | JSX/images/tree/minus.gif (default)
|
ICONPLUS | final public static String ICONPLUS(Code) | | JSX/images/tree/plus.gif (default)
|
INSERT_BEFORE_IMG | final public static String INSERT_BEFORE_IMG(Code) | | jsx:///images/matrix/insert_before.gif
|
MULTI | final public static int MULTI(Code) | | Enum value for the multiSelect property indicating a multi-select tree.
|
SELECTEDIMAGE | final public static String SELECTEDIMAGE(Code) | | JSX/images/tree/select.gif (default)
|
SINGLE | final public static int SINGLE(Code) | | Enum value for the multiSelect property indicating a single-select tree.
|
Tree | public Tree(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 |
Tree | public Tree(String strName, String strId)(Code) | | instance initializer
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application Parameters: strId - this value should correspond to the jsxid for the 'record' node is the selected node for the tree |
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. |
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. |
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) | | validates the Tree; if the Tree is set to 'required', a selection must be made to pass validation. Otherwise, a Tree will always pass validation
Parameters: callback - one of: jsx3.gui.Form.STATEINVALID or jsx3.gui.Form.STATEVALID |
executeRecord | public void executeRecord(String strRecordId)(Code) | | Executes any bound code for the record with id strRecordId. This method only invokes the
EXECUTE model event for this tree under the deprecated 3.0 model event protocol.
Parameters: strRecordId - jsxid value for the record node (according to the CDF) to execute |
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 . |
getIconMinus | public void getIconMinus(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the Icon to use when a node is in an open state. Default: jsx3.gui.Tree.ICONMINUS
Parameters: callback - URL for icon to use when given tree node is toggled to closed; if null, value is reset to use URL referenced by jsx3.gui.Tree.ICONBOOKCLOSED |
getIconPlus | public void getIconPlus(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the Icon to use when the given tree node is in an closed state. Default: jsx3.gui.Tree.ICONPLUS
Parameters: callback - URL for icon to use |
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 |
getNoDataMessage | public void getNoDataMessage(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the text/HTML to display on-screen when the xml/xsl transformation for this object results in a null or empty result set
Parameters: callback - text/HTML |
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 . |
getRoot | public void getRoot(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not the tree should paint its root node or paint the direct child nodes to the VIEW without rendering their containing root. Default: jsx3.Boolean.TRUE
Parameters: callback - one of jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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 jsxid attribute for the selected CDF record/records.
Parameters: callback - if single-select the jsxid of the selected record or null if noneselected; if multi-select an array of the selected record ids. |
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 XSLT for the Tree, prioritizing the acquisition in the following order: 1) check cache; 2) check jsxxsl; 3) check jsxxslurl; 4) use default
jsx3.xml.Document instance containing valid XSL stylesheet |
getXSL | public T getXSL(Class<T> returnType)(Code) | | Returns XSLT for the Tree, prioritizing the acquisition in the following order: 1) check cache; 2) check jsxxsl; 3) check jsxxslurl; 4) use default
Parameters: returnType - The expected return type jsx3.xml.Document instance containing valid XSL stylesheet |
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 |
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.Tree redrawRecord(String strRecordId, int ACTION)(Code) | | if @strRecordId equals the id of the selected option (this.getValue()), only the text property will update;
returns a ref to self to facilitate method chaining
Parameters: strRecordId - id for the record that will be 'redrawn' on-screen Parameters: ACTION - One of the following two values: jsx3.xml.CDF.INSERT, jsx3.xml.CDF.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. |
revealRecord | public void revealRecord(String strRecordId, jsx3.gui.Block objJSX)(Code) | | Reveals a record by toggling parent nodes as necessary and scrolling any containing blocks within the tree.
Parameters: strRecordId - the id of the record to reveal Parameters: objJSX - if provided, reveal the record up to this visual block; useful if the tree is setto overflow:expand and the containing block is set to overflow:scroll . |
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. |
setIcon | public jsx3.gui.Tree setIcon(String strURL)(Code) | | Sets the Icon to use for items in the tree; returns a ref to self
Parameters: strURL - URL for icon to use this object |
setIconMinus | public jsx3.gui.Tree setIconMinus(String strURL)(Code) | | Sets the Icon to use when a node is in an open state.
Parameters: strURL - URL for icon to use when given tree node is toggled to closed; if null, value is reset to use URL referenced by jsx3.gui.Tree.ICONBOOKCLOSED this object |
setIconPlus | public jsx3.gui.Tree setIconPlus(String strURL)(Code) | | Sets the Icon to use when the given tree node is in an closed state
Parameters: strURL - URL for icon to use when given tree node is toggled to open; if null, value is reset to use URL referenced by jsx3.gui.Tree.ICONBOOKOPEN this object |
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. |
setMultiSelect | public jsx3.gui.Tree setMultiSelect(int intMulti)(Code) | | Sets whether this tree is multi- (Tree.MULTI) or single-select (Tree.SINGLE).
Parameters: intMulti - Tree.MULTI or Tree.SINGLE 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. |
setRoot | public jsx3.gui.Tree setRoot(int bBoolean)(Code) | | Sets whether or not the tree should paint its root node or paint the direct child nodes to the VIEW without rendering their containing root;
Parameters: bBoolean - one of jsx3.Boolean.TRUE or jsx3.Boolean.FALSE 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. |
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.Tree setValue(Object[] strRecordId, boolean bReveal)(Code) | | Selects a record in the tree. This method updates the model, datamodel, and view.
Parameters: strRecordId - id for the record that will be the selected item, may be null to deselect all records Parameters: bReveal - this object |
setValue | public jsx3.gui.Tree setValue(String strRecordId, boolean bReveal)(Code) | | Selects a record in the tree. This method updates the model, datamodel, and view.
Parameters: strRecordId - id for the record that will be the selected item, may be null to deselect all records Parameters: bReveal - 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 . |
toggleItem | public jsx3.gui.Tree toggleItem(String strRecordId, boolean bOpen, boolean bBook)(Code) | | toggles the open/closed state for a node on the tree; updates both MODEL and VIEW; if the tree is not yet
painted and the open state for a node needs to be set, call: [tree instance].insertRecordProperty(@strId,@strPropName,@strPropValue,false);
if there is a VIEW for the item, the 'ontoggle' event will be fired; if the developer has bound an ontoggle script
(e.g., [treeinstance].setEvent("var a=1;",jsx3.gui.Interactive.TOGGLE);), this script will have contextual access to the variables:
objGUI: object reference to the on-screen DHTML object for the node just toggled; objRECORD: object reference for the node
in the XML Cache; strID: The jsxid property(as a string) for the node object; bOPEN: whether to item was toggled open (true) or closed (false).
Returns a reference to self to facilitate method chaining
Parameters: strRecordId - unique id for the given record (the 'jsxid' attribute on the given record node) Parameters: bOpen - if null, the open state will be toggled; otherwise, true will expand the node to display its childre; false, vice versa Parameters: bBook - false if null; if true, the system wants to force the VIEW to make the item a book this object |
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)
|
|
|