| Nested Class Summary | |
|---|---|
| jsx3.gui.Matrix.BlockMask | The interface that defines the methods that affect the behavior of a composite object used as an edit mask of a
matrix column. |
| jsx3.gui.Matrix.Column | Column control for use as a child of a jsx3.gui.Matrix class |
| jsx3.gui.Matrix.ColumnFormat | A class that defines the methods required for an object to be used by Matrix.Column instances to
format cells of data. |
| jsx3.gui.Matrix.EditMask | The interface defining the methods that affect the behavior of an object used as an edit mask in a matrix column. |
| Field Summary | |
|---|---|
| static String | jsx:///images/matrix/append.gif
|
| static int | 2 |
| static int | 1 |
| static int | 0 |
| static int | 50
|
| static String | |
| static int | 20
|
| static String | Deprecated. This value is localized.
|
| static int | 18. |
| static int | 3. |
| static int | 250. |
| static int | 50. |
| static int | 20
|
| static String | Deprecated. Renamed to DEFAULTXSLURL.
|
| static String | font-weight:bold
|
| static String | jsx:///images/matrix/file.gif (default)
|
| static String | jsx:///images/matrix/minus.gif (default)
|
| static String | jsx:///images/matrix/plus.gif (default)
|
| static String | jsx:///images/matrix/insert_before.gif
|
| static String | 4. |
| static String | jsxpaintpage. |
| static int | The outer container is first painted and then the entirety of the data is painted during a second pass |
| static int | The outer container is first painted. |
| static int | Default. |
| static int | The outer container is first painted. |
| static int | 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. |
| static String | jsx:///images/matrix/select.gif
|
| static int | 2 |
| static int | 1 (default) |
| static int | 0 |
| static String | ascending |
| static String | jsx:///images/matrix/sort_asc.gif (default)
|
| static String | descending |
| static String | jsx:///images/matrix/sort_desc.gif (default)
|
| Constructor Summary | |
|---|---|
| void | instance initializer |
| Method Summary | |
|---|---|
| void | Instance override |
| void | Commits any active autorow session. |
| jsx3.xml.Entity | Removes a record from the XML data source of this object. |
| void | Deselects all selected CDF records. |
| void | deselectRecord(strRecordId : String) Deselects a CDF record within the Matrix. |
| void | Sorts according to the current sort path. |
| int | |
| void | executeRecord(strRecordId : String) Evaluates the JavaScript code in the jsxexecute attribute of one CDF record of this list. |
| void | 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. |
| void | 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. |
| void | focusRowById(strCdfId : String) Applies focus to the on-screen row that corresponds to the element in the CDF source document identified by
strCdfId. |
| int | Returns whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance. |
| Object | Returns an object array of name/value pairs representing the current auto row session. |
| String | Returns CSS property value(s) for a border (border: solid 1px #000000) |
| int | Returns whether the column children can be reordered via user interaction. |
| int | Returns whether the list will render with sortable columns. |
| HTMLElement | 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. |
| int | getFixedColumnIndex(strDefault : String) Returns the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered. |
| String | getFocusStyle(strDefault : String) Returns the CSS string to apply to a Row/Cell when it has focus |
| String | Returns CSS property value(s) for a border (border: solid 1px #000000) |
| int | getHeaderHeight(strDefault : String) Returns the height of the header row in pixels. |
| String | Returns the icon to use for those CDF records that do not explicitly specify an icon via the jsximg attribute |
| String | getIconMinus(strDefault : String) Returns the icon to use when the given tree node is in an open state. |
| String | getIconPlus(strDefault : String) Returns the icon to use when the given tree node is in a closed state. |
| int | getPagingModel(strDefault : String) Returns how data should be painted on-screen. |
| int | getPanelPoolSize(strDefault : String) Returns the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool. |
| int | getPanelQueueSize(strDefault : String) Sets the number of panels that are allowed in the queue waiting to be painted. |
| int | getReaperInterval(strDefault : String) Returns the the number of milliseconds to wait before checking for inactive panels to garbage collect. |
| int | getRenderNavigators(strDefault : String) Returns whether or not to render the navigation controls that are applied to the first column when rendering model is hierarchical. |
| String | getRenderingContext(strDefault : String) Returns the jsxid of the CDF record that will serve as the origin when rendering the data on-screen. |
| String | getRenderingModel(strDefault : String) Returns the rendering model (how rows will be painted on-screen). |
| int | Returns whether or not this column can be resized by the user. |
| int | getRowHeight(strDefault : String) Returns the row height |
| int | getRowsPerPanel(strDefault : String) Returns the number of rows each panel should contain. |
| int | Returns whether or not the column widths should be adjusted (decremented) such that all columns fit within the viewport. |
| int | getScrollInfoLabel(strDefault : String) Returns the info label to display when scrolling a paged instance, in order to show the scroll position. |
| int | Returns the horizontal scroll position of the list. |
| int | Returns the vertical scroll position. |
| Array<String> | Returns the jsxid(s) for the selected record(s). |
| jsx3.util.List<jsx3.xml.Entity> | Returns the collection of selected records. |
| String | getSelectionBG(strDefault : String) Returns the CSS string to apply to a Row/Cell when it has focus |
| int | getSelectionModel(strDefault : String) Returns the selection model. |
| String | 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 |
| String | Returns the name of the CDF attribute to sort on. |
| String | Returns the data type to be used for sorting this list. |
| Array | Returns an array of all jsxid attributes in the source CDF in the order they would appear if painted on-screen |
| int | getSuppressHScroller(strDefault : String) Returns whether or not to supress display of the horizontal scrollbar. |
| int | getSuppressVScroller(strDefault : String) Returns whether or not to supress display of the vertical scrollbar. |
| String | Array<String> | getValue() Returns an array of selected values (or empty array) if the selection model is Matrix.SELECTION_MULTI_ROW. |
| jsx3.xml.Document | getXSL() Deprecated. Per-instance control of the XSL template is deprecated
|
| void | Assigns objMoveChild as the previousSibling of objPrecedeChild |
| jsx3.xml.CDF | insertRecordProperty(strRecordId : String, strPropName : String, strPropValue : String, bRedraw : boolean) Inserts a new property into an existing record with jsxid equal to strRecordId. |
| String | paint() Returns the DHTML, used for this object's on-screen VIEW |
| void | inserts DHTML (as string) into IE's on-screen DOM as a child of the object's on-screen VIEW |
| void | Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped. |
| void | Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped. |
| void | Matrix implementation. |
| String | repaint() Updates the view of this object by calling paint() and replacing the current view with the
returned HTML. |
| void | Paints only the data rows. |
| void | Repaints the header row for improved runtime efficiency. |
| void | resetFocusContext(strId : ?) Removes the focus style from whichever cell is designated to have focus context. |
| void | Ends any existing edit session and hides the active mask. |
| void | resetXmlCacheData(objServer : jsx3.app.Server) Removes the XML source document stored under the XML ID of this object from the server cache. |
| void | revealRecord(strRecordId : String) Reveals a record by toggling parent nodes open (if rendering hierarcally) and scrolling the record into view. |
| void | selectRecord(strRecordId : String) Selects a CDF record of this list. |
| void | setAutoRow(intBoolean : int) Sets whether or not an 'auto append' row will be rendered, allowing the user to automatically add new rows to the instance. |
| jsx3.gui.Block | Sets CSS property value(s) for a border (border: solid 1px #000000). |
| void | setCanReorder(REORDER : int) Sets whether the columns in the list can be re-ordered via user interaction with the VIEW |
| void | setCanSort(SORT : int) Sets whether the list will render with sortable columns. |
| void | setFixedColumnIndex(intIndex : int) Sets the zero-based index of the on-screen column(s), to the left of which will be fixed and cannot be reordered. |
| void | setFocusStyle(strCSS : String) Sets the CSS string to apply to a Row/Cell when it has focus. |
| void | setHeaderBorder(strCSS : String) Sets CSS property value(s) for a border on the header row (border: solid 1px #000000). |
| void | Sets the height of the header row in pixels. |
| void | Sets the icon to use for those CDF records that do not explicitly specify an icon via the jsximg attribute |
| void | setIconMinus(strURL : String) Sets the icon to use when the given tree node is in an open state. |
| void | setIconPlus(strURL : String) Sets the icon to use when the given tree node is in a closed state. |
| void | setPagingModel(intModel : int) Sets how data should be painted on-screen. |
| void | setPanelPoolSize(intCount : int) Sets the number panels (a panel contains a collection of rows--getRowsPerPanel()) that should be part of the pool. |
| void | setPanelQueueSize(intCount : int) Sets the number of panels that are allowed in the queue waiting to be painted. |
| void | setReaperInterval(intInterval : int) Sets the the number of milliseconds to wait before checking for inactive panels to garbage collect. |
| void | Sets whether or not to render the navigation controls on the first column when being rendered in hierarchical mode. |
| void | Sets the jsxid of the CDF record that will serve as the origin when rendering the data on-screen. |
| void | Sets the rendering model (how rows will be painted on-screen). |
| void | setResizable(RESIZE : int) Sets whether or not this column can be resized by the user. |
| void | Sets the on-screen row height. |
| void | Sets the number of rows each panel should contain. |
| void | setScaleWidth(intBoolean : int) Sets whether or not the column widths should be adjusted such that all columns visually display within the viewport. |
| void | setScrollInfoLabel(strLabel : String) Sets the standard info label to display when scrolling to show the scroll position. |
| void | setScrollLeft(intScrollLeft : int) Sets the horizontal scroll position. |
| void | Sets the vertical scroll position. |
| void | setSelectionBG(strURL : String) Sets the URL for the image to use (as the repeating background image) to denote selection. |
| void | setSelectionModel(intType : int) Sets the selection model |
| void | setSortDirection(intSortDir : String) Sets the direction (ascending or descending) for the sorted column. |
| void | setSortPath(strAttr : String) Sets the name of the CDF attribute to sort on. |
| void | setSortType(DATATYPE : String) Sets the data type for the list. |
| void | setSuppressHScroller(intTrueFalse : int) Sets whether or not to supress display of the horizontal scrollbar. |
| void | Sets whether or not to supress display of the vertical scrollbar. |
| jsx3.gui.Matrix | Sets the value of this matrix. |
| jsx3.xml.Cacheable | Sets the XML ID of this object. |
| jsx3.xml.Cacheable | setXMLString(strXML : String) Sets the XML string of this object. |
| jsx3.xml.Cacheable | Sets the XML URL of this object. |
| void | Updates the scroll height and scroll position of the vertical scrollbar. |
| void | Toggles the open/closed state for a node in the Matrix |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.xml.Cacheable | |
|---|---|
| clearXmlData, getNodeSet, getShareResources, getXML, getXMLId, getXMLString, getXMLTransformers, getXMLURL, void | setSelectionModel(intType : int) Sets the selection model |
| void | setSortDirection(intSortDir : String) Sets the direction (ascending or descending) for the sorted column. |
| void | setSortPath(strAttr : String) Sets the name of the CDF attribute to sort on. |
| void | setSortType(DATATYPE : String) Sets the data type for the list. |
| void | setSuppressHScroller(intTrueFalse : int) Sets whether or not to supress display of the horizontal scrollbar. |
| void | Sets whether or not to supress display of the vertical scrollbar. |
| jsx3.gui.Matrix | Sets the value of this matrix. |
| jsx3.xml.Cacheable | Sets the XML ID of this object. |
| jsx3.xml.Cacheable | setXMLString(strXML : String) Sets the XML string of this object. |
| jsx3.xml.Cacheable | Sets the XML URL of this object. |
| void | Updates the scroll height and scroll position of the vertical scrollbar. |
| void | Toggles the open/closed state for a node in the Matrix |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.xml.Cacheable |
|---|
| clearXmlData, getNodeSet, getShareResources, getXML, getXMLId, getXMLString, getXMLTransformers, getXMLURL, getXSLId, getXSLParams, getXSLString, getXSLURL, getXmlAsync, getXmlBind, onXmlBinding, removeXSLParam, removeXSLParams, resetCacheData, resetData, resetXslCacheData, setNodeSet, setShareResources, setSourceXML, setXMLTransformers, setXSLId, setXSLParam, setXSLString, setXSLURL, setXmlAsync, setXmlBind |
| Methods Inherited From jsx3.xml.CDF |
|---|
| adoptRecord, adoptRecordBefore, convertProperties, deleteRecordProperty, getRecord, getRecordNode, insertRecord, insertRecordBefore, insertRecordNode, reloadFromSource |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChildren, recalcBox, removeAttribute, removeAttributes, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
Matrix.DEFAULT_PANEL_POOL_COUNT
DEFAULTXSLURL.
| Constructor Detail |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|
true or null, the object being adopted will be added to
the parent's view via the parent's paintChild() method.
This parameter is made available for those situations where a loop is executing and multiple
objects are being adopted. As view operations are the most CPU intensive, passing false
while looping through a collection of child objects to adopt will improve performance. After the
last child is adopted, simply call repaint() on the parent to immediately synchronize the view.onSetChild() and onSetParent() will still be called)jsxid attribute of the data record to remove.true or null, the on-screen view of this object is
immediately updated to reflect the deleted record.null if no such record found.
jsx3.gui.Matrix.SORT_ASCENDING or jsx3.gui.Matrix.SORT_DESCENDING.jsx3.gui.Form.STATEINVALID or jsx3.gui.Form.STATEVALID.
jsxexecute attribute of one CDF record of this list.strCdfId, and the first column mapped to strAttName.jsxtext
strCdfId, and the cell at the given index.strCdfId. Note that since only cells can receive focus, this method will apply focus to the
first cell child in the row.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
null or jsx3.Boolean.TRUE, the instance is sortable.strCdfId and the first column mapped to the named CDF attribute, strAttName.jsxtext1, 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
null), the list will render with
the default value of jsx3.gui.Matrix.DEFAULT_HEADER_HEIGHT.jsx3.gui.Matrix.ICON will be applied when rendered.
jsx3.gui.Matrix.ICON_MINUS will be applied when rendered.
jsx3.gui.Matrix.ICON_PLUS will be applied when rendered.
Matrix.PAGING_OFF will be applied. Note that the rendering model limits the available paging models:
getRowsPerPanel()) that should be part of the pool. If a panel count greater
than this value exists, scrolls to a given position. Discard excess panels. (rendering model: deep, shallow)