jsx3.gui.Matrix instead.| Field Summary | |
|---|---|
| static String | #F3F2F4
|
| static String | #c8cfd8
|
| static String | background-image:url(JSX/images/list/header.gif);
|
| static int | 20
|
| static String | jsx30list_r1
|
| static String | Deprecated. |
| static int | 1 |
| static int | 2 |
| static String | #2050df
|
| static String | url(JSX/images/list/select.gif)
|
| static int | 0 |
| static String | ascending |
| static String | descending |
| Constructor Summary | |
|---|---|
| void | instance initializer |
| Method Summary | |
|---|---|
| void | Appends a new row to the end of the list and adds a corresponding record to the CDF source XML. |
| jsx3.gui.List | clearXSL() Deprecated. use resetXslCacheData() instead. |
| jsx3.gui.List | Deselects all selected CDF records of this list. |
| jsx3.gui.List | deselectRecord(strRecordId : String) Deselects a CDF record of this list. |
| void | Deprecated. use setValue() or deselectAllRecords() instead. |
| void | Deprecated. use setValue() or deselectAllRecords() instead. |
| jsx3.gui.List | Deprecated. use setValue() or deselectRecord() instead. |
| void | Deprecated. use executeRecord() instead. |
| jsx3.gui.List | Deprecated. use setValue() or selectRecord() instead. |
| void | Sorts this list according to the current sort path. |
| int | validates the list; if the list is set to 'required', a selection must be made to pass validation. |
| void | executeRecord(strRecordId : String) Evaluates the JavaScript code in the jsxexecute attribute of one CDF record of this list. |
| jsx3.gui.List | focusRecord(strRecordId : String) Gives cursor focus to a row in the list. |
| HTMLElement | Returns a handle to the active TR for the list. |
| int | Deprecated. Replaced by getGrowBy which returns an integer argument rather than a boolean. |
| String | Returns the CSS color for the header row (for example, "#ffffff"). |
| String | Returns the CSS background property for the header row (for example, "background-image:url(abc.gif)"). |
| int | Returns whether the columns in the list can be re-ordered via user interaction. |
| void | Deprecated. Renamed to getResizable. |
| int | Returns whether the list will render with sortable columns. |
| int | Returns whether or not a new row will be appended to the VIEW when a new record is added to the CDF document for the List. |
| int | Returns the height of the header row in pixels. |
| int | Returns the selection type of this list. |
| int | Returns whether columns in this list can be resized. |
| void | Deprecated. Renamed to getResizable. |
| Array<String> | Returns the ids of the selected records of this list. |
| jsx3.util.List<jsx3.xml.Entity> | Returns the collection of selected records. |
| int | Returns the zero-based index of column to sort on. |
| String | Returns the direction (jsx3.gui.List.SORTASCENDING or jsx3.gui.List.SORTDESCENDING) for the sorted column; if no direction specified, ascending is returned |
| String | Returns the selection path for XSLT to use when sorting output. |
| String | Returns the data type to be used for sorting this list. |
| String | Array<String> | getValue() Returns the jsxid of the selected record if this list is a single-select list or an array of the the jsxids
of the selected records if this list is a multi-select list. |
| static String | Deprecated. |
| int | getWrap() Returns whether or not the rows in the grid will support text-wrapping and expand to display their wrapped
content OR be a fixed height. |
| jsx3.xml.Document | getXSL() Returns xslt for the List, prioritizing the acquisition in the following order: 1) check cache; 2) check jsxxsl; 3) check jsxxslurl; 4) use default |
| boolean | isSelected(strRecordId : String) Returns whether or not the given record is selected (true/false) |
| static void | onCheck(strId : String, strPropName : String, objGUI : HTMLElement, bToggle : boolean, objArray : Object) Deprecated. |
| static void | Static function that can be called from XSLT-generated content in a list cell to delete a row from the CDF of a
list instance. |
| static void | onRadio(strId : String, strPropName : String, objGUI : HTMLElement, bSelect : boolean, objArray : Object) provides function that can be called from XSLT-generated content in a list cell. |
| String | paint() Returns the DHTML, used for this object's on-screen VIEW |
| void | List implementation. |
| void | Repaints the body portion of the list (the data rows), retaining the scroll position in the list whereas
repainting the entire list would reset scroll position. |
| void | Repaints the head portion of the list (the header row). |
| void | Reveals a record by scrolling any ancestor blocks as necessary. |
| jsx3.gui.List | selectRecord(strRecordId : String) Selects a CDF record of this list. |
| void | setAutoExpand(bExpand : int) Deprecated. Replaced by setGrowBy which takes an integer argument rather than a boolean one. |
| jsx3.gui.List | setBackgroundColorHead(strBGColor : String) Sets the CSS color for the header row (for example, #ffffff) |
| jsx3.gui.List | setBackgroundHead(strBG : String) Sets the CSS background property (can be a composite of varoius CSS-related bg properties) |
| jsx3.gui.List | setCanReorder(intReorder : int) Sets whether the columns in the list can be re-ordered via user interaction with the VIEW |
| void | Deprecated. Renamed to setResizable. |
| jsx3.gui.List | setCanSort(SORT : int) Sets whether the list will render with sortable columns. |
| jsx3.gui.List | Sets whether or not a new row will be appended to the VIEW when a new record is added to the CDF document for the List. |
| jsx3.gui.List | setHeaderHeight(intHeight : int) Sets the height of the header row in pixels. |
| jsx3.gui.List | setMultiSelect(intMulti : int) Sets the selection type of this list. |
| jsx3.gui.List | setResizable(BOOLEAN : int) Sets whether columns in this list can be resized. |
| void | Deprecated. Renamed to setResizable. |
| jsx3.gui.List | setSortColumn(intColumnIndex : int) Sets the zero-based index of column to sort on and executes the sort. |
| jsx3.gui.List | setSortDirection(intSortDir : String) Sets the direction (ascending or descending) for the sorted column. |
| jsx3.gui.List | setSortPath(strPath : String) Sets the index for the column that the data will be sorted on;
returns a ref to self; |
| jsx3.gui.List | setSortType(strDataType : String) Sets the data type for the list. |
| jsx3.gui.List | Sets the selected records for this list. |
| jsx3.gui.List | Sets whether or not the rows in the grid will support text-wrapping and expand to display their wrapped content
OR be a fixed height. |
| void | Updates the DHTML (VIEW) for an existing row within a list, circumventing a full table repaint by updating
the row directly. |
| 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, resetXmlCacheData, resetXslCacheData, setNodeSet, setShareResources, setSourceXML, setXMLId, setXMLString, setXMLTransformers, setXMLURL, setXSLId, setXSLParam, setXSLString, setXSLURL, setXmlAsync, setXmlBind |
| Methods Inherited From jsx3.xml.CDF |
|---|
| adoptRecord, adoptRecordBefore, convertProperties, deleteRecord, deleteRecordProperty, getRecord, getRecordNode, insertRecord, insertRecordBefore, insertRecordNode, insertRecordProperty, 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, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, 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 |
|---|
| Constructor Detail |
|---|
| 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 |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|
objMasterRecord parameter is null.jsxid.objMasterRecord.
If null, a unique, system-generated key will be used.
resetXslCacheData() instead.deselectAllRecords() instead.deselectAllRecords() instead.setValue() or deselectRecord() instead.SELECT and CHANGE model events only
under the deprecated 3.0 model event protocol.executeRecord() instead.strRecordId parameter. If this
parameter is omitted the code of any currently selected records is executed. Invokes the EXECUTE
model event only under the deprecated 3.0 model event protocol.setValue() or selectRecord() instead.SELECT and CHANGE model events only
under the deprecated 3.0 model event protocol.SORTASCENDING or SORTDESCENDING.jsxexecute attribute of one CDF record of this list.null if no row is active.
getGrowBy which returns an integer argument rather than a boolean.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE null)
the list will render with the default value of jsx3.gui.List.DEFAULTBACKGROUNDCOLORHEAD.null) the list will render with the default value of
jsx3.gui.List.DEFAULTBACKGROUNDHEAD.jsx3.Boolean.TRUE.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
null) the list will render with
the default value of jsx3.gui.List.DEFAULTHEADERHEIGHT.MULTI, SINGLE, or NOTSELECTABLE.
jsx3.Boolean.TRUE.jsx3.Boolean.TRUE or jsx3.Boolean.TRUE
setSortType() or the data type of the current sort.jsx3.gui.Column.TYPETEXT or jsx3.gui.Column.TYPENUMBER
jsx3.Boolean.TRUE.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
jsxid value for the record node (according to the CDF) to redrawjsx3.xml.CDF.INSERT, jsx3.xml.CDF.DELETE,
or jsx3.xml.CDF.UPDATE.
repaint()
must be called for the list to render properly.
setGrowBy which takes an integer argument rather than a boolean one.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE.jsx3.Boolean.TRUE or jsx3.Boolean.FALSEjsx3.Boolean.TRUE or jsx3.Boolean.FALSEMULTI, SINGLE, or NOTSELECTABLE.jsx3.Boolean.TRUE or jsx3.Boolean.TRUEAFTER_SORT only under the deprecated 3.0 model event protocol.jsx3.gui.Column.TYPETEXT or jsx3.gui.Column.TYPENUMBERstrRecordId parameter should be a single value for a single-select list
or a list of values for a multi-select list.jsx3.Boolean.TRUE or jsx3.Boolean.FALSE