| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.app.Model jsx3.gui.Painted jsx3.gui.Block jsx3.gui.Matrix
Matrix | public class Matrix extends jsx3.gui.Block (Code) | | The Matrix control is the standard visual interface for the Common Data Format (CDF), providing grid and tree-grid functionality that mirrors the
the record and attribute structures used by the CDF. Instances of this class can be used to create editable grids, selectable lists, trees, tables, etc.
In addtion to providing layout, selection, and editing schemes, the Matrix also provides various paging models to help optimize
how (and how much) data is rendered on-screen. The Matrix class is always used in conjunction with jsx3.gui.Matrix.Column, which describes
how data for a given series should be rendered on-screen. While the Matrix manages data and user interactions, Column
manages the on-screen format for how the data is presented.
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 | commitAutoRowSession(jsx3.gui.Event objEvent, int intCellIndex) Commits any active autorow session. | 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 Matrix. | 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) | public void | executeRecord(String strRecordId) Evaluates the JavaScript code in the jsxexecute attribute of one CDF record of this list. | public void | focusCellById(String strCdfId, String strAttName) Applies focus to the on-screen cell that corresponds to the intersection of the element in the CDF source
document identified by strCdfId, and the first column mapped to strAttName.
Parameters: strCdfId - jsxid property for CDF record Parameters: strAttName - attribute name on the CDF record. | public void | focusCellByIndex(String strCdfId, int intCellIndex) Applies focus to the on-screen cell that corresponds to the intersection of
the element in the CDF source document identified by strCdfId, and the cell at the given index. | public void | focusRowById(String strCdfId) Applies focus to the on-screen row that corresponds to the element in the CDF source document identified by
strCdfId. | public void | getAutoRow(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance. | public jsx3.lang.Object | getAutoRowSession() Returns an object array of name/value pairs representing the current auto row session. | public T | getAutoRowSession(Class<T> returnType) Returns an object array of name/value pairs representing the current auto row session. | public void | getBodyBorder(org.directwebremoting.proxy.Callback<String> callback) | public void | getCanReorder(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether the column children can be reordered via user interaction. | public void | getCanSort(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether the list will render with sortable columns. | public void | getContentElement(String strCdfId, String strAttName, org.directwebremoting.proxy.Callback<String> callback) Returns the HTML element that represents the intersection of the row identified
by strCdfId and the first column 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 | getFixedColumnIndex(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered. | public void | getFocusStyle(String strDefault, org.directwebremoting.proxy.Callback<String> callback) | public void | getHeaderBorder(org.directwebremoting.proxy.Callback<String> callback) | public void | getHeaderHeight(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the height of the header row in pixels. | public void | getIcon(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the icon to use for those CDF records that do not explicitly specify an icon via the jsximg attribute
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon to use. | public void | getIconMinus(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the icon to use when the given tree node is in an open state.
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon. | public void | getIconPlus(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the icon to use when the given tree node is in a closed state.
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon to use. | 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 | getPagingModel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns how data should be painted on-screen. | public void | getPanelPoolSize(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool. | public void | getPanelQueueSize(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Sets the number of panels that are allowed in the queue waiting to be painted. | public void | getReaperInterval(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the the number of milliseconds to wait before checking for inactive panels to garbage collect. | 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 | getRenderNavigators(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not to render the navigation controls that are applied to the first column when rendering model is hierarchical. | 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 | getRenderingModel(String strDefault, org.directwebremoting.proxy.Callback<String> callback) Returns the rendering model (how rows will be painted on-screen). | public void | getRequired(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not this control is required. | public void | getResizable(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not this column can be resized by the user. | public void | getRowHeight(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) | public void | getRowsPerPanel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the number of rows each panel should contain. | public void | getScaleWidth(org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not the column widths should be adjusted (decremented) such that all columns fit within the viewport.
If null or jsx3.Boolean.FALSE, scale width will not be used and the column widths will render
fully, displaying a horizontal scrollbar when necessary. | public void | getScrollInfoLabel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns the info label to display when scrolling a paged instance, in order to show the scroll position. | public void | getScrollLeft(org.directwebremoting.proxy.Callback<Integer> callback) Returns the horizontal scroll position of the list. | public void | getScrollTop(org.directwebremoting.proxy.Callback<Integer> callback) Returns the vertical scroll position. | 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 | getSortedIds(org.directwebremoting.proxy.Callback<Object[]> callback) | public void | getSuppressHScroller(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not to supress display of the horizontal scrollbar. | public void | getSuppressVScroller(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback) Returns whether or not to supress display of the vertical scrollbar. | 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 Matrix.SELECTION_MULTI_ROW. | 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 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 void | redrawCell(String strRecordId, jsx3.gui.matrix.Column objColumn, boolean bSuppressTriggers) Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.
Parameters: strRecordId - jsxid value for the record node (according to the CDF) corresponding to the on-screen row to update Parameters: objColumn - Column instance to update. | public void | redrawMappedCells(String strRecordId, String strAttName) Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.
Parameters: strRecordId - The jsxid value for the record node (according to the CDF) corresponding to the on-screen row to update Parameters: strAttName - Named attribute on the CDF record. | public void | redrawRecord(String strRecordId, int intAction, boolean bRecurse) Matrix implementation. | 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() Repaints the header row for improved runtime efficiency. | 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 | resetFocusContext(String strId) Removes the focus style from whichever cell is designated to have focus context. | public void | resetMask() Ends any existing edit session and hides the active mask. | public void | resetXmlCacheData(jsx3.app.Server objServer) Removes the XML source document stored under the XML ID of this object from the server cache.
Parameters: objServer - the server owning the cache to modify. | public void | revealRecord(String strRecordId) Reveals a record by toggling parent nodes open (if rendering hierarcally) and scrolling the record into view. | public void | selectRecord(String strRecordId) Selects a CDF record of this list. | public void | setAutoRow(int intBoolean) Sets whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance. | public jsx3.gui.Block | setBodyBorder(String strCSS, boolean bSuppressRepaint) Sets CSS property value(s) for a border (border: solid 1px #000000). | public T | setBodyBorder(String strCSS, boolean bSuppressRepaint, Class<T> returnType) Sets CSS property value(s) for a border (border: solid 1px #000000). | public void | setCanReorder(int REORDER) | public void | setCanSort(int SORT) Sets whether the list will render with sortable columns. | 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 | setFixedColumnIndex(int intIndex) Sets the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered. | public void | setFocusStyle(String strCSS) Sets the CSS string to apply to a Row/Cell when it has focus. | public void | setHeaderBorder(String strCSS) Sets CSS property value(s) for a border on the header row (border: solid 1px #000000). | public void | setHeaderHeight(int intHeight, boolean bSuppressRepaint) Sets the height of the header row in pixels. | public void | setIcon(String strURL) | public void | setIconMinus(String strURL) Sets the icon to use when the given tree node is in an open state. | public void | setIconPlus(String strURL) Sets the icon to use when the given tree node is in a closed state. | 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 | setPagingModel(int intModel) Sets how data should be painted on-screen. | public void | setPanelPoolSize(int intCount) Sets the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool. | public void | setPanelQueueSize(int intCount) Sets the number of panels that are allowed in the queue waiting to be painted. | public void | setReaperInterval(int intInterval) Sets the the number of milliseconds to wait before checking for inactive panels to garbage collect. | public void | setRenderNavigators(int intTrueFalse, boolean bSuppressRepaint) Sets whether or not to render the navigation controls on the first column when being rendered in hierarchical mode.
Parameters: intTrueFalse - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as rendering the navigational controls) are repaintedimmediately to keep the box model abstraction in synch with the native view. | 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 void | setRenderingModel(String MODEL, boolean bSuppressRepaint) Sets the rendering model (how rows will be painted 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 | setResizable(int RESIZE) Sets whether or not this column can be resized by the user. | public void | setRowHeight(int intHeight, boolean bSuppressRepaint) Sets the on-screen row height. | public void | setRowsPerPanel(int intCount, boolean bSuppressRepaint) Sets the number of rows each panel should contain. | public void | setScaleWidth(int intBoolean) Sets whether or not the column widths should be adjusted such that all columns visually display within the viewport. | public void | setScrollInfoLabel(String strLabel) Sets the standard info label to display when scrolling to show the scroll position. | public void | setScrollLeft(int intScrollLeft) Sets the horizontal scroll position. | public void | setScrollTop(int intScrollTop, String objGUI) Sets the vertical scroll position. | 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. | 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 void | setSuppressHScroller(int intTrueFalse) Sets whether or not to supress display of the horizontal scrollbar. | public void | setSuppressVScroller(int intTrueFalse, boolean bSuppressRepaint) Sets whether or not to supress display of the vertical scrollbar. | 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.Matrix | setValue(Object[] strId) Sets the value of this matrix. | public jsx3.gui.Matrix | setValue(String strId) Sets the value of this matrix. | public jsx3.xml.Cacheable | setXMLId(String strXMLId) Sets the XML ID of this object. | public T | setXMLId(String strXMLId, Class<T> returnType) Sets the XML ID of this object. | public jsx3.xml.Cacheable | setXMLString(String strXML) Sets the XML string of this object. | public T | setXMLString(String strXML, Class<T> returnType) Sets the XML string of this object. | public void | setXMLTransformers(Object[] arrTrans) Sets the list of XML transformers of this object. | public jsx3.xml.Cacheable | setXMLURL(String strXMLURL) Sets the XML URL of this object. | public T | setXMLURL(String strXMLURL, Class<T> returnType) Sets the XML URL of this object. | public jsx3.xml.Cacheable | setXSLParam(String strName, String strValue) Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. | public T | setXSLParam(String strName, String strValue, Class<T> returnType) Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. | public jsx3.xml.Cacheable | setXmlAsync(boolean bAsync) Sets whether the XML data source of this object is loaded asynchronously. | public T | setXmlAsync(boolean bAsync, Class<T> returnType) Sets whether the XML data source of this object is loaded asynchronously. | public void | setXmlBind(boolean bBind, org.directwebremoting.proxy.Callback<Integer> callback) Sets whether this object is bound to the XML document stored in the data cache. | public void | synchronizeVScroller() Updates the scroll height and scroll position of the vertical scrollbar. | public void | toggleItem(String strRecordId, boolean bOpen) |
APPEND_IMG | final public static String APPEND_IMG(Code) | | jsx:///images/matrix/append.gif
|
AUTOROW_FIRST_ROW | final public static int AUTOROW_FIRST_ROW(Code) | | 2
|
AUTOROW_LAST_ROW | final public static int AUTOROW_LAST_ROW(Code) | | 1
|
AUTOROW_NONE | final public static int AUTOROW_NONE(Code) | | 0
|
AUTO_SCROLL_INTERVAL | final public static int AUTO_SCROLL_INTERVAL(Code) | | 50
|
DEFAULT_HEADER_HEIGHT | final public static int DEFAULT_HEADER_HEIGHT(Code) | | 20
|
DEFAULT_PANEL_POOL_COUNT | final public static int DEFAULT_PANEL_POOL_COUNT(Code) | | 18. number of panels allowed on-screen before destroying the panel most distant from the current panel index
|
DEFAULT_PANEL_QUEUE_SIZE | final public static int DEFAULT_PANEL_QUEUE_SIZE(Code) | | 3. number of panels in the paint queue. As new panels are added to the queue to be painted, older, less-relevant panels in the queue are removed
|
DEFAULT_REAPER_INTERVAL | final public static int DEFAULT_REAPER_INTERVAL(Code) | | 250. number of milliseconds between the time a new panel is added and the reaper checks for content exceeding Matrix.DEFAULT_PANEL_POOL_COUNT
|
DEFAULT_ROWS_PER_PANEL | final public static int DEFAULT_ROWS_PER_PANEL(Code) | | 50. number of rows in a given panel
|
DEFAULT_ROW_HEIGHT | final public static int DEFAULT_ROW_HEIGHT(Code) | | 20
|
FOCUS_STYLE | final public static String FOCUS_STYLE(Code) | | font-weight:bold
|
ICON | final public static String ICON(Code) | | jsx:///images/matrix/file.gif (default)
|
ICON_MINUS | final public static String ICON_MINUS(Code) | | jsx:///images/matrix/minus.gif (default)
|
ICON_PLUS | final public static String ICON_PLUS(Code) | | jsx:///images/matrix/plus.gif (default)
|
INSERT_BEFORE_IMG | final public static String INSERT_BEFORE_IMG(Code) | | jsx:///images/matrix/insert_before.gif
|
MINIMUM_COLUMN_WIDTH | final public static int MINIMUM_COLUMN_WIDTH(Code) | | 4. minimum width of a column when minimized (set Display to 'none' to completely hide a column)
|
ON_PAINT_PAGE | final public static String ON_PAINT_PAGE(Code) | | jsxpaintpage. Event to subscribe to each time a page of content is about to be painted on-screen
|
PAGING_2PASS | final public static int PAGING_2PASS(Code) | | The outer container is first painted and then the entirety of the data is painted during a second pass
|
PAGING_CHUNKED | final public static int PAGING_CHUNKED(Code) | | The outer container is first painted. Chunked sets of data are painted on-screen during repeated passes until
all data is painted
|
PAGING_OFF | final public static int PAGING_OFF(Code) | | Default. All data is painted at once with the outer container.
|
PAGING_PAGED | final public static int PAGING_PAGED(Code) | | The outer container is first painted. The first and last panels are painted during a second pass. As the user
scrolls, relevant panels are added and unused panels are collected. (NOTE: Requires that row height be fixed.)
|
PAGING_STEPPED | final public static int PAGING_STEPPED(Code) | | The outer container is painted along with any rows which are immediate children of the rendering context and those
descendant rows that have an open path to the context node. All other rows will be fetched when the state for
their on-screen parent row is toggled to open.
|
SELECTION_BG | final public static String SELECTION_BG(Code) | | jsx:///images/matrix/select.gif
|
SELECTION_MULTI_ROW | final public static int SELECTION_MULTI_ROW(Code) | | 2
|
SELECTION_ROW | final public static int SELECTION_ROW(Code) | | 1 (default)
|
SELECTION_UNSELECTABLE | final public static int SELECTION_UNSELECTABLE(Code) | | 0
|
SORT_ASCENDING | final public static String SORT_ASCENDING(Code) | | ascending
|
SORT_ASCENDING_IMG | final public static String SORT_ASCENDING_IMG(Code) | | jsx:///images/matrix/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/matrix/sort_desc.gif (default)
|
Matrix | public Matrix(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 |
Matrix | public Matrix(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.
|
commitAutoRowSession | public void commitAutoRowSession(jsx3.gui.Event objEvent, int intCellIndex)(Code) | | Commits any active autorow session.
Parameters: objEvent - If passed, Allows Model Event to fire. Parameters: intCellIndex - Focus will be applied to the autorow cell at this index (zero-based) |
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 Matrix. 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 value will be toggled.
Parameters: intSortDir - jsx3.gui.Matrix.SORT_ASCENDING or jsx3.gui.Matrix.SORT_DESCENDING . |
executeRecord | public void executeRecord(String strRecordId)(Code) | | Evaluates the JavaScript code in the jsxexecute attribute of one CDF record of this list.
Parameters: strRecordId - the jsxid of the CDF record to execute. |
focusCellById | public void focusCellById(String strCdfId, String strAttName)(Code) | | Applies focus to the on-screen cell that corresponds to the intersection of the element in the CDF source
document identified by strCdfId, and the first column mapped to strAttName.
Parameters: strCdfId - jsxid property for CDF record Parameters: strAttName - attribute name on the CDF record. For example, jsxtext |
focusCellByIndex | public void focusCellByIndex(String strCdfId, int intCellIndex)(Code) | | Applies focus to the on-screen cell that corresponds to the intersection of
the element in the CDF source document identified by strCdfId, and the cell at the given index.
Parameters: strCdfId - jsxid property for CDF record Parameters: intCellIndex - zero-based index of cell (on-screen). |
focusRowById | public void focusRowById(String strCdfId)(Code) | | Applies focus to the on-screen row that corresponds to the element in the CDF source document identified by
strCdfId. Note that since only cells can receive focus, this method will apply focus to the
first cell child in the row.
Parameters: strCdfId - jsxid property for CDF record |
getAutoRow | public void getAutoRow(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance.
Parameters: callback - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
getAutoRowSession | public jsx3.lang.Object getAutoRowSession()(Code) | | Returns an object array of name/value pairs representing the current auto row session. When the session is committed, this
object will be converted into a CDF Record for the instance.
|
getAutoRowSession | public T getAutoRowSession(Class<T> returnType)(Code) | | Returns an object array of name/value pairs representing the current auto row session. When the session is committed, this
object will be converted into a CDF Record for the instance.
Parameters: returnType - The expected return type |
getCanReorder | public void getCanReorder(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether the column children can be reordered via user interaction. If no value is supplied
the isntance will allow child columns to be reordered.
Parameters: callback - one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
getContentElement | public void getContentElement(String strCdfId, String strAttName, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the HTML element that represents the intersection of the row identified
by strCdfId and the first column 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 . |
getFixedColumnIndex | public void getFixedColumnIndex(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered. For example, if this value
is set to 1, the first column can never be reordered and will always remain the first column. If this value is set to 2,
the first two columns will be fixed. Setting this value to 0 is effectively the same as setting it to null
Parameters: strDefault - The default value to use if null Parameters: callback - positive integer |
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.Matrix.DEFAULT_HEADER_HEIGHT.
Parameters: strDefault - The default value to use if null |
getIcon | public void getIcon(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the icon to use for those CDF records that do not explicitly specify an icon via the jsximg attribute
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon to use. If null, jsx3.gui.Matrix.ICON will be applied when rendered. |
getIconMinus | public void getIconMinus(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the icon to use when the given tree node is in an open state.
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon. If null, jsx3.gui.Matrix.ICON_MINUS will be applied when rendered. |
getIconPlus | public void getIconPlus(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the icon to use when the given tree node is in a closed state.
Parameters: strDefault - The default value to use if null Parameters: callback - URL for icon to use. If null, jsx3.gui.Matrix.ICON_PLUS will be applied when rendered. |
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 |
getPagingModel | public void getPagingModel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns how data should be painted on-screen. If no value is specified, Matrix.PAGING_OFF will be applied. Note that the rendering model limits the available paging models:
Matrix.PAGING_OFF: Paint everthing to screen at once (container and data) (rendering model: all)
Matrix.PAGING_2PASS: Paint outer container and then perform a second pass to paint the data. (rendering model: deep, shallow)
Matrix.PAGING_CHUNKED: Paint outer container and then perform repeated paints until all data has been painted, regardless of scroll position. (rendering model: deep, shallow)
Matrix.PAGING_PAGED: Paint outer container. Paint First and last panels during second pass. Paint relevant panels when user scrolls to a given position. Discard excess panels. (rendering model: deep, shallow)
Matrix.PAGING_STEPPED: Paint root nodes and any open descendants. Paint others as they are toggled open. (rendering model: hierarchical)
Parameters: strDefault - The default value to use if null |
getPanelPoolSize | public void getPanelPoolSize(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool. If a panel count greater
than this value exists, the panels furthest away (as calculated by the scroll position) from the active panel will be destroyed. If this value is null,
the value defined by the constant, Matrix.DEFAULT_PANEL_POOL_COUNT, will be used.
Parameters: strDefault - The default value to use if null |
getPanelQueueSize | public void getPanelQueueSize(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Sets the number of panels that are allowed in the queue waiting to be painted. If null, the default value will be used: jsx3.gui.Matrix.DEFAULT_PANEL_QUEUE_SIZE
Note that this is different from the number of painted panels allowed on screen (e.g., getPanelPoolSize()).
Parameters: strDefault - The default value to use if null |
getReaperInterval | public void getReaperInterval(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the the number of milliseconds to wait before checking for inactive panels to garbage collect. If null, the default value will be used: jsx3.gui.Matrix.DEFAULT_REAPER_INTERVAL
Parameters: strDefault - The default value to use if null |
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 . |
getRenderNavigators | public void getRenderNavigators(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not to render the navigation controls that are applied to the first column when rendering model is hierarchical. When not set the navigators are rendered.
Parameters: strDefault - The default value to use if null Parameters: callback - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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 |
getRenderingModel | public void getRenderingModel(String strDefault, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the rendering model (how rows will be painted on-screen). If not set, the instance will render deep, meaning all descendants
of the rendering context will be painted on-screen.
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 . |
getRowsPerPanel | public void getRowsPerPanel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the number of rows each panel should contain. If null, the default value will be used: jsx3.gui.Matrix.DEFAULT_ROWS_PER_PANEL
Parameters: strDefault - The default value to use if null |
getScaleWidth | public void getScaleWidth(org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not the column widths should be adjusted (decremented) such that all columns fit within the viewport.
If null or jsx3.Boolean.FALSE, scale width will not be used and the column widths will render
fully, displaying a horizontal scrollbar when necessary. In such a case, all wildcard columns (e.g., *) will be resolved to the value,
jsx3.gui.Matrix.Column.DEFAULT_WIDTH.
|
getScrollInfoLabel | public void getScrollInfoLabel(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns the info label to display when scrolling a paged instance, in order to show the scroll position.
Parameters: strDefault - The default value to use if null |
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.Matrix.SORT_ASCENDING or jsx3.gui.Matrix.SORT_DESCENDING) for the sorted column; if no direction specified, ascending is returned
Parameters: callback - one of: jsx3.gui.Matrix.SORT_ASCENDING or jsx3.gui.Matrix.SORT_DESCENDING |
getSortType | public void getSortType(org.directwebremoting.proxy.Callback<String> callback)(Code) | | Returns the data type to be used for sorting this list. This value is either the one explicitly set with
setSortType() or the data type of the current sort.
Parameters: callback - jsx3.gui.Matrix.Column.TYPE_TEXT or jsx3.gui.Matrix.Column.TYPE_NUMBER |
getSuppressHScroller | public void getSuppressHScroller(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not to supress display of the horizontal scrollbar. When not set, the scrollbar will display as needed.
Parameters: strDefault - The default value to use if null Parameters: callback - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
getSuppressVScroller | public void getSuppressVScroller(String strDefault, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Returns whether or not to supress display of the vertical scrollbar. When not set, the scrollbar will display as needed.
Parameters: strDefault - The default value to use if null Parameters: callback - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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 Matrix.SELECTION_MULTI_ROW. Returns a string (or null)
for the other selection models
|
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 |
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. |
redrawCell | public void redrawCell(String strRecordId, jsx3.gui.matrix.Column objColumn, boolean bSuppressTriggers)(Code) | | Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.
Parameters: strRecordId - jsxid value for the record node (according to the CDF) corresponding to the on-screen row to update Parameters: objColumn - Column instance to update. Any sibling Columns that map to the same named attribute as objColumn(e.g., [objColumn].getPath() ) as well as all sibling Columns that are triggered by the named attribute(e.g., [objColumn].getTriggers() ) will also be redrawn. Parameters: bSuppressTriggers - if true, no other sibling Columns will be updated, even if they share a common path or designate the path as one of their triggers. |
redrawMappedCells | public void redrawMappedCells(String strRecordId, String strAttName)(Code) | | Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.
Parameters: strRecordId - The jsxid value for the record node (according to the CDF) corresponding to the on-screen row to update Parameters: strAttName - Named attribute on the CDF record. All Column children that map to this named attribute(e.g., [objColumn].getPath() ) as well as all Column children that are triggered by the named attribute(e.g., [objColumn].getTriggers() ) will be redrawn. |
redrawRecord | public void redrawRecord(String strRecordId, int intAction, boolean bRecurse)(Code) | | Matrix implementation.
Parameters: strRecordId - jsxid value for the record node (according to the CDF) to redraw Parameters: intAction - jsx3.xml.CDF.INSERT , jsx3.xml.CDF.INSERTBEFORE , jsx3.xml.CDF.DELETE , or jsx3.xml.CDF.UPDATE . Parameters: bRecurse - if != false, any necessary recursion for flattened inserts will be automatically handled |
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) | | Repaints the header row for improved runtime efficiency. For example, a minor text change to a label in a header row shouldn't repaint the entirety of the instance
|
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. |
resetFocusContext | public void resetFocusContext(String strId)(Code) | | Removes the focus style from whichever cell is designated to have focus context. Once focus context
is applied to the active cell in a matrix, the focus style will continue to be applied to
the active cell until another cell is set as the active cell or the Matrix is repainted via
a call to repaint or repaintData.
Parameters: strId - |
resetMask | public void resetMask()(Code) | | Ends any existing edit session and hides the active mask. This is a carryover method from grid.
|
resetXmlCacheData | public void resetXmlCacheData(jsx3.app.Server objServer)(Code) | | Removes the XML source document stored under the XML ID of this object from the server cache.
Parameters: objServer - the server owning the cache to modify. This is a required argument only ifthis.getServer() does not returns a server instance. |
revealRecord | public void revealRecord(String strRecordId)(Code) | | Reveals a record by toggling parent nodes open (if rendering hierarcally) and scrolling the record into view.
Parameters: strRecordId - the id of the record to reveal |
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. |
setAutoRow | public void setAutoRow(int intBoolean)(Code) | | Sets whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance. Note
that if the rendering model is hierarchical or the paging model is jsx3.gui.Matrix.PAGING_PAGED, the auto row
feature is disabled. The CSS style for the auto row (a TR element) can be modified via the XSL Parameters palette, via the XSL
parameter, jsx_autorow_style
Parameters: intBoolean - jsx3.Boolean.TRUE if the column widths should be adjusted to fully fit within the viewport |
setBodyBorder | public jsx3.gui.Block setBodyBorder(String strCSS, boolean bSuppressRepaint)(Code) | | Sets CSS property value(s) for a border (border: solid 1px #000000). Updates MODEL and VIEW (unless repaint is suppressed).
Parameters: strCSS - valid CSS property value for a border (border: solid 1px #000000) Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as borders) are repaintedimmediately to keep the box model abstraction in synch with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. this object |
setBodyBorder | public T setBodyBorder(String strCSS, boolean bSuppressRepaint, Class<T> returnType)(Code) | | Sets CSS property value(s) for a border (border: solid 1px #000000). Updates MODEL and VIEW (unless repaint is suppressed).
Parameters: strCSS - valid CSS property value for a border (border: solid 1px #000000) Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as borders) are repaintedimmediately to keep the box model abstraction in synch with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. Parameters: returnType - The expected return type this object |
setCanReorder | public void setCanReorder(int REORDER)(Code) | | Sets whether the columns in the list can be re-ordered via user interaction with the VIEW
Parameters: REORDER - one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
setCanSort | public void setCanSort(int SORT)(Code) | | Sets whether the list will render with sortable columns.
Parameters: SORT - one of jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
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. |
setFixedColumnIndex | public void setFixedColumnIndex(int intIndex)(Code) | | Sets the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered.
Parameters: intIndex - positive integer |
setFocusStyle | public void setFocusStyle(String strCSS)(Code) | | Sets the CSS string to apply to a Row/Cell when it has focus. NOTE: Passing
styles that affect position, left, top, width, height, border, background-image, padding, and margin
(those reserved by the class) can have undesired effects.
Parameters: strCSS - Valid CSS. For example: font-weight:bold;color:orange; |
setHeaderBorder | public void setHeaderBorder(String strCSS)(Code) | | Sets CSS property value(s) for a border on the header row (border: solid 1px #000000). Updates both model and view.
Parameters: strCSS - valid CSS property value for a border (border: solid 1px #000000) |
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. |
setIcon | public void setIcon(String strURL)(Code) | | Sets the icon to use for those CDF records that do not explicitly specify an icon via the jsximg attribute
Parameters: strURL - URL for icon to use |
setIconMinus | public void setIconMinus(String strURL)(Code) | | Sets the icon to use when the given tree node is in an open state.
Parameters: strURL - URL (preferably relative) |
setIconPlus | public void setIconPlus(String strURL)(Code) | | Sets the icon to use when the given tree node is in a closed state.
Parameters: strURL - URL (preferably relative) |
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. |
setPagingModel | public void setPagingModel(int intModel)(Code) | | Sets how data should be painted on-screen. If no value is specified, Matrix.PAGING_OFF will be applied.
Parameters: intModel - one of: Matrix. PAGING_OFF, PAGING_2PASS, PAGING_CHUNKED, PAGING_PAGED, PAGING_STEPPED |
setPanelPoolSize | public void setPanelPoolSize(int intCount)(Code) | | Sets the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool.
Parameters: intCount - |
setPanelQueueSize | public void setPanelQueueSize(int intCount)(Code) | | Sets the number of panels that are allowed in the queue waiting to be painted. Can be tuned up or down to optimize performance given the amount of data, connection speed, etc
Parameters: intCount - |
setReaperInterval | public void setReaperInterval(int intInterval)(Code) | | Sets the the number of milliseconds to wait before checking for inactive panels to garbage collect.
Parameters: intInterval - number of milliseconds |
setRenderNavigators | public void setRenderNavigators(int intTrueFalse, boolean bSuppressRepaint)(Code) | | Sets whether or not to render the navigation controls on the first column when being rendered in hierarchical mode.
Parameters: intTrueFalse - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as rendering the navigational controls) are repaintedimmediately to keep the box model abstraction in synch with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. |
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. |
setRenderingModel | public void setRenderingModel(String MODEL, boolean bSuppressRepaint)(Code) | | Sets the rendering model (how rows will be painted on-screen).
Parameters: MODEL - one of: shallow, deep, or hierarchical 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. |
setResizable | public void setResizable(int RESIZE)(Code) | | Sets whether or not this column can be resized by the user. If not set, the column will be assumed resizable. Note that if the parent Matrix
is set as NOT resizable, this setting is ignored and no child columns can be resized
Parameters: RESIZE - |
setRowHeight | public void setRowHeight(int intHeight, boolean bSuppressRepaint)(Code) | | Sets the on-screen row height. If row height is null, the default row height will be used (Matrix.DEFAULT_ROW_HEIGHT).
If row height is 0, the row height is flexible and the row's height will expand to fit the content.
Parameters: intHeight - height in pixels Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as padding) are repaintedimmediately to keep the box model abstraction in synch with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. |
setRowsPerPanel | public void setRowsPerPanel(int intCount, boolean bSuppressRepaint)(Code) | | Sets the number of rows each panel should contain.
Parameters: intCount - Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring. |
setScaleWidth | public void setScaleWidth(int intBoolean)(Code) | | Sets whether or not the column widths should be adjusted such that all columns visually display within the viewport.
Defaults to jsx3.Boolean.FALSE if not set, meaning a horizontal scrollbar will appear if the aggregate column widths
exceed the available width of the viewport.
Parameters: intBoolean - One of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
setScrollInfoLabel | public void setScrollInfoLabel(String strLabel)(Code) | | Sets the standard info label to display when scrolling to show the scroll position. If no label is supplied
an appropriate localized value will be used. Set to an empty string to suppress any label from displaying.
Parameters: strLabel - valid HTML/Text. Set to an empty string to suppress any label from displaying. Wildcards are as follows:- {0} The index position of the first visible on-screen row
- {1} The index position of the last visible on-screen row
- {2} Total count of all records in the list
|
setScrollLeft | public void setScrollLeft(int intScrollLeft)(Code) | | Sets the horizontal scroll position.
Parameters: intScrollLeft - a non-negative number |
setScrollTop | public void setScrollTop(int intScrollTop, String objGUI)(Code) | | Sets the vertical scroll position.
Parameters: intScrollTop - a non-negative number Parameters: objGUI - |
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 Matrix: .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.Matrix.SORT_ASCENDING or jsx3.gui.Matrix.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 matrix 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. This explicit value will override any column data type if set. If it is not set
the data type specific to the sort column is used for sorting.
Parameters: DATATYPE - data type for this column's data; ; valid types include: jsx3.gui.Matrix.Column.TYPE_TEXT and jsx3.gui.Matrix.Column.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. |
setSuppressHScroller | public void setSuppressHScroller(int intTrueFalse)(Code) | | Sets whether or not to supress display of the horizontal scrollbar. Updates both model and view
Parameters: intTrueFalse - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE |
setSuppressVScroller | public void setSuppressVScroller(int intTrueFalse, boolean bSuppressRepaint)(Code) | | Sets whether or not to supress display of the vertical scrollbar. Updates both model and view.
Parameters: intTrueFalse - jsx3.Boolean.TRUE or jsx3.Boolean.FALSE Parameters: bSuppressRepaint - Pass true to stop the default repaint from occurring.Typically property updates that affect the browser-specific box model (such as rendering the vertical scrollbar) are repaintedimmediately to keep the box model abstraction in synch with the native view. However, the repaint can besuppressed to avoid unnecessary reparsing of the XSLT during repeated property updates. |
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.Matrix setValue(Object[] strId)(Code) | | Sets the value of this matrix. 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.Matrix setValue(String strId)(Code) | | Sets the value of this matrix. Deselects all existing selections. Scrolls the first record into view.
Parameters: strId - jsxid attribute for the CDF record(s) to select this object. |
setXMLId | public jsx3.xml.Cacheable setXMLId(String strXMLId)(Code) | | Sets the XML ID of this object. This value is the key under which the XML source document of this object is
saved in the cache of the server owning this object. The developer may specify either a unique or shared value.
If no value is specified, a unique id is generated.
Parameters: strXMLId - this object. |
setXMLId | public T setXMLId(String strXMLId, Class<T> returnType)(Code) | | Sets the XML ID of this object. This value is the key under which the XML source document of this object is
saved in the cache of the server owning this object. The developer may specify either a unique or shared value.
If no value is specified, a unique id is generated.
Parameters: strXMLId - Parameters: returnType - The expected return type this object. |
setXMLString | public jsx3.xml.Cacheable setXMLString(String strXML)(Code) | | Sets the XML string of this object. Setting this value to the string serialization of an XML document is one
way of specifying the source XML document of this object.
Parameters: strXML - null or a well-formed serialized XML element. this object. |
setXMLString | public T setXMLString(String strXML, Class<T> returnType)(Code) | | Sets the XML string of this object. Setting this value to the string serialization of an XML document is one
way of specifying the source XML document of this object.
Parameters: strXML - null or a well-formed serialized XML element. Parameters: returnType - The expected return type this object. |
setXMLTransformers | public void setXMLTransformers(Object[] arrTrans)(Code) | | Sets the list of XML transformers of this object. The XML source document of this object is transformed
serially by each of these transformers before it is placed in the XML cache.
Each transformer is either the URI of an XSLT document (which will be resolved against the
the server of this object) or the cache id of a XSLT document in the XML cache of the server
of this object. When any transformer is loaded from a URI it is placed in the server cache under the id
equal to its resolved URI. Any transformer that does not correspond to a valid XSLT document will be skipped
without throwing an error.
Parameters: arrTrans - |
setXMLURL | public jsx3.xml.Cacheable setXMLURL(String strXMLURL)(Code) | | Sets the XML URL of this object. Settings this value to the URI of an XML document is one way of specifying the
source XML document of this object.
Parameters: strXMLURL - null or a URI that when resolved against the server owning this objectspecifies a valid XML document. this object. |
setXMLURL | public T setXMLURL(String strXMLURL, Class<T> returnType)(Code) | | Sets the XML URL of this object. Settings this value to the URI of an XML document is one way of specifying the
source XML document of this object.
Parameters: strXMLURL - null or a URI that when resolved against the server owning this objectspecifies a valid XML document. Parameters: returnType - The expected return type this object. |
setXSLParam | public jsx3.xml.Cacheable setXSLParam(String strName, String strValue)(Code) | | Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. If
strValue is null the parameter is removed.
Parameters: strName - the name of the XSL parameter to add. Parameters: strValue - the value of the XSL parameter to add. this object. |
setXSLParam | public T setXSLParam(String strName, String strValue, Class<T> returnType)(Code) | | Adds a name/value pair to the list of parameters to pass to the XSL stylesheet during transformation. If
strValue is null the parameter is removed.
Parameters: strName - the name of the XSL parameter to add. Parameters: strValue - the value of the XSL parameter to add. Parameters: returnType - The expected return type this object. |
setXmlAsync | public jsx3.xml.Cacheable setXmlAsync(boolean bAsync)(Code) | | Sets whether the XML data source of this object is loaded asynchronously. This setting only applies to
data sources loaded from an XML URL.
Parameters: bAsync - this object. |
setXmlAsync | public T setXmlAsync(boolean bAsync, Class<T> returnType)(Code) | | Sets whether the XML data source of this object is loaded asynchronously. This setting only applies to
data sources loaded from an XML URL.
Parameters: bAsync - Parameters: returnType - The expected return type this object. |
setXmlBind | public void setXmlBind(boolean bBind, org.directwebremoting.proxy.Callback<Integer> callback)(Code) | | Sets whether this object is bound to the XML document stored in the data cache. If this object is bound to the
cache, then the onXmlBinding() method of this object is called any time the document stored in
the cache under the XML Id of this object changes.
Parameters: bBind - Parameters: callback - 0 or 1 . |
synchronizeVScroller | public void synchronizeVScroller()(Code) | | Updates the scroll height and scroll position of the vertical scrollbar. When a Matrix instance has
a display property of none (or is contained by an ancestor with a display of none) and the Matrix is repainted (repaint/repaintData),
the browser will misreport how large the content actually is. When the Matrix is then restored the scrollbars will be disabled.
By calling this method after the view has been restored (i.e., when display is set to block), the scrollbars will reflect the accurate height.
|
toggleItem | public void toggleItem(String strRecordId, boolean bOpen)(Code) | | Toggles the open/closed state for a node in the Matrix
Parameters: strRecordId - the 'jsxid' attribute on the given CDF record to toggle Parameters: bOpen - if null, the open state will be toggled |
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)
|
|
|