| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.app.Model jsx3.gui.Painted jsx3.gui.Block jsx3.gui.Table
Table | public class Table extends jsx3.gui.Block (Code) | | A lightweight control that displays CDF data in an HTML table. Supports both single- and multi-selection
modes. Data can be sorted by clicking on column labels. Output and output formatting can be customized using
a combination of XSLT, inline CSS properties, or named CSS rules. The columns
for this control are defined within the object model and are not defined
in the DOM as child objects.
The Table class by default supports the following CDF attributes:
jsxid
jsxselected
jsxstyle
jsxclass
jsximg
jsxtip
jsxunselectable
jsxexecute
This class publishes the following model events:
EXECUTE Ð
MENU Ð
CHANGE Ð
SPYGLASS Ð
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
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 void | deselectAllRecords() Deselects all selected CDF records. | public void | deselectRecord(String strRecordId) Deselects a CDF record within the Table. | 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 | doSort(String intSortDir) Sorts according to the current sort path. | public void | doValidate(org.directwebremoting.proxy.Callback<Integer> callback) validates the Table; if the Table is set to 'required', a selection must be made to pass validation. | public void | focusRowById(String strCdfId) | public void | getAlternateRowClass(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the CSS rule for the HTML row element(s) containing the alternating table data rows. | public void | getAlternateRowStyle(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the CSS properties for the HTML row element(s) containing the alternating table data rows. | public void | getCanSort(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether the table is sortable. | public void | getCellClass(org.directwebremoting.proxy.Callback<String> callback) Returns the CSS rule that will be applied to every HTML cell in the body of the table. | public void | getCellStyle(org.directwebremoting.proxy.Callback<String> callback) Returns the CSS properties that will be inlined on every HTML cell in the body of the table. | public void | getColumnProfile(org.directwebremoting.proxy.Callback<String> callback) Returns the string of XML in CDF format representing the Column Profile Document. | public jsx3.xml.CdfDocument | getColumnProfileDocument() Returns a clone of the CDF document used internally to define the Columns (text, order, mapped attributes, etc).
The order of the records in this document reflects the order of the columns in the Table. | public T | getColumnProfileDocument(Class<T> returnType) Returns a clone of the CDF document used internally to define the Columns (text, order, mapped attributes, etc).
The order of the records in this document reflects the order of the columns in the Table. | public void | getContentElement(String strCdfId, String strAttName, org.directwebremoting.proxy.Callback<String> callback) Returns the on-screen cell that represents the intersection of the row identified
by strCdfId and the first cell mapped to the named CDF attribute, strAttName.
Parameters: strCdfId - jsxid property for CDF record Parameters: strAttName - attribute name on the CDF record. | 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 | getHeaderClass(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the CSS rule for the HTML row containing the column headers. | public void | getHeaderHeight(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the height of the header row in pixels. | public void | getHeaderStyle(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the CSS style for the HTML row containing the column headers. | 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 | 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 | getRenderingContext(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the jsxid of the CDF record that will serve as the origin when rendering the data on-screen. | public void | getRequired(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not this control is required. | public void | getRowClass(org.directwebremoting.proxy.Callback<String> callback) Returns the CSS rule for the HTML row element(s) containing the table data. | public void | getRowStyle(org.directwebremoting.proxy.Callback<String> callback) Returns the CSS properties for the HTML row elements(s) containing the table data. | public void | getSelectedIds(org.directwebremoting.proxy.Callback<Object[]> callback) Returns the jsxid(s) for the selected record(s). | public void | getSelectedNodes(org.directwebremoting.proxy.Callback<java.util.List> callback) Returns the collection of selected records. | public void | getSelectionBG(String strDefault, org.directwebremoting.proxy.Callback<String> callback) | public void | getSelectionModel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the selection model. | 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 | getSortDirection(org.directwebremoting.proxy.Callback<String> callback) | public void | getSortPath(org.directwebremoting.proxy.Callback<String> callback) Returns the name of the CDF attribute to sort on. | public void | getSortType(org.directwebremoting.proxy.Callback<String> callback) Returns the data type to be used for sorting this list. | 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 an array of selected values (or empty array) if the selection model is Table.SELECTION_MULTI_ROW. | public void | getValueTemplate(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Gets the user-defined XSL template (xsl:template) that will override the defualt template defined by Table.DEFAULT_CELL_VALUE_TEMPLATE. | public void | getWrap(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not the table's data cells support text-wrapping and expand vertically to display their wrapped content. | 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.Table | redrawRecord(String strRecordId, java.lang.Object ACTION) This method implements redraw support by repainting the entire control. | 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 | repaintData() Paints only the data rows. | public void | repaintHead() Paints only the header row. | 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 | selectRecord(String strRecordId) Selects a CDF record of this list. | public void | setAlternateRowClass(String strRuleName) Sets the CSS rule for the HTML row element(s) containing the alternating table data rows. | public void | setAlternateRowStyle(String strCSS) Sets the CSS properties for the HTML row element(s) containing the alternating table data rows. | public void | setCanSort(int SORT) Sets whether the table is sortable. | public void | setCellClass(String strRuleName) Sets the CSS rule that will be applied to every HTML cell in the body of the table.
Multiple rules are supported. | public void | setCellStyle(String strCSS) Sets the CSS properties that will be inlined on every HTML cell in the body of the table. | public void | setColumnProfile(jsx3.xml.CdfDocument objCDF) Sets a string of XML (in CDF format) or an actual jsx3.xml.CDF.Document instance representing the Column Profile Document.
Each record in this document defines the profile for a column in the Table. | public void | setColumnProfile(String objCDF) Sets a string of XML (in CDF format) or an actual jsx3.xml.CDF.Document instance representing the Column Profile Document.
Each record in this document defines the profile for a column in the Table. | 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 void | setHeaderClass(String strRuleName) Sets the CSS rule for the HTML row containing the column headers. | public void | setHeaderHeight(int intHeight, boolean bSuppressRepaint) Sets the height of the header row in pixels. | public void | setHeaderStyle(String strCSS) Sets the CSS style properties for the HTML row containing the column headers. | 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 void | setRenderingContext(String strJsxId, boolean bSuppressRepaint) Sets the jsxid of the CDF record that will serve as the origin when rendering the data on-screen. | 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 void | setRowClass(String strRuleName) Sets the CSS rule for the HTML row element(s) containing the table data. | public void | setRowStyle(String strCSS) Sets the CSS properties for the HTML row element(s) containing the table data. | public void | setSelectionBG(String strURL) Sets the URL for the image to use (as the repeating background image) to denote selection. | public void | setSelectionModel(int intType) | 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 void | setSortDirection(String intSortDir) Sets the direction (ascending or descending) for the sorted column. | public void | setSortPath(String strAttr) Sets the name of the CDF attribute to sort on. | public void | setSortType(String DATATYPE) Sets the data type for the list.
Parameters: DATATYPE - data type for this column's data. | 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.Table | setValue(String strId) Sets the value of this table. | public jsx3.gui.Table | setValue(Object[] strId) Sets the value of this table. | public void | setValueTemplate(String TEMPLATE) Sets the user-defined XSL template that will override the defualt template defined by Table.DEFAULT_CELL_VALUE_TEMPLATE.
The template must resolve to a valid XSL Template when parsed. | public void | setWrap(int WRAP) Sets whether or not the table's data cells support text-wrapping and expand vertically to display their wrapped content. | 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. |
DEFAULT_HEADER_HEIGHT | final public static int DEFAULT_HEADER_HEIGHT(Code) | | 20
|
SELECTION_BG | final public static String SELECTION_BG(Code) | | jsx:///images/table/select.gif
|
SELECTION_MULTI_ROW | final public static int SELECTION_MULTI_ROW(Code) | | Enum value for the multiSelect property indicating a single-select table.
|
SELECTION_ROW | final public static int SELECTION_ROW(Code) | | Enum value for the multiSelect property indicating a multi-select table.
|
SELECTION_UNSELECTABLE | final public static int SELECTION_UNSELECTABLE(Code) | | Enum value for the multiSelect property indicating an unselectable table.
|
SORT_ASCENDING | final public static String SORT_ASCENDING(Code) | | ascending
|
SORT_ASCENDING_IMG | final public static String SORT_ASCENDING_IMG(Code) | | jsx:///images/table/sort_asc.gif (default)
|
SORT_DESCENDING | final public static String SORT_DESCENDING(Code) | | descending
|
SORT_DESCENDING_IMG | final public static String SORT_DESCENDING_IMG(Code) | | jsx:///images/table/sort_desc.gif (default)
|
TYPE_NUMBER | final public static String TYPE_NUMBER(Code) | | number
|
TYPE_TEXT | final public static String TYPE_TEXT(Code) | | text (default)
|
Table | public Table(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 |
Table | public Table(String strName)(Code) | | instance initializer
Parameters: strName - unique name distinguishing this object from all other JSX GUI objects in the JSX application |
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. |
deselectAllRecords | public void deselectAllRecords()(Code) | | Deselects all selected CDF records.
|
deselectRecord | public void deselectRecord(String strRecordId)(Code) | | Deselects a CDF record within the Table. Both the view and the data model (CDF) will be updated
Parameters: strRecordId - the jsxid of the record to deselect. |
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. |
doSort | public void doSort(String intSortDir)(Code) | | Sorts according to the current sort path. If no sort direction is specified, the sort direction will be toggled.
Parameters: intSortDir - jsx3.gui.Table.SORT_ASCENDING or jsx3.gui.Table.SORT_DESCENDING . |
doValidate | public void doValidate(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | validates the Table; if the Table is set to 'required', a selection must be made to pass validation. Otherwise, a Table will always pass validation
Parameters: callback - one of: jsx3.gui.Form.STATEINVALID or jsx3.gui.Form.STATEVALID |
focusRowById | public void focusRowById(String strCdfId)(Code) | | Applies focus to the on-screen row indentified by the CDF record id that generated it
Parameters: strCdfId - jsxid property for the corresponding CDF record |
getColumnProfileDocument | public jsx3.xml.CdfDocument getColumnProfileDocument()(Code) | | Returns a clone of the CDF document used internally to define the Columns (text, order, mapped attributes, etc).
The order of the records in this document reflects the order of the columns in the Table. If the column profile document defined
by getColumnProfile is not a valid XML document, an empty CDF Document will be returned instead.
Note that if you make changes to the Document returned by this method, those
changes will only be reflected by calling setColumnProfile (to update the model),
followed by a call to repaint (to update the view).
|
getColumnProfileDocument | public T getColumnProfileDocument(Class<T> returnType)(Code) | | Returns a clone of the CDF document used internally to define the Columns (text, order, mapped attributes, etc).
The order of the records in this document reflects the order of the columns in the Table. If the column profile document defined
by getColumnProfile is not a valid XML document, an empty CDF Document will be returned instead.
Note that if you make changes to the Document returned by this method, those
changes will only be reflected by calling setColumnProfile (to update the model),
followed by a call to repaint (to update the view).
Parameters: returnType - The expected return type |
getContentElement | public void getContentElement(String strCdfId, String strAttName, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the on-screen cell that represents the intersection of the row identified
by strCdfId and the first cell mapped to the named CDF attribute, strAttName.
Parameters: strCdfId - jsxid property for CDF record Parameters: strAttName - attribute name on the CDF record. For example, jsxtext |
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 . |
getHeaderHeight | public void getHeaderHeight(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the height of the header row in pixels. If this value is not set (null), the list will render with
the default value of jsx3.gui.Table.DEFAULT_HEADER_HEIGHT.
Parameters: strDefault - The default value to use if null |
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 . |
getRenderingContext | public void getRenderingContext(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the jsxid of the CDF record that will serve as the origin when rendering the data on-screen. If not set, the
id, jsxroot, (which is the id for the root node, ) will be used.
Parameters: strDefault - The default value to use if null |
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 . |
getSelectedIds | public void getSelectedIds(org.directwebremoting.proxy.Callback<Object[]> callback)(Code) | | Returns the jsxid(s) for the selected record(s). Equivalent to this.getValue() except that the return value is always an Array.
Parameters: callback - JavaScript array of stings |
getSelectionModel | public void getSelectionModel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the selection model. If no selection type is specified, the instance will employ single row selection (SELECTION_ROW)
Parameters: strDefault - The default value to use if null |
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 . |
getSortDirection | public void getSortDirection(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the direction (jsx3.gui.Table.SORT_ASCENDING or jsx3.gui.Table.SORT_DESCENDING) for the sorted column; if no direction specified, ascending is returned
Parameters: callback - one of: jsx3.gui.Table.SORT_ASCENDING or jsx3.gui.Table.SORT_DESCENDING |
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 an array of selected values (or empty array) if the selection model is Table.SELECTION_MULTI_ROW. Returns a string (or null)
for the other selection models
|
getValueTemplate | public void getValueTemplate(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Gets the user-defined XSL template (xsl:template) that will override the defualt template defined by Table.DEFAULT_CELL_VALUE_TEMPLATE.
Parameters: strDefault - xsl:template |
getWrap | public void getWrap(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not the table's data cells support text-wrapping and expand vertically to display their wrapped content. If this
property is not set, the cell content will not wrap.
Parameters: strDefault - Parameters: callback - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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 Table, 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 Table, 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.Table redrawRecord(String strRecordId, java.lang.Object ACTION)(Code) | | This method implements redraw support by repainting the entire control.
Parameters: strRecordId - Parameters: ACTION - 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. |
repaintData | public void repaintData()(Code) | | Paints only the data rows. Call for quick repainting of the data rows when only the source data
has changed. Does not recalculate and reprofile the box profile and resulting XSLT. Retains scroll position when possible.
|
repaintHead | public void repaintHead()(Code) | | Paints only the header row. Call for quick repainting of the header row and not the data rows.
|
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. |
selectRecord | public void selectRecord(String strRecordId)(Code) | | Selects a CDF record of this list. The item will be highlighted in the view and the CDF data will be updated
accordingly. If this list is a multi-select list then this selection will be added to any previous selection.
Parameters: strRecordId - the jsxid of the record to select. |
setAlternateRowClass | public void setAlternateRowClass(String strRuleName)(Code) | | Sets the CSS rule for the HTML row element(s) containing the alternating table data rows. Multiple rules are supported.
For example: bodyText, normalText.
Parameters: strRuleName - |
setAlternateRowStyle | public void setAlternateRowStyle(String strCSS)(Code) | | Sets the CSS properties for the HTML row element(s) containing the alternating table data rows. Multiple properties are supported.
For example: background-color:red;font-family:Arial;.
Parameters: strCSS - |
setCanSort | public void setCanSort(int SORT)(Code) | | Sets whether the table is sortable.
Parameters: SORT - one of jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
setCellClass | public void setCellClass(String strRuleName)(Code) | | Sets the CSS rule that will be applied to every HTML cell in the body of the table.
Multiple rules are supported. For example: boldText titleText.
Parameters: strRuleName - |
setCellStyle | public void setCellStyle(String strCSS)(Code) | | Sets the CSS properties that will be inlined on every HTML cell in the body of the table. Multiple properties are supported.
For example: text-align:right;background-color:#eeeeee;border-bottom:solid 1px #aeaeae;.
Parameters: strCSS - |
setColumnProfile | public void setColumnProfile(jsx3.xml.CdfDocument objCDF)(Code) | | Sets a string of XML (in CDF format) or an actual jsx3.xml.CDF.Document instance representing the Column Profile Document.
Each record in this document defines the profile for a column in the Table. The following attributes are supported on each record:
jsxid: The unique ID for the record (REQUIRED).
jsxtext: HTML or text content to use as the column label.
jsxwidth: The width of the column (pixel units are implied). For example: 300, or 25%.
jsxpath: The name of the attribute to which this column maps (REQUIRED).
jsxpathtype: The data type for the attribute. One of: text (default) or number.
For example:
Parameters: objCDF - |
setColumnProfile | public void setColumnProfile(String objCDF)(Code) | | Sets a string of XML (in CDF format) or an actual jsx3.xml.CDF.Document instance representing the Column Profile Document.
Each record in this document defines the profile for a column in the Table. The following attributes are supported on each record:
jsxid: The unique ID for the record (REQUIRED).
jsxtext: HTML or text content to use as the column label.
jsxwidth: The width of the column (pixel units are implied). For example: 300, or 25%.
jsxpath: The name of the attribute to which this column maps (REQUIRED).
jsxpathtype: The data type for the attribute. One of: text (default) or number.
For example:
Parameters: objCDF - |
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. |
setHeaderClass | public void setHeaderClass(String strRuleName)(Code) | | Sets the CSS rule for the HTML row containing the column headers. Multiple rules are supported.
For example: boldText titleText.
The following CSS properties (those affecting layout and position) are not allowed for the rule: width, height,
left, top, position, overflow, border, padding, margin.
Parameters: strRuleName - |
setHeaderHeight | public void setHeaderHeight(int intHeight, boolean bSuppressRepaint)(Code) | | Sets the height of the header row in pixels. Set to zero (0) to hide the header row and only render the body rows.
Parameters: intHeight - Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as height) are repaintedimmediately to keep the box model abstraction in sync with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. |
setHeaderStyle | public void setHeaderStyle(String strCSS)(Code) | | Sets the CSS style properties for the HTML row containing the column headers. Multiple properties are supported.
For example: background-image:url(JSXAPPS/myproject/images/bg.gif);font-family:Arial;.
The following CSS properties (those affecting layout and position) are not allowed: width, height,
left, top, position, overflow, border, padding, margin.
Parameters: strCSS - |
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. |
setRenderingContext | public void setRenderingContext(String strJsxId, boolean bSuppressRepaint)(Code) | | Sets the jsxid of the CDF record that will serve as the origin when rendering the data on-screen.
Parameters: strJsxId - jsxid property for the CDF record to use as the contextual root when rendering data on-screen. Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring. |
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. |
setRowClass | public void setRowClass(String strRuleName)(Code) | | Sets the CSS rule for the HTML row element(s) containing the table data. Every row will
apply the rule defined by this value, unless an alternate row rule is used, in which case, the rule (classname) is alternated
between this value and the value applied by setAlternateRowClass. Multiple rules are supported.
For example: bodyText normalText.
Parameters: strRuleName - |
setRowStyle | public void setRowStyle(String strCSS)(Code) | | Sets the CSS properties for the HTML row element(s) containing the table data. Every row will
apply the properties defined by this value, unless an alternate row style is used, in which case, the properties are alternated
between this value and the value applied by setAlternateRowStyle. Multiple properties are supported.
For example: background-color:white;font-family:Arial;.
Parameters: strCSS - |
setSelectionBG | public void setSelectionBG(String strURL)(Code) | | Sets the URL for the image to use (as the repeating background image) to denote selection.
Parameters: strURL - |
setSelectionModel | public void setSelectionModel(int intType)(Code) | | Sets the selection model
Parameters: intType - one of Table: .SELECTION_UNSELECTABLE, .SELECTION_ROW, .SELECTION_MULTI_ROW |
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. |
setSortDirection | public void setSortDirection(String intSortDir)(Code) | | Sets the direction (ascending or descending) for the sorted column.
Parameters: intSortDir - one of: jsx3.gui.Table.SORT_ASCENDING or jsx3.gui.Table.SORT_DESCENDING |
setSortPath | public void setSortPath(String strAttr)(Code) | | Sets the name of the CDF attribute to sort on. The records in the data source of this table are sorted
on this attribute before being painted to screen.
Parameters: strAttr - |
setSortType | public void setSortType(String DATATYPE)(Code) | | Sets the data type for the list.
Parameters: DATATYPE - data type for this column's data. Valid types include: jsx3.gui.Table.TYPE_TEXT and jsx3.gui.Table.TYPE_NUMBER |
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.Table setValue(String strId)(Code) | | Sets the value of this table. Deselects all existing selections. Scrolls the first record into view.
Parameters: strId - jsxid attribute for the CDF record(s) to select this object. |
setValue | public jsx3.gui.Table setValue(Object[] strId)(Code) | | Sets the value of this table. Deselects all existing selections. Scrolls the first record into view.
Parameters: strId - jsxid attribute for the CDF record(s) to select this object. |
setValueTemplate | public void setValueTemplate(String TEMPLATE)(Code) | | Sets the user-defined XSL template that will override the defualt template defined by Table.DEFAULT_CELL_VALUE_TEMPLATE.
The template must resolve to a valid XSL Template when parsed. The template should match on a record (match="record"). The template
will be passed a single XSL param (xsl:param) named attname.
Parameters: TEMPLATE - valid xsl:template |
setWrap | public void setWrap(int WRAP)(Code) | | Sets whether or not the table's data cells support text-wrapping and expand vertically to display their wrapped content.
Parameters: WRAP - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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 . |
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)
|
|
|